[RESEND v4 12/14] arm: sc5xx: Remove SC5XX_LOADADDR

Simon Glass sjg at chromium.org
Mon Apr 20 04:58:01 CEST 2026


Hi Caleb,

On 2026-04-16T15:19:35, Caleb Ethridge <jcethrid at gmail.com> wrote:
> arm: sc5xx: Remove SC5XX_LOADADDR
>
> SC5XX_LOADADDR was an ADI-specific duplicate of standard U-Boot
> load address handling. U-Boot already uses CONFIG_SYS_LOAD_ADDR
> for the default load address and loadaddr for boot commands,
> so keeping separate SC5XX-specific names is redundant.
>
> Signed-off-by: Ozan Durgut <ozan.durgut at analog.com>
> Signed-off-by: Caleb Ethridge <caleb.ethridge at analog.com>
>
> arch/arm/mach-sc5xx/Kconfig                     |  6 ------
>  board/adi/sc573-ezlite/sc573-ezlite.env         |  3 ---
>  board/adi/sc584-ezkit/sc584-ezkit.env           |  3 ---
>  board/adi/sc589-ezkit/sc589-ezkit.env           |  3 ---
>  board/adi/sc589-mini/sc589-mini.env             |  3 ---
>  board/adi/sc594-som-ezkit/sc594-som-ezkit.env   |  3 ---
>  board/adi/sc594-som-ezlite/sc594-som-ezlite.env |  3 ---
>  board/adi/sc598-som-ezkit/sc598-som-ezkit.env   |  3 ---
>  board/adi/sc598-som-ezlite/sc598-som-ezlite.env |  3 ---
>  configs/sc573-ezlite_defconfig                  |  2 +-
>  configs/sc584-ezkit_defconfig                   |  2 +-
>  configs/sc589-ezkit_defconfig                   |  2 +-
>  configs/sc589-mini_defconfig                    |  2 +-
>  configs/sc594-som-ezkit-spl_defconfig           |  2 +-
>  configs/sc594-som-ezlite-spl_defconfig          |  2 +-
>  configs/sc598-som-ezkit-spl_defconfig           |  2 +-
>  configs/sc598-som-ezlite-spl_defconfig          |  2 +-
>  include/env/adi/adi_boot.env                    | 18 +++++++++++-------
>  18 files changed, 19 insertions(+), 45 deletions(-)

> diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env
> @@ -2,7 +2,6 @@
>  * A target board needs to set these variables for the commands below to work:
>  *
>  * - adi_image_offset, location of the fitImage on the SPI flash
> - * - loadaddr, where you want to load things

The comment header now says boards need to set adi_image_offset, but
this patch moves adi_image_offset into adi_boot.env itself. Since no
board-level variables are needed anymore, please can you remove or
update this entire comment block?

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

Regards,
Simon


More information about the U-Boot mailing list