]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: rmobile: Reserve space in R-Car Gen3 DTs
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 11 Apr 2020 18:49:49 +0000 (20:49 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 20 May 2020 11:20:19 +0000 (13:20 +0200)
Reserve 4 kiB of space in R-Car Gen3 DTs when those DTs are compiled
to permit patching in OpTee-OS /firmware node, /reserved-memory node
and possibly also additional /memory@ nodes.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
arch/arm/dts/Makefile

index ca663a86f2db8582a07c39af7287fbd7cd6e7b2d..480ef4c4b28d7616b92d15b61521baffdac5ee84 100644 (file)
@@ -766,6 +766,10 @@ dtb-$(CONFIG_RCAR_GEN3) += \
        r8a77990-ebisu-u-boot.dtb \
        r8a77995-draak-u-boot.dtb
 
+ifdef CONFIG_RCAR_GEN3
+DTC_FLAGS += -R 4 -p 0x1000
+endif
+
 dtb-$(CONFIG_RZA1) += \
        r7s72100-gr-peach-u-boot.dtb