[PATCH] event: add an event for livetree fixups

Tom Rini trini at konsulko.com
Fri Apr 12 21:45:10 CEST 2024


On Fri, Apr 12, 2024 at 08:04:02PM +0100, Caleb Connolly wrote:

> Introduce a new EVT_OF_LIVE event to allow for the livetree to be
> modified before dm_init_and_scan(). Boards can perform fixups here to
> handle incompatibilities between U-Boot drivers and upstream DT.
> 
> This will be used by Qualcomm platforms in future patches to enable
> setting the dr_mode property if the board doesn't provide one. This has to be
> set before dm_init_and_scan() is called as this property effects the binding of
> drivers.

This doesn't quite explain why the answer isn't "fix the device tree
source" and instead "perform a live fixup". Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240412/0c070738/attachment.sig>


More information about the U-Boot mailing list