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

hl hl at rock-chips.com
Tue Nov 10 01:44:46 CET 2015


Hi Simon,

On 10/11/15 04:24, Simon Glass wrote:
> 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,
     but it should support fdt I want to use DEBUG_UART feature, but i 
disable it in SPL since
     rk3036 sram size, so i implentment a uart driver, so we can use 
debug uart in SPL.
>
> Regards,
> Simon
>
>
>

-- 
Lin Huang




More information about the U-Boot mailing list