Commit e42dee80 authored by Ji Luo's avatar Ji Luo
Browse files

MA-18342 Sync misc partition ID with GPT



Automotive will find the misc partition by the ID instead of
by name to decrease the boot time. But the misc partition ID
is different between Android 10 and Android 11 release. This
commit sync the misc partition ID with GPT.

Test: slot switch on imx8qm.

Change-Id: I05c3bfdb98bc1ab179b4343111f4c33d768af5cf
Signed-off-by: default avatarJi Luo <ji.luo@nxp.com>
parent 16de6daf
......@@ -463,7 +463,8 @@ out:
#define PARTITION_NAME_LEN 13
#define PARTITION_BOOTLOADER "bootloader"
#ifdef CONFIG_ANDROID_AUTO_SUPPORT
#define PARTITION_MISC_ID 11
/* This should always sync with the gpt */
#define PARTITION_MISC_ID 9
#endif
extern int mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment