dtc: optionally add add __symbols__ to build-in devicetree
The devicetree overlay driver requires the __symbols__ node to resolve
phandles to the base devicetree. If Barebox has to apply the overlay to
the live devicetree, the build-in devicetree must be built with the
__symbols__ node.

It is configurable, because adding __symbols__ significantly increases
the size of the devicetree binary. When configuring Barebox, a developer
should be able to enable or disable devicetree overlay support and as
this only affects the build-in devicetree, which is linked to the image
anyway, use a Kconfig item for configuring the __symbols__.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4d6ff09 commit 27112f5b5541d736a560dbc9f059d879d4b354a3
@Michael Tretter Michael Tretter authored on 13 Sep 2019
Sascha Hauer committed on 16 Sep 2019
Showing 2 changed files
View
drivers/of/Kconfig
View
scripts/Makefile.lib