From 2b2ff1bd87d8912267b9f3b408e2aaad0cd195fa Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Fri, 29 Mar 2019 09:08:59 +0800 Subject: [PATCH] rockchip; kylin-rk3036: enabl DEBUG UART Enable debug uart for kylin board in defconfig. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- configs/kylin-rk3036_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig index 393046edc8..083cca92ce 100644 --- a/configs/kylin-rk3036_defconfig +++ b/configs/kylin-rk3036_defconfig @@ -7,6 +7,10 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_ROCKCHIP_RK3036=y CONFIG_TARGET_KYLIN_RK3036=y CONFIG_SPL_SYS_MALLOC_F_LEN=0x0 +CONFIG_DEBUG_UART_BASE=0x20068000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_SPL_STACK_R_ADDR=0x80000 +CONFIG_DEBUG_UART=y CONFIG_NR_DRAM_BANKS=1 CONFIG_SPL_STACK_R_ADDR=0x80000 # CONFIG_ANDROID_BOOT_IMAGE is not set @@ -46,6 +50,7 @@ CONFIG_SF_DEFAULT_SPEED=20000000 CONFIG_PINCTRL=y CONFIG_DM_REGULATOR_FIXED=y # CONFIG_SPL_DM_SERIAL is not set +CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_DWC2=y -- 2.39.5