]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip; kylin-rk3036: enabl DEBUG UART
authorKever Yang <kever.yang@rock-chips.com>
Fri, 29 Mar 2019 01:08:59 +0000 (09:08 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 30 Apr 2019 22:00:57 +0000 (00:00 +0200)
Enable debug uart for kylin board in defconfig.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
configs/kylin-rk3036_defconfig

index 393046edc8bfa2ef772803fd82b76718c4ac39ea..083cca92cebc8533842d14ddf54c4366a339f2ef 100644 (file)
@@ -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