[PATCH 2/2] sunxi: binman: Do not hardcode U-Boot load address

Andre Przywara andre.przywara at arm.com
Wed Mar 31 17:49:02 CEST 2021


On Mon,  8 Feb 2021 00:03:17 -0600
Samuel Holland <samuel at sholland.org> wrote:

> The FIT description has access to the configuration variables. Use the
> appropriate variable instead of hardcoding the address.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Thanks, both patches queued for -next.

Cheers,
Andre

> ---
>  arch/arm/dts/sunxi-u-boot.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
> index a9062316f1d..bb644d6378e 100644
> --- a/arch/arm/dts/sunxi-u-boot.dtsi
> +++ b/arch/arm/dts/sunxi-u-boot.dtsi
> @@ -42,7 +42,7 @@
>  					os = "u-boot";
>  					arch = "arm64";
>  					compression = "none";
> -					load = <0x4a000000>;
> +					load = <CONFIG_SYS_TEXT_BASE>;
>  
>  					u-boot-nodtb {
>  					};



More information about the U-Boot mailing list