diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2019-02-01 16:48:31 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2019-02-01 16:59:14 +0100 |
commit | 73ced87e9af70cba35c4374055dca56e5f9c460d (patch) | |
tree | 9f2ff8c813600057bbd8a8838c88e36beaadf1f3 /arch | |
parent | c869d63f2785ccde22582f96cf40cb8809f838ba (diff) | |
download | u-boot-73ced87e9af70cba35c4374055dca56e5f9c460d.tar.gz |
rockchip: rk3399: spl: ensure that debug_uart_init is called
With the latest changes to add support for the Chromebook Bob,
initialisation through debug_uart_init() did no longer get called for
other targets.
Fix this, by moving debug_uart_init() out of the Bob-specific
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-rockchip/rk3399-board-spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c index 906aaf4624..ccc136f388 100644 --- a/arch/arm/mach-rockchip/rk3399-board-spl.c +++ b/arch/arm/mach-rockchip/rk3399-board-spl.c @@ -185,11 +185,11 @@ void board_init_f(ulong dummy) #define EARLY_UART #ifdef EARLY_UART + debug_uart_init(); + # ifdef CONFIG_TARGET_CHROMEBOOK_BOB int sum, i; - debug_uart_init(); - /* * Add a delay and ensure that the compiler does not optimise this out. * This is needed since the power rails tail a while to turn on, and |