+#define COMMON_AREA_MAGIC 0x43334d50\r
+#define COMMON_AREA_COMMAND_NONE 0\r
+#define COMMON_AREA_COMMAND_ENTER_FLASH_MODE 1\r
+struct common_area {\r
+ int magic; /* Magic sequence, to distinguish against random uninitialized memory */\r
+ char version; /* Must be 1 */\r
+ char command;\r
+ struct {\r
+ unsigned int bootrom_present:1; /* Set when a bootrom that is capable of parsing the common area is present */\r
+ unsigned int osimage_present:1; /* Set when a osimage that is capable of parsing the common area is present */\r
+ } __attribute__((packed)) flags;\r
+ int arg1, arg2;\r
+} __attribute__((packed));\r
+\r