[PATCH 02/12] fdt: Create a new OF_REAL Kconfig

Simon Glass sjg at chromium.org
Sun Sep 26 20:40:32 CEST 2021


The condition to indicate whether there is a runtime devicetree available
is OF_CONTROL && !OF_PLATDATA. This is a bit unweidly and is repeated in
a lot of places.

Add a new OF_REAL Kconfig which provides this information directly.

Note: This is similar in effect to LIBFDT. We might consider dropping
LIBFDT and using this instead, but this is left for now as we also have
OF_LIBFDT_OVERLAY which it would not make sense to change.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 dts/Kconfig | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list