mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
committed by
Fabio Estevam
parent
4d3b7cafab
commit
ca32a1d70a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user