]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Ensure SPL banner is only shown once
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:39:00 +0000 (21:39 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:26 +0000 (17:12 +0800)
commit352525801992799b9bb289e3233a8b17bcf2bc52
tree3a8d1a802177eec0e4c301e1a8691625ab299369
parent03fe79c091cee0bd591070dd24adfa8f556b50df
x86: Ensure SPL banner is only shown once

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/spl.c