aboutsummaryrefslogtreecommitdiff
path: root/Documentation/manual.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-05-23 10:09:41 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2023-05-26 21:11:32 +1000
commit589d8c7653c75d789c6e47d69a4f5bb089aecd5a (patch)
tree04c6e5db5c79b240075920cde0cf927b72986cf8 /Documentation/manual.txt
parente8364666d5acc985c434fb574e92c5206d9a8d6b (diff)
downloaddtc-589d8c7653c75d789c6e47d69a4f5bb089aecd5a.zip
dtc-589d8c7653c75d789c6e47d69a4f5bb089aecd5a.tar.gz
dtc-589d8c7653c75d789c6e47d69a4f5bb089aecd5a.tar.bz2
dtc: Add an option to generate __local_fixups__ and __fixups__
This records detailed usage of labels in a dtb. This is needed in overlays (and enabled implicitly for these). For ordinary device trees it can be used to restore labels when compiling back to dts format. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Message-Id: <20230523080941.419330-1-u.kleine-koenig@pengutronix.de> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Documentation/manual.txt')
-rw-r--r--Documentation/manual.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/manual.txt b/Documentation/manual.txt
index 15a7837..598c6e6 100644
--- a/Documentation/manual.txt
+++ b/Documentation/manual.txt
@@ -126,6 +126,20 @@ Options:
property for each label. The property's name is the label name and the
value is the path of the labeled node.
+ -L
+ Possibly generates a __local_fixups__ and a __fixups__ node at the root node.
+ For each property that contains a phandle reference using a locally
+ defined phandle, the __local_fixups__ node contains a property (at path
+ /__local_fixups__/$a if $a is the path of the node). Its value is a list
+ of offsets that are phandle values. If there are no such properties, no
+ __local_fixups__ node is generated.
+ For each undefined label used in at least one reference, the __fixups__
+ node contains a property. Its name is the label name, its value is a
+ list of locations where the label is used in a reference in the format
+ "path:property:offset". If there is no undefined label, no __fixups__
+ nodes is generated.
+ Enabled by default for compiling overlays (i.e. dts files with a
+ /plugin/ tag).
-A
Generate automatically aliases for all node labels. This is similar to