diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2019-09-13 15:14:43 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-16 09:06:18 +0200 |
commit | f41d37ce080c24e296b10b3997a43dfa88591593 (patch) | |
tree | 18341ca093572874b71c782de3ae1629c7d9d316 /drivers/of/Makefile | |
parent | 32559cecae49998091dd5645b386ed917f5c468d (diff) | |
download | barebox-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/Makefile | 2 |
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 |