]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: zynq: Fix debug uart initialization
authorMichal Simek <michal.simek@xilinx.com>
Thu, 17 Feb 2022 13:28:41 +0000 (14:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 21 Feb 2022 12:20:24 +0000 (13:20 +0100)
commit05f0f269b7a6e5c9b65e88bb8b691e28cb49da84
tree841bb18e9f5cc8930c876001514a3b3d2d1c1444
parent83d2941fe9750f7d98d560d7782edcf31b574d3d
ARM: zynq: Fix debug uart initialization

The commit 0dba45864b2a ("arm: Init the debug UART") calls
debug_uart_init() from crt0.S but it won't work because SOC is not
configured yet. That's why create board_debug_uart_init() which calls
ps7_init() earlier before the first access to UART.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/18e67e02a0c7190839a1ef3a11f3fd6babcf34cc.1645104518.git.michal.simek@xilinx.com
arch/arm/Kconfig
arch/arm/mach-zynq/spl.c
board/xilinx/zynq/board.c