diff options
author | Eddie Cai <eddie.cai.linux@gmail.com> | 2017-04-18 11:17:27 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 19:37:21 (GMT) |
commit | 7474bbe85718954b7565ac72eaffb3fc2e0880d3 (patch) | |
tree | eee50675848c99338d90d1887280719700a8696e /arch/arm/mach-rockchip/rk3288-board-spl.c | |
parent | 26b1edf4cebeb8a16a3ddb64ad43fffd8df6256e (diff) | |
download | u-boot-7474bbe85718954b7565ac72eaffb3fc2e0880d3.tar.xz |
rockchip: enable debug uart
enable debug uart for rk3288 and print something to let people know
where we are
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3288-board-spl.c')
-rw-r--r-- | arch/arm/mach-rockchip/rk3288-board-spl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index 74f3379..8ca6b1e 100644 --- a/arch/arm/mach-rockchip/rk3288-board-spl.c +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c @@ -164,7 +164,6 @@ void board_init_f(ulong dummy) int ret; /* Example code showing how to enable the debug UART on RK3288 */ -#ifdef EARLY_UART #include <asm/arch/grf_rk3288.h> /* Enable early UART on the RK3288 */ #define GRF_BASE 0xff770000 @@ -183,8 +182,7 @@ void board_init_f(ulong dummy) * printascii("string"); */ debug_uart_init(); -#endif - + debug("\nspl:debug uart enabled in %s\n", __func__); ret = spl_early_init(); if (ret) { debug("spl_early_init() failed: %d\n", ret); @@ -205,7 +203,7 @@ void board_init_f(ulong dummy) debug("Pinctrl init failed: %d\n", ret); return; } - + debug("\nspl:init dram\n"); ret = uclass_get_device(UCLASS_RAM, 0, &dev); if (ret) { debug("DRAM init failed: %d\n", ret); |