of: add support for devicetree overlays
The devicetree overlay support is based on the Linux driver for device
tree overlays, but many features that are not required in Barebox are
left out.

Unlike Linux, which applies the overlay to the live devicetree, Barebox
registers a fixup for the overlay which is applied with other fixups to
whatever tree is fixed. This is necessary to apply the overlay to
devicetrees that are passed to Linux, which might differ from the
devicetree that is currently live in Barebox.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fd72834 commit bbd241efa5ae048cd7a96c5b232e729b9180e6f2
@Michael Tretter Michael Tretter authored on 13 Sep 2019
Sascha Hauer committed on 16 Sep 2019
Showing 5 changed files
View
drivers/of/Kconfig
View
drivers/of/Makefile
View
drivers/of/overlay.c 0 → 100644
View
drivers/of/resolver.c 0 → 100644
View
include/of.h