]> git.dujemihanovic.xyz Git - u-boot.git/commit
treewide: Use NULL for script image name
authorSean Anderson <sean.anderson@seco.com>
Mon, 12 Dec 2022 19:12:09 +0000 (14:12 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 31 Dec 2022 18:35:19 +0000 (13:35 -0500)
commit30fb045f2dccf1a58153bae2183121a1ae8fe05b
tree225a6d0a55bf1a8b44772a5f343f911a217c79af
parent895999261ca02882813d477f28ba06c8060d9c43
treewide: Use NULL for script image name

Two callers of image_source_script specify an image name. However, both
use the deprecated @ syntax, indicating that they have not been updated
in a while. If CONFIG_FIT_SIGNATURE is enabled, we will reject such
names outright. Back in commit 152576a598c ("stm32mp: stm32prog: handle
U-Boot script in flashlayout alternate"), we even renamed one of the
nodes. Instead of hard-coding a script image name, just use the default
image.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
drivers/usb/gadget/f_sdp.c