[v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER

Message ID 1533579655-5498-1-git-send-email-yibin.gong@nxp.com
State New
Headers show
Series
  • [v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER
Related show

Commit Message

Robin Gong Aug. 6, 2018, 6:20 p.m.
To support loading sdma firmware automatically from rootfs, enable
CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
Please get sdma firmware from below link and put it into
rootfs entry -- /lib/firmware/imx/sdma/:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shawn Guo Aug. 27, 2018, 2:20 a.m. | #1
On Tue, Aug 07, 2018 at 02:20:55AM +0800, Robin Gong wrote:
> To support loading sdma firmware automatically from rootfs, enable
> CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
> Please get sdma firmware from below link and put it into
> rootfs entry -- /lib/firmware/imx/sdma/:
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma
> 
> Signed-off-by: Robin Gong <yibin.gong@nxp.com>

Changed subject prefix like 'ARM: imx_v6_v7_defconfig: ...', and applied
the patch.

Shawn

Patch

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index e2c1276..5e35d7e2 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -90,6 +90,8 @@  CONFIG_RFKILL_INPUT=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_CMA_SIZE_MBYTES=64
 CONFIG_IMX_WEIM=y
 CONFIG_CONNECTOR=y