aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-12-01 07:42:35 -0700
committerTom Rini <trini@konsulko.com>2024-12-02 07:40:39 -0600
commit924a5e4e41e99cefabc465c82ffd91374d38a1e7 (patch)
tree0237d567a27505d6cb19cef0b3142ef738b5fca9 /cmd
parent03e57244bc260da9b9839d387cc5eb691f88b5bd (diff)
downloadu-boot-924a5e4e41e99cefabc465c82ffd91374d38a1e7.tar.gz
Revert "global_data: Drop spl_handoff"
This breaks chromebook_coral which says: Video: No video mode configured in FSP! This reverts commit 2e9313179a846b581c0fc3f6a49e19f3d343efa8. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/sb.c b/cmd/sb.c
index 9245052492e..79f3fb0aacd 100644
--- a/cmd/sb.c
+++ b/cmd/sb.c
@@ -15,10 +15,8 @@ static int do_sb_handoff(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
#if CONFIG_IS_ENABLED(HANDOFF)
- struct spl_handoff *handoff = handoff_get();
-
- if (handoff)
- printf("SPL handoff magic %lx\n", handoff->arch.magic);
+ if (gd->spl_handoff)
+ printf("SPL handoff magic %lx\n", gd->spl_handoff->arch.magic);
else
printf("SPL handoff info not received\n");