diff options
| author | Raymond Mao <[email protected]> | 2025-07-18 07:16:18 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-27 09:42:36 -0600 |
| commit | b70cbbfbf94fdb50367a0884a9c44770b4c3bddc (patch) | |
| tree | 8eaa0fd61aa23a66877911c2c14c50937de4f859 /doc/develop | |
| parent | 25baace94298bbe50a91f7b1b7470bf0eb5688fa (diff) | |
fdtdec: apply DT overlays from bloblist
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Tested-by: Michal Simek <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
