]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: binman: Do not hardcode U-Boot load address
authorSamuel Holland <samuel@sholland.org>
Mon, 8 Feb 2021 06:03:17 +0000 (00:03 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 16 Apr 2021 00:12:59 +0000 (01:12 +0100)
The FIT description has access to the configuration variables. Use the
appropriate variable instead of hardcoding the address.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/dts/sunxi-u-boot.dtsi

index f8225888987fbe0a32d8a0af56b79f8f47c54378..a4227a3c22dd1bb2064afae7eb1d337cc196d6b1 100644 (file)
@@ -42,7 +42,7 @@
                                        os = "u-boot";
                                        arch = "arm64";
                                        compression = "none";
-                                       load = <0x4a000000>;
+                                       load = <CONFIG_SYS_TEXT_BASE>;
 
                                        u-boot-nodtb {
                                        };