aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-05-19 22:40:07 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2024-06-01 21:52:19 +0200
commitf34c5cd11b8502f2e1d6438e9726066718009876 (patch)
treec6bfa333f04e50a4951c0fa2616ebb438a919f3d /dts
parent7764f147f96d08f5b5ce5bd7e28ea19c34de51ac (diff)
downloadu-boot-f34c5cd11b8502f2e1d6438e9726066718009876.zip
u-boot-f34c5cd11b8502f2e1d6438e9726066718009876.tar.gz
u-boot-f34c5cd11b8502f2e1d6438e9726066718009876.tar.bz2
ARM: dts: renesas: Reserve space in 64bit R-Car DTs
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>
Diffstat (limited to 'dts')
-rw-r--r--dts/upstream/src/arm64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/Makefile b/dts/upstream/src/arm64/Makefile
index 9a8f6aa..26a83d3 100644
--- a/dts/upstream/src/arm64/Makefile
+++ b/dts/upstream/src/arm64/Makefile
@@ -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))
@: