diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-01-07 09:02:52 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-04-06 12:52:45 +0200 |
commit | c0adba572108677c23d6aa58173f9869ea3a5819 (patch) | |
tree | b0b746a78efd63d62d6742fdc1d677267b6a61b9 /arch/arm/mach-zynqmp | |
parent | 0486497e2b5f4d36fa968a1a60fea358cbf70b65 (diff) | |
download | u-boot-c0adba572108677c23d6aa58173f9869ea3a5819.zip u-boot-c0adba572108677c23d6aa58173f9869ea3a5819.tar.gz u-boot-c0adba572108677c23d6aa58173f9869ea3a5819.tar.bz2 |
arm64: zynqmp: Add support for debug uart also for U-Boot proper
board_early_init_f() is the right location where debug uart can be
configurated (after MIO initialization).
The patch is taking this call from SPL to also make it available for U-Boot
proper.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r-- | arch/arm/mach-zynqmp/spl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index b383018..c53945e 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -6,7 +6,6 @@ */ #include <common.h> -#include <debug_uart.h> #include <init.h> #include <spl.h> @@ -21,11 +20,6 @@ void board_init_f(ulong dummy) board_early_init_f(); board_early_init_r(); -#ifdef CONFIG_DEBUG_UART - /* Uart debug for sure */ - debug_uart_init(); - puts("Debug uart enabled\n"); /* or printch() */ -#endif /* Delay is required for clocks to be propagated */ udelay(1000000); } |