dmaengine: imx-sdma: Add MODULE_FIRMWARE
Quoted 2 lines · Nicolas Chauvet
This avoid the following error when using an initramfs on wandboard quad Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
Are you sure this fixes with latest kernel as the firmware in kernel has been removed with commit 5620a0d1aacd: ("firmware: delete in-kernel firmware")
Quoted 23 lines
Signed-off-by Nicolas Chauvet <[email protected]>--- drivers/dma/imx-sdma.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/dma/imx-sdma.c +6
-0@@ -1939,4 +1939,10 @@ module_platform_driver(sdma_driver);MODULE_AUTHOR ("Sascha Hauer, Pengutronix <[email protected]>" );MODULE_DESCRIPTION ("i.MX SDMA driver" ); +#if IS_ENABLED (CONFIG_SOC_IMX6Q ) +MODULE_FIRMWARE ("imx/sdma/sdma-imx6q.bin" ); +#endif +#if IS_ENABLED (CONFIG_SOC_IMX7D ) +MODULE_FIRMWARE ("imx/sdma/sdma-imx7d.bin" ); +#endif MODULE_LICENSE ("GPL" );Signature · 1 line
2.13.6