[PATCH v3 5/6] fdtdec: apply DT overlays from bloblist
Tom Rini
trini at konsulko.com
Tue Apr 21 17:04:06 CEST 2026
On Fri, Jul 18, 2025 at 07:16:18AM -0700, Raymond Mao wrote:
> During FDT setup, apply all existing DT overlays from the bloblist
> to the base FDT if bloblist is being used for handoff from previous
> boot stage.
> According to the Firmware Handoff spec update to support DT overlay [1],
> an overlay must have the same top-level compatible string as its target
> base DT has.
> Before applying the overlays, check whether sufficient space is
> reserved in the base DT blob, if not, resize the blob to the allowed
> padded size, which is limited by CONFIG_SYS_FDT_PAD and the bloblist
> spare space size.
> After all overlays are applied, resize the merged DT to its actual size.
>
> [1] Add Transfer Entry for Devicetree Overlay
> https://github.com/FirmwareHandoff/firmware_handoff/pull/74
>
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260421/d87ab747/attachment.sig>
More information about the U-Boot
mailing list