From e88e844028da9805c8de695ef2371090e44ccfe2 Mon Sep 17 00:00:00 2001 From: Bai Ping Date: Wed, 4 Jul 2018 17:16:14 +0800 Subject: plat: imx: fix boot hang on imx8mm ddr4 board skip init the dram info if the ddr type is DDR4, support for it will be added later. Signed-off-by: Bai Ping --- plat/imx/common/imx8m/dram.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plat/imx/common/imx8m/dram.c b/plat/imx/common/imx8m/dram.c index e5a40c88..cb987c48 100644 --- a/plat/imx/common/imx8m/dram.c +++ b/plat/imx/common/imx8m/dram.c @@ -64,6 +64,9 @@ void dram_info_init(void) if (ddr_type == DDRC_LPDDR4) { dram_info = &imx8m_lpddr4_dram_info; dram_info->dram_type = ddr_type; + } else { + /* TODO DDR4 support will be added later */ + return; } /* init the boot_fsp & current_fsp */ -- cgit v1.2.3