diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2021-04-04 20:21:35 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 20:29:54 +0200 |
commit | 6bd8845ad40d7aa71d63d783221bdf50d9922179 (patch) | |
tree | 671419c36c998532219dfa11a416988e945e9996 /drivers/ddr/altera/sequencer.c | |
parent | eeb47ee474876310bd345bc6b51185addc70a112 (diff) |
board: st: stm32f746-disco: fix console is not enabled while init dram
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@benettiengineering.com>
Diffstat (limited to 'drivers/ddr/altera/sequencer.c')
0 files changed, 0 insertions, 0 deletions