From: Milan Obuch Date: Mon, 20 Jan 2020 01:32:19 +0000 (-0300) Subject: arm: zynq: zybo z7: fix SPL uart init bitrate X-Git-Tag: v2020.04-rc4~28^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1bf9e01b8f82c442029607ab953c6a0d099c7d68;p=oweals%2Fu-boot.git arm: zynq: zybo z7: fix SPL uart init bitrate The board uses 100 MHz clock for UART bitrate generator, but is configured as 50 MHz on defconfig. This produces wrong console output. The first message, "Debug uart enabled" is received as: "������b" Fix the issue by configuring the correct clock for the UART baudrate generator Signed-off-by: Milan Obuch Signed-off-by: Luis Araneda Signed-off-by: Michal Simek --- diff --git a/configs/zynq_zybo_z7_defconfig b/configs/zynq_zybo_z7_defconfig index 12e1367e97..1dee757062 100644 --- a/configs/zynq_zybo_z7_defconfig +++ b/configs/zynq_zybo_z7_defconfig @@ -6,7 +6,7 @@ CONFIG_DM_GPIO=y CONFIG_SPL_STACK_R_ADDR=0x200000 CONFIG_SPL=y CONFIG_DEBUG_UART_BASE=0xe0001000 -CONFIG_DEBUG_UART_CLOCK=50000000 +CONFIG_DEBUG_UART_CLOCK=100000000 CONFIG_DEBUG_UART=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_CUSTOM_LDSCRIPT=y