0001-smarc-imx8m-compile-imx-sdma-driver-as-module.patch 1.07 KB
From: Eric Lee <eric.lee@embedian.com>
Date: Tue, 07 May 2019 17:56:12 +0100
Subject: [PATCH 1/2] smarc-imx8m: compile imx-sdma driver as module

Starting from udev 217, kernel setting CONFIG_FW_LOADER_USER_HELPER
should be set to =n, because the userspace firmware loader has been
removed.
Yocto is avoiding the problem by reverting related patches in udev.
The easy way to avoid problems is compiling as modules all drivers
requiring firmware loaded from the filesystem.
This will help with Debian filesystems where udev is not patched.
---
 arch/arm64/configs/imx8_var_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/configs/smarcimx8m_defconfig b/arch/arm64/configs/smarcimx8m_defconfig
index 8b5c19e..f147a21 100644
--- a/arch/arm64/configs/smarcimx8m_defconfig
+++ b/arch/arm64/configs/smarcimx8m_defconfig
@@ -4966,7 +4966,7 @@ CONFIG_DMA_BCM2835=m
 # CONFIG_DMA_SUN6I is not set
 # CONFIG_FSL_EDMA is not set
 CONFIG_FSL_EDMA_V3=y
-CONFIG_IMX_SDMA=y
+CONFIG_IMX_SDMA=m
 # CONFIG_INTEL_IDMA64 is not set
 CONFIG_K3_DMA=y
 # CONFIG_MV_XOR is not set