summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2024-12-03 18:13:37 +0200
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2024-12-05 09:01:33 +0200
commit05396fb724551e57ccf6de15ce9f4c0e3128f82c (patch)
treedf16fb8a6e49741e86e8e111173e97223f5c28a5 /drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
parentf96e5133184aac377b54bd61f8abf78710f2ee56 (diff)
efi_loader: Check for a valid fw_name before auto generating GUIDs
The gen_v5_guid() is a void and does no error checking with pointers being available etc. Instead it expects all things to be in place to generate GUIDs. If a board capsule definition is buggy and does not define the firmware names when enabling capsule updates, the board will crash trying to bring up the EFI subsystem. Check for a valid firmware name before generating GUIDs. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c')
0 files changed, 0 insertions, 0 deletions