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>
1 parent 32559ce commit f41d37ce080c24e296b10b3997a43dfa88591593
@Michael Tretter Michael Tretter authored on 13 Sep 2019
Sascha Hauer committed on 16 Sep 2019
Showing 3 changed files
View
drivers/of/Makefile
View
drivers/of/of_firmware.c 0 → 100644
View
include/of.h