renesas: rcar: Apply ATF overlay for reserved-memory
authorDetlev Casanova <detlev.casanova@collabora.com>
Fri, 9 Jun 2023 15:19:08 +0000 (11:19 -0400)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Jun 2023 15:06:38 +0000 (17:06 +0200)
commitfd3e2b4de366a32cd342675bdcd43b72159913ee
treeac8a5287f0501499b3a8334f33483981079b229b
parentaddd47379df54a3eb247c6db4f799f14af43e523
renesas: rcar: Apply ATF overlay for reserved-memory

The function fdtdec_board_setup() is called early and adds the overlay
from ATF to the u-boot device tree. That is necessary so that u-boot
doesn't use reserved memory.

Linux also needs to know about that reserved memory so the overlay from
ATF needs to be aplied on the linux device tree as well.

This commit makes sure that the ATF overlay is applied to both device trees.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Adam Ford <aford173@gmail.com>
board/renesas/rcar-common/common.c