]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: renesas: Reserve space in 64bit R-Car DTs
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 May 2024 20:40:07 +0000 (22:40 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 1 Jun 2024 19:52:19 +0000 (21:52 +0200)
Reserve 4 kiB of space in 64bit R-Car DTs when those DTs are compiled
to permit patching in OpTee-OS /firmware node, /reserved-memory node,
possibly also additional /memory@ nodes and RPC node by TFA.

This duplicates behavior in arch/arm/dts/Makefile with OF_UPSTREAM.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
dts/upstream/src/arm64/Makefile

index 9a8f6aa35846c4ca97f98c598f3d0858568c7456..26a83d3d29d97f65f4577f86ed29c72b9dba01f7 100644 (file)
@@ -7,6 +7,10 @@ targets += $(dtb-y)
 # Add any required device tree compiler flags here
 DTC_FLAGS += -a 0x8
 
+ifdef CONFIG_RCAR_64
+DTC_FLAGS += -R 4 -p 0x1000
+endif
+
 PHONY += dtbs
 dtbs: $(addprefix $(obj)/, $(dtb-y))
        @: