]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: zynq: Define u-boot bootscrip addr via DT
authorMichal Simek <michal.simek@amd.com>
Wed, 11 Dec 2024 12:41:27 +0000 (13:41 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 3 Feb 2025 16:05:50 +0000 (17:05 +0100)
Define bootscript address in RAM via DT property. Adding default value to
common DTSI. Platform DT description can remove this property or rewrite
it.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9252bb464c5c82fda6018ea450c6f453a5d8412c.1733920873.git.michal.simek@amd.com
arch/arm/boot/dts/xilinx/zynq-7000.dtsi

index 82741c837e4333f2c065b568deeb00a0486885fe..8a6bc3c4cadce93928d01cfb7b5e45ae263abe58 100644 (file)
@@ -8,6 +8,13 @@
        #size-cells = <1>;
        compatible = "xlnx,zynq-7000";
 
+       options {
+               u-boot {
+                       compatible = "u-boot,config";
+                       bootscr-address = /bits/ 64 <0x3000000>;
+               };
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;