[PATCH v8 30/32] fdt: Makefile: Ensure that OF_BOARD is used when needed

Tom Rini trini at konsulko.com
Fri Dec 24 15:34:53 CET 2021


On Thu, Dec 16, 2021 at 08:59:37PM -0700, Simon Glass wrote:

> Boards which define OF_HAS_PRIOR_STAGE must define OF_BOARD at present,
> since a custom function is the only way to obtain the devicetree at
> runtime.
> 
> Add a build error when this requirement is not met, to avoid accepting
> any patches which break this requirement.
> 
> Add an allowlist for boards which use it, currently none. This allowlist
> can be updated for local development, if needed.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> [trini: change of_whitelist to of_allowlist]
> Signed-off-by: Tom Rini <trini at konsulko.com>

(My changes for the email record, the rest of the series was taken
as-is)
Applied to u-boot/next, 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/20211224/3b3a1e37/attachment.sig>


More information about the U-Boot mailing list