]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: call debug_uart_init right before board_init_f
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 24 Apr 2017 17:03:34 +0000 (19:03 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
commit0d159d6852e2bafc453206a327e267124704a30e
treec5b3aae2da6cb1ffbae123b0a479f2bdc0147cf9
parentfa9aee3aa379d15d4fbb225bc3d6b48521678182
MIPS: call debug_uart_init right before board_init_f

All MIPS boards that support debug uart are calling debug_uart_init right at
the beginning of board_early_init_f.
Instead of doing that, let's provide a generic call to debug_uart_init right
before the call to board_init_f if debug uart is enabled for boards without
stack in SRAM.
On the other hand, boards with stack in SRAM can call earlier (right before
low level init).

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
arch/mips/cpu/start.S