summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-18 10:44:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-18 16:26:43 +0200
commitc4f3b2862790d370f5e0db26fd506d3ab47d2e9a (patch)
treee3c6643c74cef2404c75c1ae727f87d7f993c9ee /Documentation/devicetree
parent85df5403d69fd33e3b262690a61286aed1c22209 (diff)
downloadbarebox-c4f3b2862790d370f5e0db26fd506d3ab47d2e9a.tar.gz
barebox-c4f3b2862790d370f5e0db26fd506d3ab47d2e9a.tar.xz
Documentation: devicetree: hint at libfdt being available
Since 7e5a875fff7d ("Compile libfdt for barebox"), we now also have libfdt for operating on flattened device trees out of the PBL. Document this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/index.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/devicetree/index.rst b/Documentation/devicetree/index.rst
index 908652642b..70ff9bc74a 100644
--- a/Documentation/devicetree/index.rst
+++ b/Documentation/devicetree/index.rst
@@ -3,9 +3,11 @@ Barebox devicetree handling and bindings
The preferred way of adding board support to barebox is to have devices
on non-enumerable buses probed from device tree.
-barebox imports the Linux OpenFirmware ``of_*``-API functions for device tree
-parsing, which makes porting the device tree specific bits from device drivers
-very straight forward.
+barebox provide both the Linux OpenFirmware ``of_*`` and the libfdt ``fdt_`` APIs
+for device tree parsing. The former makes porting the device tree specific
+bits from Linux device drivers very straight forward, while the latter can be
+used for very early (PBL) handling of flattened device trees, should this be
+necessary.
Additionally, barebox has support for programmatically fixing up device trees
it passes to the kernel, either directly via ``of_register_fixup`` or via device