From 49b633b1e52ea4b9092ffcc0086807abe1f4529e Mon Sep 17 00:00:00 2001 From: fang hui Date: Mon, 21 Dec 2015 10:30:23 +0800 Subject: 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 --- include/configs/mx6ul_14x14_evk_brillo.h | 8 +++----- include/fsl_fastboot.h | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'include') 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" -- cgit v1.1