diff options
author | zhang sanshan <sanshan.zhang@nxp.com> | 2017-10-29 17:02:08 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2017-11-03 02:37:28 +0800 |
commit | 68f04b451fc284eed43ae73f7e955d2bf19edae9 (patch) | |
tree | 157f881a83b3c0dc5ec317afbb88b5a409d8e9f5 | |
parent | 95e7daea6d30f5f70668c74f028d3ca4795e395d (diff) |
MA-10552-7 [Android] enable A/B system in android
add macro which support A/B boot and AVB.
change CONFIG_ANDROID_THINGS_SUPPORT to CONFIG_ANDROID_AB_SUPPORT
Change-Id: I08688e7b19ec7b8d71c7adcd298ae2ccc1e309c3
Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
-rw-r--r-- | include/configs/imx8mq_evk_android.h | 10 | ||||
-rw-r--r-- | include/configs/imx8qm_arm2_android.h | 10 | ||||
-rw-r--r-- | include/configs/imx8qxp_arm2_android.h | 10 | ||||
-rw-r--r-- | include/configs/imx8qxp_mek_android.h | 10 | ||||
-rw-r--r-- | include/fsl_fastboot.h | 2 |
5 files changed, 41 insertions, 1 deletions
diff --git a/include/configs/imx8mq_evk_android.h b/include/configs/imx8mq_evk_android.h index fbe26f453d..bb9131c378 100644 --- a/include/configs/imx8mq_evk_android.h +++ b/include/configs/imx8mq_evk_android.h @@ -11,6 +11,16 @@ #define CONFIG_BCB_SUPPORT #define CONFIG_CMD_READ +#define CONFIG_ANDROID_AB_SUPPORT +#define CONFIG_AVB_SUPPORT +#define CONFIG_SUPPORT_EMMC_RPMB +#define CONFIG_SYSTEM_RAMDISK_SUPPORT +#define CONFIG_AVB_FUSE_BANK_SIZEW 0 +#define CONFIG_AVB_FUSE_BANK_START 0 +#define CONFIG_AVB_FUSE_BANK_END 0 +#define CONFIG_FASTBOOT_LOCK +#define FSL_FASTBOOT_FB_DEV "mmc" + #define CONFIG_USB_FUNCTION_FASTBOOT #define CONFIG_CMD_FASTBOOT #define CONFIG_ANDROID_BOOT_IMAGE diff --git a/include/configs/imx8qm_arm2_android.h b/include/configs/imx8qm_arm2_android.h index 022e7b9166..887bdc4107 100644 --- a/include/configs/imx8qm_arm2_android.h +++ b/include/configs/imx8qm_arm2_android.h @@ -15,6 +15,16 @@ #define CONFIG_USB_FUNCTION_MASS_STORAGE #define CONFIG_USB_GADGET_VBUS_DRAW 2 +#define CONFIG_ANDROID_AB_SUPPORT +#define CONFIG_AVB_SUPPORT +#define CONFIG_SUPPORT_EMMC_RPMB +#define CONFIG_SYSTEM_RAMDISK_SUPPORT +#define CONFIG_AVB_FUSE_BANK_SIZEW 0 +#define CONFIG_AVB_FUSE_BANK_START 0 +#define CONFIG_AVB_FUSE_BANK_END 0 +#define CONFIG_FASTBOOT_LOCK +#define FSL_FASTBOOT_FB_DEV "mmc" + #define CONFIG_USB_FUNCTION_FASTBOOT #define CONFIG_CMD_FASTBOOT #define CONFIG_ANDROID_BOOT_IMAGE diff --git a/include/configs/imx8qxp_arm2_android.h b/include/configs/imx8qxp_arm2_android.h index fa60dadea9..536975c4cb 100644 --- a/include/configs/imx8qxp_arm2_android.h +++ b/include/configs/imx8qxp_arm2_android.h @@ -20,6 +20,16 @@ #define CONFIG_ANDROID_BOOT_IMAGE #define CONFIG_FASTBOOT_FLASH +#define CONFIG_ANDROID_AB_SUPPORT +#define CONFIG_AVB_SUPPORT +#define CONFIG_SUPPORT_EMMC_RPMB +#define CONFIG_SYSTEM_RAMDISK_SUPPORT +#define CONFIG_AVB_FUSE_BANK_SIZEW 0 +#define CONFIG_AVB_FUSE_BANK_START 0 +#define CONFIG_AVB_FUSE_BANK_END 0 +#define CONFIG_FASTBOOT_LOCK +#define FSL_FASTBOOT_FB_DEV "mmc" + #define CONFIG_FSL_FASTBOOT #define CONFIG_ANDROID_RECOVERY diff --git a/include/configs/imx8qxp_mek_android.h b/include/configs/imx8qxp_mek_android.h index 88d31ec4e4..3865918074 100644 --- a/include/configs/imx8qxp_mek_android.h +++ b/include/configs/imx8qxp_mek_android.h @@ -15,6 +15,16 @@ #define CONFIG_USB_FUNCTION_MASS_STORAGE #define CONFIG_USB_GADGET_VBUS_DRAW 2 +#define CONFIG_ANDROID_AB_SUPPORT +#define CONFIG_AVB_SUPPORT +#define CONFIG_SUPPORT_EMMC_RPMB +#define CONFIG_SYSTEM_RAMDISK_SUPPORT +#define CONFIG_AVB_FUSE_BANK_SIZEW 0 +#define CONFIG_AVB_FUSE_BANK_START 0 +#define CONFIG_AVB_FUSE_BANK_END 0 +#define CONFIG_FASTBOOT_LOCK +#define FSL_FASTBOOT_FB_DEV "mmc" + #define CONFIG_USB_FUNCTION_FASTBOOT /*#define CONFIG_CMD_FASTBOOT*/ diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h index e377f518d6..94c400e2bc 100644 --- a/include/fsl_fastboot.h +++ b/include/fsl_fastboot.h @@ -41,7 +41,7 @@ #define FASTBOOT_PARTITION_TEE "tos" -#ifdef CONFIG_ANDROID_THINGS_SUPPORT +#ifdef CONFIG_ANDROID_AB_SUPPORT #define FASTBOOT_PARTITION_BOOT_A "boot_a" #define FASTBOOT_PARTITION_RECOVERY "recovery" #define FASTBOOT_PARTITION_SYSTEM_A "system_a" |