[PATCH 1/3] treewide: Use NULL for script image name

Simon Glass sjg at chromium.org
Fri Oct 14 17:56:28 CEST 2022


On Thu, 13 Oct 2022 at 12:28, Sean Anderson <sean.anderson at seco.com> wrote:
>
> 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 at seco.com>
> ---
> This has a non-zero chance of breaking something, especially for SDP.
> It's not strictly necessary for the following patches, so I can drop it
> if there are any issues.
>
>  arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 2 +-
>  drivers/usb/gadget/f_sdp.c                          | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list