summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_fastboot.c
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 /drivers/usb/gadget/f_fastboot.c
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 'drivers/usb/gadget/f_fastboot.c')
-rw-r--r--drivers/usb/gadget/f_fastboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index 400f941..3263ecc 100644
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -169,7 +169,7 @@ enum {
#ifdef CONFIG_BRILLO_SUPPORT
PTN_KERNEL_B_INDEX,
PTN_SYSTEM_B_INDEX,
- PTN_SLOTMETA_INDEX,
+ PTN_MISC_INDEX,
#endif
PTN_NUM
};
@@ -1251,10 +1251,10 @@ static int _fastboot_parts_load_from_ptable(void)
FASTBOOT_PARTITION_SYSTEM_B,
dev_desc, ptable);
- _fastboot_parts_add_ptable_entry(PTN_SLOTMETA_INDEX,
- CONFIG_ANDROID_SLOTMETA_PARTITION_MMC,
+ _fastboot_parts_add_ptable_entry(PTN_MISC_INDEX,
+ CONFIG_ANDROID_MISC_PARTITION_MMC,
user_partition,
- FASTBOOT_PARTITION_SLOTMETA,
+ FASTBOOT_PARTITION_MISC,
dev_desc, ptable);
#else
_fastboot_parts_add_ptable_entry(PTN_KERNEL_INDEX,