summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2019-09-13 15:14:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-09-16 09:06:18 +0200
commitf41d37ce080c24e296b10b3997a43dfa88591593 (patch)
tree18341ca093572874b71c782de3ae1629c7d9d316 /drivers/of/Makefile
parent32559cecae49998091dd5645b386ed917f5c468d (diff)
downloadbarebox-f41d37ce080c24e296b10b3997a43dfa88591593.tar.gz
barebox-f41d37ce080c24e296b10b3997a43dfa88591593.tar.xz
firmware: add support to load firmware from dt overlay
fpga-region device tree nodes have the firmware-name property that contains the file name of firmware in the firmware search path (but not the path) that shall be loaded before the overlay is applied. Add the of_firmware_load_overlay() function that accepts an overlay and a firmware search path, finds the responsible firmware_mgr and loads the firmware. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 9c6f8de814..b6847752d2 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -6,4 +6,4 @@ obj-y += partition.o
obj-y += of_net.o
obj-$(CONFIG_MTD) += of_mtd.o
obj-$(CONFIG_OF_BAREBOX_DRIVERS) += barebox.o
-obj-$(CONFIG_OF_OVERLAY) += overlay.o resolver.o
+obj-$(CONFIG_OF_OVERLAY) += overlay.o resolver.o of_firmware.o