mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
Allow displaying the U-Boot banner on a video display
At present the U-Boot banner is only displayed on the serial console. If this is not visible to the user, the banner does not show. Some devices have a video display which can usefully display this information. Add a banner which is printed after relocation only on non-serial devices if CONFIG_DISPLAY_BOARDINFO_LATE is defined. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -42,6 +42,18 @@ void console_record_reset(void);
|
||||
*/
|
||||
void console_record_reset_enable(void);
|
||||
|
||||
/**
|
||||
* console_announce_r() - print a U-Boot console on non-serial consoles
|
||||
*
|
||||
* When U-Boot starts up with a display it generally does not announce itself
|
||||
* on the display. The banner is instead emitted on the UART before relocation.
|
||||
* This function prints a banner on devices which (we assume) did not receive
|
||||
* it before relocation.
|
||||
*
|
||||
* @return 0 (meaning no errors)
|
||||
*/
|
||||
int console_announce_r(void);
|
||||
|
||||
/*
|
||||
* CONSOLE multiplexing.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user