summaryrefslogtreecommitdiff
path: root/include/configs/imx8mm_evk_android.h
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-06-13 14:45:25 +0800
committerdandan.sun <dandan.sun@nxp.com>2019-07-08 13:26:55 +0800
commite7db3f3b68bf792f7df5c113c385ebecd468f6ce (patch)
treeea832d4558587e2a7cb496cd0d86c1cbc7ea6a37 /include/configs/imx8mm_evk_android.h
parent394d22988c975c06eb7f9e0601635c4fd6815bbd (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>
Diffstat (limited to 'include/configs/imx8mm_evk_android.h')
-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 2d74a0385e..e9e70ece53 100644
--- a/include/configs/imx8mm_evk_android.h
+++ b/include/configs/imx8mm_evk_android.h
@@ -82,4 +82,14 @@
#define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */
#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 */