summaryrefslogtreecommitdiff
path: root/board/freescale/imx8mm_evk/Makefile
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 /board/freescale/imx8mm_evk/Makefile
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 'board/freescale/imx8mm_evk/Makefile')
-rw-r--r--board/freescale/imx8mm_evk/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/imx8mm_evk/Makefile b/board/freescale/imx8mm_evk/Makefile
index f6e5510b28..b3f1c185a3 100644
--- a/board/freescale/imx8mm_evk/Makefile
+++ b/board/freescale/imx8mm_evk/Makefile
@@ -8,6 +8,10 @@ obj-y += imx8mm_evk.o
ifdef CONFIG_SPL_BUILD
obj-y += spl.o
+ifdef CONFIG_IMX8M_4G_LPDDR4
+obj-y += lpddr4_timing_4g.o
+else
obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o
obj-$(CONFIG_IMX8M_DDR4) += ddr4_timing.o
endif
+endif