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 f822588..a4227a3 100644 (file)
@@ -42,7 +42,7 @@
                                        os = "u-boot";
                                        arch = "arm64";
                                        compression = "none";
-                                       load = <0x4a000000>;
+                                       load = <CONFIG_SYS_TEXT_BASE>;
 
                                        u-boot-nodtb {
                                        };