dgibson / dtc

Device Tree Compiler
215 stars 127 forks source link

dtc: Add an option to generate __local_fixups__ and __fixups__ #100

Closed ukleinek closed 1 year ago

ukleinek commented 1 year ago

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.

This patch was also sent to the devicetree-compiler ML and corresponds to v3 with Message-Id: 20230523080941.419330-1-u.kleine-koenig@pengutronix.de. Copied it to here to benefit from the ci tests and maybe make it easier to merge.