Re: [RESEND v2 12/13] arm: sc5xx: remove LOADADDR and use kernel_addr_r

Caleb Ethridge
2026-04-06T16:50:32Z

Hi Greg,

> I agree with dropping SC5XX_LOADADDRR and replacing with
> CONFIG_SYS_LOAD_ADDR . But should we really replace ${loadaddr} with
> ${kernel_addr_r}? We're loading/booting a fit image not a raw kernel.
> bootm defaults to CONFIG_SYS_LOAD_ADDR which is exported as loadaddr
> in include/env_default.h.

We have recently opened up our support to include build systems which
produce a kernel image + dtb combo instead of the full fit image. It
probably makes sense then to leave the kernel_addr_r define in for use
with booti if needed, but remove the kernel_addr_r from the bootm commands since
they are redundant.

I will let Ozan chime in as well, as this was originally his commit that
I attached to my original series.

Thanks,

Caleb