diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2024-08-03 12:41:44 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-28 12:55:59 -0600 |
commit | f3a2d793d7ae04634afb727f96ff6b0f6144c8ae (patch) | |
tree | 409097726f59791dc8a192155596b4d6ba20218a /common/board_f.c | |
parent | ee2af844ba1b27b2e959c4e649e4b769fbeb4074 (diff) | |
download | u-boot-f3a2d793d7ae04634afb727f96ff6b0f6144c8ae.tar.gz u-boot-f3a2d793d7ae04634afb727f96ff6b0f6144c8ae.tar.bz2 u-boot-f3a2d793d7ae04634afb727f96ff6b0f6144c8ae.zip |
bootstage: Fix unstash of records from SPL
The commit b81e31a1e6c5 ("bootstash: Do not provide a default address
for all") changed a bootstage unstash call to bootstage stash, this
has resulted in bootstage records stashed in SPL no longer get unstaged
in U-Boot proper. Fix this by changing back to a unstage call.
Fixes: b81e31a1e6c5 ("bootstash: Do not provide a default address for all")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index 29e185137a..30d7fbf498 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -810,7 +810,7 @@ static int initf_bootstage(void) if (ret) return ret; if (from_spl) { - ret = bootstage_stash_default(); + ret = bootstage_unstash_default(); if (ret && ret != -ENOENT) { debug("Failed to unstash bootstage: err=%d\n", ret); return ret; |