]> git.baikalelectronics.ru Git - uboot.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)
commitd915a3373f66c366d5f2111512ff810893b9e899
treec5b3aae2da6cb1ffbae123b0a479f2bdc0147cf9
parentdbe023b21d45e9287e2ec98e3419d4abc88d36ca
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