[PATCH v2] common: fdt: Remove additional 4k space for fdt allocation
Michal Simek
michal.simek at xilinx.com
Thu Jun 11 14:07:07 CEST 2020
On 11. 06. 20 13:24, Marek Vasut wrote:
> On 6/11/20 1:10 PM, Michal Simek wrote:
>> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>>
>> There is no technical reason to add additional 4k space for FDT.
>
> Could it be that this is needed for adjusting the FDT early on ?
>
It really depends how early. fdt_totalsize is called in reserve_fdt().
It means if this is done before then you are working with already
updated size and there is no need to add any space.
And switch/copy is done by reloc_fdt from board_f.c.
And in your case it is really question if 4k additional is enough.
Because you can have a need to use more then 4k.
Thanks,
Michal
More information about the U-Boot
mailing list