aboutsummaryrefslogtreecommitdiff
path: root/board/eets
diff options
context:
space:
mode:
authorFelix Brack <fb@ltec.ch>2022-02-15 15:27:23 +0100
committerTom Rini <trini@konsulko.com>2022-02-28 10:33:11 -0500
commit286f94803ee446a3ef730626f2219a0a28a82b8e (patch)
treefecc71cbffed4ac4a7c852857f1432a1e7fd1d18 /board/eets
parent11f29d443622070c9423ed5fda74b9564570aac7 (diff)
downloadu-boot-286f94803ee446a3ef730626f2219a0a28a82b8e.zip
u-boot-286f94803ee446a3ef730626f2219a0a28a82b8e.tar.gz
u-boot-286f94803ee446a3ef730626f2219a0a28a82b8e.tar.bz2
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. Signed-off-by: Felix Brack <fb@ltec.ch> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/eets')
-rw-r--r--board/eets/pdu001/Makefile6
-rw-r--r--board/eets/pdu001/board.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/board/eets/pdu001/Makefile b/board/eets/pdu001/Makefile
index a5990ce3..35ea397 100644
--- a/board/eets/pdu001/Makefile
+++ b/board/eets/pdu001/Makefile
@@ -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
diff --git a/board/eets/pdu001/board.c b/board/eets/pdu001/board.c
index 9f3cfd4..8612c09 100644
--- a/board/eets/pdu001/board.c
+++ b/board/eets/pdu001/board.c
@@ -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);
}