summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/axp/ddr3_spd.c
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2024-06-12 16:58:49 +0200
committerTom Rini <trini@konsulko.com>2024-06-20 11:41:43 -0600
commit05b9665f095f2f70bf8de7ea6d1f5efc2ce7fb35 (patch)
tree94ae2f1edbdfed61d764ebb4c556158006d95a13 /drivers/ddr/marvell/axp/ddr3_spd.c
parent817316663626548f8e5b4d3019e4da957dcf2b59 (diff)
boot: bootflow_menu: fix crash for EFI BOOTMGR global bootmeth
The global bootmeths don't set the dev in bootflow struct which means the dev_get_parent(bflow->dev) triggers a NULL-pointer dereference and crash U-Boot. So before trying to handle a bootflow, check that the associated bootmeth isn't global, otherwise skip it. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_spd.c')
0 files changed, 0 insertions, 0 deletions