diff options
author | Bai Ping <ping.bai@nxp.com> | 2018-07-04 17:16:14 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2018-07-04 17:27:50 +0800 |
commit | e88e844028da9805c8de695ef2371090e44ccfe2 (patch) | |
tree | 6a33820021ea3e14a7b54c0455ce095f99798ce6 | |
parent | 29ae5d73f62f581550be7083d3595be3f2cd53d1 (diff) |
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 <ping.bai@nxp.com>
-rw-r--r-- | plat/imx/common/imx8m/dram.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |