Skip to content

Commit

Permalink
arm: pdu001: Fix early debugging UART
Browse files Browse the repository at this point in the history
The changes from commit 0dba458 ("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 <fb@ltec.ch>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
  • Loading branch information
fxrb authored and trini committed Feb 28, 2022
1 parent 11f29d4 commit 286f948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions board/eets/pdu001/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions board/eets/pdu001/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 286f948

Please sign in to comment.