diff options
author | Simon Glass <sjg@chromium.org> | 2015-12-13 21:37:00 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | 9b20519887ab39b389cd3e178c11d5bdb19c92e6 (patch) | |
tree | e9acea10b7bc1f18f542b7f3949b2a9c33ed931a /arch/arm/mach-rockchip/rk3036-board-spl.c | |
parent | b7e29834f1a820417d735833327f776c148cd399 (diff) | |
download | u-boot-imx-9b20519887ab39b389cd3e178c11d5bdb19c92e6.zip u-boot-imx-9b20519887ab39b389cd3e178c11d5bdb19c92e6.tar.gz u-boot-imx-9b20519887ab39b389cd3e178c11d5bdb19c92e6.tar.bz2 |
rockchip: Use the debug UART on rk3036
Rather than using a new debug UART implementation, use the standard one
provided by U-Boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3036-board-spl.c')
-rw-r--r-- | arch/arm/mach-rockchip/rk3036-board-spl.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3036-board-spl.c b/arch/arm/mach-rockchip/rk3036-board-spl.c index 3a1491c..8015481 100644 --- a/arch/arm/mach-rockchip/rk3036-board-spl.c +++ b/arch/arm/mach-rockchip/rk3036-board-spl.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <debug_uart.h> #include <asm/io.h> #include <asm/arch/grf_rk3036.h> #include <asm/arch/hardware.h> @@ -34,7 +35,7 @@ void board_init_f(ulong dummy) GPIO1C2_MASK << GPIO1C2_SHIFT, GPIO1C3_UART2_SOUT << GPIO1C3_SHIFT | GPIO1C2_UART2_SIN << GPIO1C2_SHIFT); - rk_uart_init((void *)DEBUG_UART_BASE); + debug_uart_init(); #endif rockchip_timer_init(); sdram_init(); @@ -53,3 +54,9 @@ void board_init_r(gd_t *id, ulong dest_addr) while (1) ; } + +void hang(void) +{ + while (1) + ; +} |