summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfang hui <b31070@freescale.com>2015-12-21 10:30:23 +0800
committerfang hui <b31070@freescale.com>2015-12-24 15:46:01 +0800
commit49b633b1e52ea4b9092ffcc0086807abe1f4529e (patch)
tree063f841ebdaeb88e2e82b9f519d58859b19409ae /include
parentfc29c8e658f326ad5a5dee23425321807cb69f26 (diff)
downloadu-boot-imx-49b633b1e52ea4b9092ffcc0086807abe1f4529e.zip
u-boot-imx-49b633b1e52ea4b9092ffcc0086807abe1f4529e.tar.gz
u-boot-imx-49b633b1e52ea4b9092ffcc0086807abe1f4529e.tar.bz2
MA-7373 - [brillo]: store slot meta data in a raw partition, no file system.
Partition name change from slotmeta to misc. Read/write raw data on partition misc, not use ext4 file system. Store meta in bootloader_message.slot_suffix, as defined in bootable/recovery/bootloader.h The first 4 bytes of boot_ctl are defined as magic number. Signed-off-by: fang hui <b31070@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ul_14x14_evk_brillo.h8
-rw-r--r--include/fsl_fastboot.h2
2 files changed, 4 insertions, 6 deletions
diff --git a/include/configs/mx6ul_14x14_evk_brillo.h b/include/configs/mx6ul_14x14_evk_brillo.h
index 9b2f9e1..bb42c24 100644
--- a/include/configs/mx6ul_14x14_evk_brillo.h
+++ b/include/configs/mx6ul_14x14_evk_brillo.h
@@ -10,15 +10,13 @@
#define CONFIG_ANDROID_BOOT_B_PARTITION_MMC 7
#define CONFIG_ANDROID_SYSTEM_B_PARTITION_MMC 8
-#define CONFIG_ANDROID_SLOTMETA_PARTITION_MMC 9
+#define CONFIG_ANDROID_MISC_PARTITION_MMC 9
-
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_SYS_BOOTM_LEN 0x1000000
+#define CONFIG_CMD_READ
+
#endif
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index 177c99a..e98913b 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -41,7 +41,7 @@
#define FASTBOOT_PARTITION_DATA "data"
#define FASTBOOT_PARTITION_BOOT_B "boot_b"
#define FASTBOOT_PARTITION_SYSTEM_B "system_b"
-#define FASTBOOT_PARTITION_SLOTMETA "slotmeta"
+#define FASTBOOT_PARTITION_MISC "misc"
#else
#define FASTBOOT_PARTITION_BOOT "boot"
#define FASTBOOT_PARTITION_RECOVERY "recovery"