Commit 1594150dba4bef6f3277854b9b005a37c6967e4c
1 parent
71562aae3b
Exists in
smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga
and in
4 other branches
MA-13940 [Auto] imx8q: Enable dual bootloader
Open configs to enable dual bootloader feature for imx8q Android Auto. Test: Build and boot on imx8q. Change-Id: I99da2ee6b87efd201e16df1046188ae86cab1466 Signed-off-by: Ji Luo <ji.luo@nxp.com>
Showing 5 changed files with 21 additions and 0 deletions Side-by-side Diff
configs/imx8qm_mek_androidauto_trusty_defconfig
configs/imx8qxp_mek_androidauto_trusty_defconfig
include/configs/imx8qm_mek_android_auto.h
... | ... | @@ -106,6 +106,13 @@ |
106 | 106 | |
107 | 107 | #ifdef CONFIG_IMX_TRUSTY_OS |
108 | 108 | #define AVB_RPMB |
109 | +#ifdef CONFIG_DUAL_BOOTLOADER | |
110 | +#define BOOTLOADER_RBIDX_OFFSET 0x3FE000 | |
111 | +#define BOOTLOADER_RBIDX_START 0x3FF000 | |
112 | +#define BOOTLOADER_RBIDX_LEN 0x08 | |
113 | +#define BOOTLOADER_RBIDX_INITVAL 0 | |
114 | +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000 | |
115 | +#endif | |
109 | 116 | #endif |
110 | 117 | |
111 | 118 | #ifdef CONFIG_SPL_BUILD |
include/configs/imx8qxp_mek_android_auto.h
... | ... | @@ -98,6 +98,13 @@ |
98 | 98 | |
99 | 99 | #ifdef CONFIG_IMX_TRUSTY_OS |
100 | 100 | #define AVB_RPMB |
101 | +#ifdef CONFIG_DUAL_BOOTLOADER | |
102 | +#define BOOTLOADER_RBIDX_OFFSET 0x3FE000 | |
103 | +#define BOOTLOADER_RBIDX_START 0x3FF000 | |
104 | +#define BOOTLOADER_RBIDX_LEN 0x08 | |
105 | +#define BOOTLOADER_RBIDX_INITVAL 0 | |
106 | +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000 | |
107 | +#endif | |
101 | 108 | #endif |
102 | 109 | |
103 | 110 | #ifdef CONFIG_SPL_BUILD |
scripts/config_whitelist.txt