]> Git Repo - J-u-boot.git/commitdiff
arm: pdu001: Fix early debugging UART
authorFelix Brack <[email protected]>
Tue, 15 Feb 2022 14:27:23 +0000 (15:27 +0100)
committerTom Rini <[email protected]>
Mon, 28 Feb 2022 15:33:11 +0000 (10:33 -0500)
The changes from commit 0dba45864b2a ("arm: Init the debug UART")
prevent the early debug UART from being initialized correctly.
To fix this we not just configure the pin multiplexer but add setting up
early clocks.

Signed-off-by: Felix Brack <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
board/eets/pdu001/Makefile
board/eets/pdu001/board.c

index a5990ce3ad229e6bd1079552d62a041c5a135136..35ea3978fe2687e40e2bbd296e131cbf719203b9 100644 (file)
@@ -6,8 +6,4 @@
 # SPDX-License-Identifier: GPL-2.0+
 #
 
-ifeq ($(CONFIG_$(SPL_)SKIP_LOWLEVEL_INIT),)
-obj-y  := mux.o
-endif
-
-obj-y  += board.o
+obj-y  := board.o mux.o
index 9f3cfd4f842d9234aca38696b8212e3dddf88aa2..8612c09d40221816315c934fb44919901183a95d 100644 (file)
@@ -240,6 +240,8 @@ void sdram_init(void)
 #ifdef CONFIG_DEBUG_UART
 void board_debug_uart_init(void)
 {
+       setup_early_clocks();
+
        /* done by pin controller driver if not debugging */
        enable_uart_pin_mux(CONFIG_DEBUG_UART_BASE);
 }
This page took 0.033876 seconds and 4 git commands to generate.