summaryrefslogtreecommitdiff
path: root/include/configs/imx8qm_mek_android_auto_xen.h
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-03-12 16:15:54 +0800
committerJi Luo <ji.luo@nxp.com>2019-03-12 17:31:09 +0800
commit30beee3fe6d4b35166c6e17203909231d33bc2db (patch)
tree99cf66d3514ff58785db17556f322e40d21838df /include/configs/imx8qm_mek_android_auto_xen.h
parent6c5a2fc34ba08eb4c990ee9044fc1dfd9ecbd04f (diff)
MA-14318-1 Support dual bootloader for xen
Trusty is not supported for xen so we don't need to check the keyslot package or rollback index in spl. Reassign the dram address for spl and u-boot to avoid conflicts. Support serial init functions to enable debug console in spl when xen is running. Test: Boot and A/B slot switch on imx8qm_mek. Change-Id: If6829252f1ec2e32255f951715c8747181951fd0 Signed-off-by: Ji Luo <ji.luo@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs/imx8qm_mek_android_auto_xen.h')
-rw-r--r--include/configs/imx8qm_mek_android_auto_xen.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/configs/imx8qm_mek_android_auto_xen.h b/include/configs/imx8qm_mek_android_auto_xen.h
index 89b58d8b0c..e754ca0b15 100644
--- a/include/configs/imx8qm_mek_android_auto_xen.h
+++ b/include/configs/imx8qm_mek_android_auto_xen.h
@@ -24,7 +24,7 @@
#undef CONFIG_LOADADDR
#define CONFIG_LOADADDR 0x80080000
#undef CONFIG_SYS_INIT_SP_ADDR
-#define CONFIG_SYS_INIT_SP_ADDR 0x80200000
+#define CONFIG_SYS_INIT_SP_ADDR 0x81200000
#undef CONFIG_REQUIRE_SERIAL_CONSOLE
#undef CONFIG_IMX_SMMU
@@ -38,6 +38,22 @@
#endif
#define SC_IPC_CH 0x5d1d0000
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_SPL_BSS_START_ADDR
+#undef CONFIG_SYS_SPL_MALLOC_START
+#undef CONFIG_MALLOC_F_ADDR
+#undef CONFIG_SPL_TEXT_BASE
+#undef CONFIG_SPL_STACK
+
+#define CONFIG_SPL_TEXT_BASE 0x80080000
+#define CONFIG_MALLOC_F_ADDR 0x80100000
+#define CONFIG_SYS_SPL_MALLOC_START 0x80200000
+#define CONFIG_SPL_BSS_START_ADDR 0x80300000
+#define CONFIG_SPL_STACK 0x80400000
+
+#define CONFIG_SYS_SPL_PTE_RAM_BASE 0x80500000
+#endif
+
#define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED
#endif /* IMX8QM_MEK_ANDROID_AUTO_XEN_H */