[U-Boot] [PATCH v6 17/23] rockchip: add early uart driver

Simon Glass sjg at chromium.org
Thu Nov 19 15:20:15 CET 2015


On 16 November 2015 at 23:20, Lin Huang <hl at rock-chips.com> wrote:
> add early uart driver so we can print debug message in
> SPL stage
>
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> Acked-by: Simon Glass <sjg at 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)


More information about the U-Boot mailing list