ARM: imx_v6_v7_defconfig: Remove firmware loader helper
authorFabio Estevam <festevam@gmail.com>
Tue, 18 Apr 2023 13:10:30 +0000 (10:10 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 14 May 2023 03:15:09 +0000 (11:15 +0800)
commit2b4e22a2b9e2c7f94f53ecd8cc78a37605dc387f
tree6704777dc56720ed7c2b747d218d695381b3376d
parentac9a78681b921877518763ba0e89202254349d1b
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.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/configs/imx_v6_v7_defconfig