siemens: capricorn: small board updates

with newest SCFW build_info() works now, so call it
from checkboard() now.

As we only use uart2 as console, do not init uart0.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
This commit is contained in:
Heiko Schocher
2024-11-23 17:52:58 +01:00
committed by Fabio Estevam
parent 4d3b7cafab
commit ca32a1d70a

View File

@@ -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;
@@ -271,11 +270,7 @@ int checkboard(void)
{
puts("Board: Capricorn\n");
/*
* 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;