From mboxrd@z Thu Jan 1 00:00:00 1970 From: hl Date: Tue, 10 Nov 2015 08:44:46 +0800 Subject: [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver In-Reply-To: References: <1447056167-16138-1-git-send-email-hl@rock-chips.com> <1447056167-16138-15-git-send-email-hl@rock-chips.com> Message-ID: <56413DFE.4010305@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 10/11/15 04:24, Simon Glass wrote: > Hi Lin, > > On 9 November 2015 at 00:02, Lin Huang wrote: >> add early uart driver so we can print debug message in >> SPL stage >> >> Signed-off-by: Lin Huang >> --- >> 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