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>
This commit is contained in:
Ji Luo 2019-01-14 18:28:47 +08:00
parent 71562aae3b
commit 1594150dba
5 changed files with 21 additions and 0 deletions

View File

@ -117,3 +117,6 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_LIBDISK_SUPPORT=y
CONFIG_NOT_UUU_BUILD=y
CONFIG_SHA256=y
CONFIG_SPL_MMC_WRITE=y
CONFIG_DUAL_BOOTLOADER=y

View File

@ -118,3 +118,6 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_LIBDISK_SUPPORT=y
CONFIG_NOT_UUU_BUILD=y
CONFIG_SHA256=y
CONFIG_SPL_MMC_WRITE=y
CONFIG_DUAL_BOOTLOADER=y

View File

@ -106,6 +106,13 @@
#ifdef CONFIG_IMX_TRUSTY_OS
#define AVB_RPMB
#ifdef CONFIG_DUAL_BOOTLOADER
#define BOOTLOADER_RBIDX_OFFSET 0x3FE000
#define BOOTLOADER_RBIDX_START 0x3FF000
#define BOOTLOADER_RBIDX_LEN 0x08
#define BOOTLOADER_RBIDX_INITVAL 0
#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000
#endif
#endif
#ifdef CONFIG_SPL_BUILD

View File

@ -98,6 +98,13 @@
#ifdef CONFIG_IMX_TRUSTY_OS
#define AVB_RPMB
#ifdef CONFIG_DUAL_BOOTLOADER
#define BOOTLOADER_RBIDX_OFFSET 0x3FE000
#define BOOTLOADER_RBIDX_START 0x3FF000
#define BOOTLOADER_RBIDX_LEN 0x08
#define BOOTLOADER_RBIDX_INITVAL 0
#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000
#endif
#endif
#ifdef CONFIG_SPL_BUILD

View File

@ -4379,6 +4379,7 @@ CONFIG_SYS_SPL_ARGS_ADDR
CONFIG_SYS_SPL_LEN
CONFIG_SYS_SPL_MALLOC_SIZE
CONFIG_SYS_SPL_MALLOC_START
CONFIG_SYS_SPL_PTE_RAM_BASE
CONFIG_SYS_SPR
CONFIG_SYS_SRAM_BASE
CONFIG_SYS_SRAM_SIZE