
On 16 November 2015 at 23:20, 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 Acked-by: Simon Glass sjg@chromium.org
Changes in v1: None Changes in v2: None Changes in v3:
- pass uart base address to rk_uart_init() function
Changes in v4: None Changes in v5: None Changes in v6:
- Adviced by Simon:
- add some comment
arch/arm/include/asm/arch-rockchip/uart.h | 44 +++++++++++++++++++++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk_early_print.c | 63 +++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/uart.h create mode 100644 arch/arm/mach-rockchip/rk_early_print.c
Applied to u-boot-rockchip, thanks!
(as discussed, there is future work to try to unify this with the ns16550 debug UART)