From f601f409519121d5f24632fba00832f3137e4375 Mon Sep 17 00:00:00 2001 From: Marty Faltesek Date: Wed, 30 Aug 2017 13:57:23 -0700 Subject: [PATCH] MA-10341 Rename physical partition boot0 from bootloader to bootloader0. On the imx7d, the bootloader currently in use resides on physical partition boot0, and is currently referenced and hard coded as "bootloader". But this conflicts with the new bootloader_a and bootloader_b in the gpt, so that "fastboot flash bootloader ..." flashes to bootloader_a or b. With this fix boot0 can instead by explicitly referenced as "fastboot flash bootloader0 ...". "bootloader0" is currently the only bootloader on the system, but once a/b bootloading is implemented it is going to be a more SPL-like that loads either bootloader_a or bootloader_b. Test: manually verified flashing bootloader0, bootloader, and bootloader_a and bootloader_b. Change-Id: I03a85289f80cdf5f1b80dc07a962a143c6a351e1 --- include/fsl_fastboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h index 104c7ed956..92506ed458 100644 --- a/include/fsl_fastboot.h +++ b/include/fsl_fastboot.h @@ -43,7 +43,7 @@ #define FASTBOOT_PARTITION_BOOT_A "boot_a" #define FASTBOOT_PARTITION_RECOVERY "recovery" #define FASTBOOT_PARTITION_SYSTEM_A "system_a" -#define FASTBOOT_PARTITION_BOOTLOADER "bootloader" +#define FASTBOOT_PARTITION_BOOTLOADER "bootloader0" #define FASTBOOT_PARTITION_DATA "userdata" #define FASTBOOT_PARTITION_BOOT_B "boot_b" #define FASTBOOT_PARTITION_SYSTEM_B "system_b" -- 2.17.1