Skip to contentSkip to conversation

ARM: imx_v6_v7_defconfig: Remove firmware loader helper

PATCH New Fabio Estevam 1 participant 1 message Apr 18, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: imx_v6_v7_defconfig: Remove firmware loader helper

Testing on a imx6dl board with a QCA9377 SDIO Wifi chip shows that the QCA9377 firmware takes more than three minutes to start getting loaded, which is a very inconvenient behavior.

CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK were selected by commit 30fdd51be161 ("ARM: imx_v6_v7_defconfig:
add CONFIG_FW_LOADER_USER_HELPER")

By removing the CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK options the QCA9377 firmware is loaded around 10 seconds after boot, which is the expected behavior.

The motivation for commit 30fdd51be161 ("ARM: imx_v6_v7_defconfig:
add CONFIG_FW_LOADER_USER_HELPER") was related to loading the SDMA firmware,and at the time of that commit, the SDMA driver was loaded as built-in.

Now that the SDMA driver is selected as a kernel module, its firmware can be successfully loaded as well without the need of CONFIG_FW_LOADER_USER_HELPER and CONFIG_FW_LOADER_USER_HELPER_FALLBACK.

Remove the selection of these two options.

Also, successfully tested the loading of the VPU firmware without these options.

---
 arch/arm/configs/imx_v6_v7_defconfig | 2 --
 1 file changed, 2 deletions(-)
arch/arm/configs/imx_v6_v7_defconfig +0 -2
index 4de293da4789..63042f8f1e17 100644
@@ -80,8 +80,6 @@ CONFIG_PCI_IMX6_HOST=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_STANDALONE is not set
-CONFIG_FW_LOADER_USER_HELPER=y
-CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_IMX_WEIM=y
 CONFIG_CONNECTOR=y
 CONFIG_MTD=y
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel