aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Orzel2022-11-16 09:54:17 +0100
committerStefano Stabellini2022-11-16 16:26:56 -0800
commit0dbdc99cf3accdfdbfe158b99ee0bc9fc71fcdbc (patch)
treefbdf7e51c3bc79b8d1c50ce69dc7fd06c9808853
parent4e2a9e720b9616d16ac1cd1f3021164190cd4508 (diff)
Do not set #xen,static-mem-{address/size}-cells
Xen commit 942ac5fc15ec ("xen/arm, device-tree: Make static-mem use #{address,size}-cells") dropped these custom properties in favor of reusing regular #{address/size}-cells from the chosen node for the xen,static-mem property. Reflect this change in ImageBuilder. Signed-off-by: Michal Orzel <michal.orzel@amd.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
-rwxr-xr-xscripts/uboot-script-gen3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 1f8ab5f..02f3309 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -165,9 +165,6 @@ function add_device_tree_static_mem()
local cells=()
local val
- dt_set "$path" "#xen,static-mem-address-cells" "hex" "0x2"
- dt_set "$path" "#xen,static-mem-size-cells" "hex" "0x2"
-
for val in ${regions[@]}
do
cells+=("$(printf "0x%x 0x%x" $(($val >> 32)) $(($val & ((1 << 32) - 1))))")