summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-06-13 14:45:25 +0800
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-11-27 17:40:45 +0100
commit5cb054e33a9cbee78af2a3300aabc6166c5271cd (patch)
treef477882e9cee4fe01d732d58820a61bf11581846 /include
parent34b00d03e5a83abb2033337ebf258cda573554a4 (diff)
MA-14981-1 Add evk_imx8mm 4GB DDR support
Add configs to support evk_imx8mm 4GB DDR board. The 4GB DDR will be split into two banks, one is 3GB (0x4000_0000~0xffff_0000) and another is 1GB(0x1_0000_0000~0x1_4000_0000). Test: build and boot with or without trusty. Change-Id: I02f6465fc5709b15fd76820edb846452d011dd56 Signed-off-by: Ji Luo <ji.luo@nxp.com> (cherry picked from commit e7db3f3b68bf792f7df5c113c385ebecd468f6ce)
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8mm_evk_android.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/imx8mm_evk_android.h b/include/configs/imx8mm_evk_android.h
index 1bb37cc3bb..a474ed7f99 100644
--- a/include/configs/imx8mm_evk_android.h
+++ b/include/configs/imx8mm_evk_android.h
@@ -74,4 +74,14 @@
#endif
+#ifdef CONFIG_IMX8M_4G_LPDDR4
+#undef PHYS_SDRAM_SIZE
+#define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB */
+#define PHYS_SDRAM_2 0x100000000
+#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1GB */
+#undef CONFIG_NR_DRAM_BANKS
+#define CONFIG_NR_DRAM_BANKS 2
+#endif
+
+
#endif /* IMX8MM_EVK_ANDROID_H */