[PATCH v5 27/46] x86: Ensure SPL banner is only shown once

Bin Meng bmeng.cn at gmail.com
Mon Jul 17 08:20:19 CEST 2023


On Sun, Jul 16, 2023 at 11:40 AM Simon Glass <sjg at chromium.org> wrote:
>
> Print the banner in SPL init only if the spl_board_init() function isn't
> enabled. The spl_board_init() function is in the same file, but is called
> later, by board_init_r().
>
> This avoids printing two banners, which causes tests to fail.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v5:
> - Split out banner code into a separate patch
>
>  arch/x86/lib/spl.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list