diff options
author | Ji Luo <ji.luo@nxp.com> | 2022-05-25 09:32:47 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2022-05-31 17:37:53 +0800 |
commit | 1939a721eedbd5f3eba8ae7ecdec8cc570d7a9fb (patch) | |
tree | f7c48c243d6f64e57dc7d2648573028a3f516c41 /include | |
parent | 005de3dca44fc285d54a572d0908c39241af04d5 (diff) |
MA-20327 imx8q: add dual bootloader support
Add dual bootloader support for imx8q platforms.
Change-Id: I8ba5e74e1a442c0210725c07e869eab3c82a60dc
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/imx8qm_mek_android.h | 3 | ||||
-rw-r--r-- | include/configs/imx8qm_mek_android_auto.h | 2 | ||||
-rw-r--r-- | include/configs/imx8qxp_mek_android.h | 3 | ||||
-rw-r--r-- | include/configs/imx8qxp_mek_android_auto.h | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/include/configs/imx8qm_mek_android.h b/include/configs/imx8qm_mek_android.h index 4347d4b047c..8d44391db00 100644 --- a/include/configs/imx8qm_mek_android.h +++ b/include/configs/imx8qm_mek_android.h @@ -24,6 +24,8 @@ "fdt_high=0xffffffffffffffff\0" \ "initrd_high=0xffffffffffffffff\0" \ +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000 + #ifdef CONFIG_IMX_TRUSTY_OS #define NS_ARCH_ARM64 1 #define KEYSLOT_HWPARTITION_ID 2 @@ -34,7 +36,6 @@ #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 /* IMX8QM_MEK_ANDROID_H */ diff --git a/include/configs/imx8qm_mek_android_auto.h b/include/configs/imx8qm_mek_android_auto.h index 63d1288158b..23d5cc3af0e 100644 --- a/include/configs/imx8qm_mek_android_auto.h +++ b/include/configs/imx8qm_mek_android_auto.h @@ -36,9 +36,7 @@ #define NS_ARCH_ARM64 1 #define KEYSLOT_HWPARTITION_ID 2 #define KEYSLOT_BLKS 0x3FFF -#endif -#ifdef CONFIG_DUAL_BOOTLOADER #define BOOTLOADER_RBIDX_OFFSET 0x3FE000 #define BOOTLOADER_RBIDX_START 0x3FF000 #define BOOTLOADER_RBIDX_LEN 0x08 diff --git a/include/configs/imx8qxp_mek_android.h b/include/configs/imx8qxp_mek_android.h index 6fc1f09f7bf..88a40dc96c9 100644 --- a/include/configs/imx8qxp_mek_android.h +++ b/include/configs/imx8qxp_mek_android.h @@ -21,6 +21,8 @@ "fdt_high=0xffffffffffffffff\0" \ "initrd_high=0xffffffffffffffff\0" \ +#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x801F8000 + #ifdef CONFIG_IMX_TRUSTY_OS #define NS_ARCH_ARM64 1 #define KEYSLOT_HWPARTITION_ID 2 @@ -31,7 +33,6 @@ #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 /* IMX8QXP_MEK_ANDROID_H */ diff --git a/include/configs/imx8qxp_mek_android_auto.h b/include/configs/imx8qxp_mek_android_auto.h index 2bd73a69c1a..49c017c3400 100644 --- a/include/configs/imx8qxp_mek_android_auto.h +++ b/include/configs/imx8qxp_mek_android_auto.h @@ -32,9 +32,7 @@ #define AVB_RPMB #define KEYSLOT_HWPARTITION_ID 2 #define KEYSLOT_BLKS 0x3FFF -#endif -#ifdef CONFIG_DUAL_BOOTLOADER #define BOOTLOADER_RBIDX_OFFSET 0x3FE000 #define BOOTLOADER_RBIDX_START 0x3FF000 #define BOOTLOADER_RBIDX_LEN 0x08 |