mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00
bootstage: Fix unstash of records from SPL
The commitb81e31a1e6
("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:b81e31a1e6
("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>
This commit is contained in:
parent
cf85cd84aa
commit
e83ced1a24
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue