
9 Nov
2015
9 Nov
'15
9:24 p.m.
Hi Lin,
On 9 November 2015 at 00:02, Lin Huang hl@rock-chips.com wrote:
add early uart driver so we can print debug message in SPL stage
Signed-off-by: Lin Huang hl@rock-chips.com
Changes in v1: None Changes in v2: None Changes in v3:
- pass uart base address to rk_uart_init() function
Changes in v4: None
arch/arm/include/asm/arch-rockchip/uart.h | 44 ++++++++++++++++++++++++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk_early_print.c | 56 +++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/uart.h create mode 100644 arch/arm/mach-rockchip/rk_early_print.c
Can you instead use the DEBUG_UART feature? It should already be supported for Rockchip if you enable that option and provide the settings,
Regards, Simon