summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-10 08:54:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-18 13:54:38 +0200
commit874f318037b6941ad7261e398a03d177f3383eb1 (patch)
tree5901171cade532a2056103102a34d83ee3cc5114 /drivers/of/Makefile
parentda6c4b21a856139b709e466823e4e6ccaf5e195b (diff)
downloadbarebox-874f318037b6941ad7261e398a03d177f3383eb1.tar.gz
barebox-874f318037b6941ad7261e398a03d177f3383eb1.tar.xz
Add configurability via devicetree
This adds the possibility to configure the place for the environment from the devicetree and to partition devices from the devicetree. Configuration has the general form of devices with a regular compatible property. This allows to later add additional drivers or drivers with different behaviour (for example to add support for redundant environment). The configuration is all in the /chosen/barebox/ hierarchy of the devicetree. This separates the configuration from the hardware description. Also it makes it possible to store the configuration in a completely separate devicetree (or devicetree overlay). For the same reason all configuration is done using nodepathes rather than phandles. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index e7d07334b0..97fea9d419 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -3,3 +3,4 @@ obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o
obj-$(CONFIG_GPIOLIB) += of_gpio.o
obj-y += partition.o
obj-y += of_net.o
+obj-$(CONFIG_OF_BAREBOX_DRIVERS) += barebox.o of_path.o