[PATCH v1 16/22] siemens: capricorn: board.c fixes

Heiko Schocher hs at denx.de
Fri Nov 8 06:21:37 CET 2024


show build_info and only init uart2.

Signed-off-by: Heiko Schocher <hs at denx.de>
---

 board/siemens/capricorn/board.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c
index ad474d9baa0..99681d68c3f 100644
--- a/board/siemens/capricorn/board.c
+++ b/board/siemens/capricorn/board.c
@@ -63,8 +63,7 @@ int board_early_init_f(void)
 	sc_pm_clock_rate_t rate = SC_80MHZ;
 	int ret;
 
-	ret = sc_pm_setup_uart(SC_R_UART_0, rate);
-	ret |= sc_pm_setup_uart(SC_R_UART_2, rate);
+	ret = sc_pm_setup_uart(SC_R_UART_2, rate);
 	if (ret)
 		return ret;
 
@@ -275,7 +274,7 @@ int checkboard(void)
 	 * Running build_info() doesn't work with current SCFW blob.
 	 * Uncomment below call when new blob is available.
 	 */
-	/*build_info();*/
+	build_info();
 
 	print_bootinfo();
 	return 0;
-- 
2.20.1



More information about the U-Boot mailing list