diff options
author | Simon Glass <sjg@chromium.org> | 2024-12-01 07:42:35 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-02 07:40:39 -0600 |
commit | 924a5e4e41e99cefabc465c82ffd91374d38a1e7 (patch) | |
tree | 0237d567a27505d6cb19cef0b3142ef738b5fca9 /cmd | |
parent | 03e57244bc260da9b9839d387cc5eb691f88b5bd (diff) | |
download | u-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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"); |