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

Caleb Ethridge jcethrid at gmail.com
Mon Apr 6 15:32:52 CEST 2026


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


More information about the U-Boot mailing list