This board uses the legacy DRAM initialization and doesn't call imx8mq_ddr_init(), so there is no point where the DRAM firmware is referenced from the image. Fix this by calling ddr_get_firmware() from the legacy DRAM init. Fixes: e770d18108de ("ARM: i.MX8M: include only necessary ddrphy firmwares in image") Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c b/arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c index d2c73fc7ce22..e8577369dc8b 100644 --- a/arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c +++ b/arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c @@ -11,6 +11,8 @@ void ddr_cfg_phy(void) { unsigned int tmp, tmp_t; + ddr_get_firmware(DRAM_TYPE_LPDDR4); + //Init DDRPHY register... reg32_write(0x3c080440,0x2); reg32_write(0x3c080444,0x3); -- 2.38.1