[PATCH v3] common: fdt: Remove additional 4k space for fdt allocation

Stephen Warren swarren at wwwdotorg.org
Mon Jun 22 20:44:29 CEST 2020


On 6/18/20 2:51 AM, 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. This space
> is completely unused and just increase memory requirements. This is
> problematic on systems with limited memory resources as Xilinx Zynq
> CSE/ZynqMP mini and Versal mini configurations.
> 
> The patch is removing additional 4k space.
> 
> EFI code is using copy_fdt() which copy FDT to different location.
> And all boot commands in case of using U-Boot's FDT pointed by
> $fdtcontroladdr are copying FDT to different locations by
> image_setup_libfdt().
> That's why in proper flow none should modified DTB used by U-Boot that's
> why there is no need for additional space.

Acked-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list