]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit679bbc2885e4bc20bca4fcdb20b699f2f02af89f
treeac8a5287f0501499b3a8334f33483981079b229b
parent111adbf1c8d53203a7daf0f278b79744e70c981e
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