arm: pdu001: Fix early debugging UART
PATCH 1/1 arm: pdu001: Fix early debugging UART
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.
---
board/eets/pdu001/Makefile | 6 +----- board/eets/pdu001/board.c | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-)
board/eets/pdu001/Makefile +1 -5
@@ -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
board/eets/pdu001/board.c +2 -0
@@ -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 ); }
Signature · 1 line
2.25.1
Quoted 6 lines · Felix Brack
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]>
Signature · 1 line
Tom
Quoted 6 lines · Felix Brack
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.
Quoted 6 lines
Signed-off-by Felix Brack <[email protected]>---
board/eets/pdu001/Makefile | 6 +----- board/eets/pdu001/board.c | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-)
Quoted 8 lines · Felix Brack
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]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom