RE: [PATCH] mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig
From: Bough Chen <haibo.chen@nxp.com>
Date: 2025-12-15 02:05:54
Also in:
imx, linux-mmc, lkml
-----Original Message----- From: Jared Kangas <redacted> Sent: 2025年12月12日 23:03 To: Ulf Hansson <redacted>; Bough Chen <haibo.chen@nxp.com>; Adrian Hunter [off-list ref]; Shawn Guo [off-list ref]; Sascha Hauer [off-list ref]; Pengutronix Kernel Team [off-list ref]; Fabio Estevam [off-list ref]; Chester Lin [off-list ref] Cc: linux-mmc@vger.kernel.org; linux-kernel@vger.kernel.org; imx@lists.linux.dev; dl-S32 [off-list ref]; linux-arm-kernel@lists.infradead.org; Jared Kangas [off-list ref] Subject: [PATCH] mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig [You don't often get email from jkangas@redhat.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] MMC_SDHCI_ESDHC_IMX requires ARCH_MXC despite also being used on ARCH_S32, which results in unmet dependencies when compiling strictly for ARCH_S32. Resolve this by adding ARCH_S32 as an alternative to ARCH_MXC in the driver's dependencies.
Reviewed-by: Haibo Chen <haibo.chen@nxp.com> Thanks Haibo
quoted hunk ↗ jump to hunk
Fixes: 5c4f00627c9a ("mmc: sdhci-esdhc-imx: add NXP S32G2 support") Signed-off-by: Jared Kangas <redacted> --- drivers/mmc/host/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index10d0ef58ef493102d3586d7a31d755543297999a..c94ae4794545de1c818ad50b e7f91331862b6acf 100644--- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig@@ -315,14 +315,14 @@ config MMC_SDHCI_ESDHC_MCF config MMC_SDHCI_ESDHC_IMX tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MXcontroller" - depends on ARCH_MXC || COMPILE_TEST + depends on ARCH_MXC || ARCH_S32 || COMPILE_TEST depends on MMC_SDHCI_PLTFM depends on OF select MMC_SDHCI_IO_ACCESSORS select MMC_CQHCI help This selects the Freescale eSDHC/uSDHC controller support - found on i.MX25, i.MX35 i.MX5x and i.MX6x. + found on i.MX25, i.MX35, i.MX5x, i.MX6x, and S32G. If you have a controller with this interface, say Y or M here. --- base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449 change-id: 20251211-s32g-sdhci-kconfig-585b6909f7b4 Best regards, -- Jared Kangas [off-list ref]