
25 Sep
2024
25 Sep
'24
2:55 p.m.
This is only "U-Boot" when in SPL. For earlier phases it should use the correct value, so update this.
Signed-off-by: Simon Glass sjg@chromium.org ---
common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c index 623e486c210..2466b98f5a8 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -280,7 +280,7 @@ void spl_set_header_raw_uboot(struct spl_image_info *spl_image) spl_image->load_addr = CONFIG_TEXT_BASE; } spl_image->os = IH_OS_U_BOOT; - spl_image->name = "U-Boot"; + spl_image->name = spl_phase_name(spl_next_phase()); }
__weak int spl_parse_board_header(struct spl_image_info *spl_image,
--
2.43.0