Re: [PATCH] renesas: rcar: Apply ATF overlay for reserved-memory

2023-06-10 Thread Adam Ford
On Fri, Jun 9, 2023 at 10:41 AM Detlev Casanova wrote: > > 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

Re: [PATCH] renesas: rcar: Apply ATF overlay for reserved-memory

2023-06-10 Thread Marek Vasut
On 6/9/23 17:19, Detlev Casanova wrote: 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

[PATCH] renesas: rcar: Apply ATF overlay for reserved-memory

2023-06-09 Thread Detlev Casanova
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.

Re: [PATCH] renesas: rcar: Apply ATF overlay for reserved-memory

2022-12-06 Thread Geert Uytterhoeven
Hi Detlev, On Tue, Dec 6, 2022 at 4:35 PM Detlev Casanova wrote: > The function fdtdec_board_setup() is only called by fdtdec_setup() which > needs to be called by the board file. > > This is not the case for the renesas boards so rename the > fdtdec_board_setup() function to a local name and

[PATCH] renesas: rcar: Apply ATF overlay for reserved-memory

2022-12-06 Thread Detlev Casanova
The function fdtdec_board_setup() is only called by fdtdec_setup() which needs to be called by the board file. This is not the case for the renesas boards so rename the fdtdec_board_setup() function to a local name and call it directly from ft_board_setup(), before cleaning up the memory nodes.