[PATCH 2/3] board: freescale: imxrt1050-evk: fix console is not enabled while init dram

sbabic at denx.de sbabic at denx.de
Thu Apr 8 22:59:31 CEST 2021


> While initializing dram in spl_dram_init(), mdelay() is called that in
> order calls get_ticks() that  verifies if timer exists, if doesn't, it
> throws a panic(), but since preloader_console_init() has still not been
> called those panic()s will fail. This doesn't help debugging, so let's
> setup console before calling spl_dram_init() by moving it after
> spl_dram_init().
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list