The FIT description has access to the configuration variables. Use the
appropriate variable instead of hardcoding the address.

Signed-off-by: Samuel Holland <sam...@sholland.org>
---
 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 {
                                        };
-- 
2.26.2

Reply via email to