[U-Boot] [PATCH v4 14/20] rockchip: add early uart driver

Simon Glass sjg at chromium.org
Mon Nov 9 21:24:02 CET 2015


Hi Lin,

On 9 November 2015 at 00:02, 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>
> ---
> 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


More information about the U-Boot mailing list