mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-20 06:01:26 +02:00
rockchip: px30-board-tpl: Sync ifdef guards with full TPL
Display TPL init information message only when TPL_BANNER_PRINT configuration entry is set. This allows to disable information message in case logs on UART are unwanted. Update parent ifdef condition to check also CONFIG_TPL_SERIAL to match logic of the non-PX30 TPL implementation. Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
e82d4edf46
commit
d2653f22e9
@ -36,7 +36,7 @@ void board_init_f(ulong dummy)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_UART
|
#if defined(CONFIG_DEBUG_UART) && defined(CONFIG_TPL_SERIAL)
|
||||||
debug_uart_init();
|
debug_uart_init();
|
||||||
/*
|
/*
|
||||||
* Debug UART can be used from here if required:
|
* Debug UART can be used from here if required:
|
||||||
@ -46,7 +46,9 @@ void board_init_f(ulong dummy)
|
|||||||
* printhex8(0x1234);
|
* printhex8(0x1234);
|
||||||
* printascii("string");
|
* printascii("string");
|
||||||
*/
|
*/
|
||||||
|
#if CONFIG_TPL_BANNER_PRINT
|
||||||
printascii("U-Boot TPL board init\n");
|
printascii("U-Boot TPL board init\n");
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
secure_timer_init();
|
secure_timer_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user