diff options
author | Bai Ping <ping.bai@nxp.com> | 2018-09-29 14:50:25 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2018-10-01 17:25:25 +0800 |
commit | 65fed31a520edf2f19f7fd1c10ff317ce4496ce6 (patch) | |
tree | cf4466c0ace84e4974ea20b4d201ce2971cbf347 /board/freescale/imx8mm_evk/Makefile | |
parent | 4e9048d810eb92c395453a28dea2a44961e08948 (diff) |
MLK-19777-03: imx8mm_evk: Optimize the ddr4 init flow
Optimize the DDR4 init flow. Split the common flow
with the DDR specific timing config. So the common
flow can be reused.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'board/freescale/imx8mm_evk/Makefile')
-rw-r--r-- | board/freescale/imx8mm_evk/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/board/freescale/imx8mm_evk/Makefile b/board/freescale/imx8mm_evk/Makefile index fe5bfb7e702..f6e5510b281 100644 --- a/board/freescale/imx8mm_evk/Makefile +++ b/board/freescale/imx8mm_evk/Makefile @@ -8,9 +8,6 @@ obj-y += imx8mm_evk.o ifdef CONFIG_SPL_BUILD obj-y += spl.o -ifdef CONFIG_IMX8M_LPDDR4 -obj-y += lpddr4_timing.o -else -obj-y += ddr/ -endif +obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o +obj-$(CONFIG_IMX8M_DDR4) += ddr4_timing.o endif |