summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-12-09 16:29:47 -0600
committerTom Rini <[email protected]>2024-12-09 16:29:47 -0600
commit9bc62c980d418f0a67632ab29cd3501072cdb6f0 (patch)
treee70cc08520aca0f7e3406bd088ddfda0874973a0 /cmd
parent9dd0a9ecaa539adb99f74ea5cebcafcdebe93aad (diff)
parentb841e559cd26ffcb20f22e8ee75debed9616c002 (diff)
Merge tag 'v2025.01-rc4' into next
Prepare v2025.01-rc4
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");