diff options
author | Michal Simek <michal.simek@amd.com> | 2024-01-08 18:39:20 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-01-22 16:10:10 +0300 |
commit | 2385a6d8ed66aa31bd358b55441ca2f780b4324e (patch) | |
tree | 8b5b03c71282df20ddf652ac1e49261e68f5904f | |
parent | 97fed7ecbbe5296a3d3fab3a064236cf79df67e6 (diff) | |
download | linux-2385a6d8ed66aa31bd358b55441ca2f780b4324e.tar.xz |
arm64: zynqmp: Introduce u-boot options node with bootscr-address
Add u-boot options node with details about bootscr-address.
c&p description from dtschema/schemas/options/u-boot.yaml:
"Holds the full address of the boot script file. It helps in making
automated flow easier by fetching the 64bit address directly from DT.
Value should be automatically copied to the U-Boot 'scriptaddr' variable.
When it is defined, bootscr-ram-offset property should be ignored.
Actually only one of them should be present in the DT."
Address is generic for all zynqmp boards because all of them have DDR
starting from 0. Custom boards should revisit the location and aligned it
based on their needs.
Link: https://lore.kernel.org/r/4f5978d5a26fe0cd0cc6e54a97da1517bb925c01.1704728353.git.michal.simek@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
-rw-r--r-- | arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 4478db46b6a7..35538a0dfa80 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -24,6 +24,13 @@ #address-cells = <2>; #size-cells = <2>; + options { + u-boot { + compatible = "u-boot,config"; + bootscr-address = /bits/ 64 <0x20000000>; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; |