]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig
authorJared Kangas <jkangas@redhat.com>
Fri, 12 Dec 2025 15:03:17 +0000 (07:03 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:46 +0000 (13:09 +0100)
commit d3ecb12e2e04ce53c95f933c462f2d8b150b965b upstream.

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.

Fixes: 5c4f00627c9a ("mmc: sdhci-esdhc-imx: add NXP S32G2 support")
Cc: stable@bvger.kernel.org
Signed-off-by: Jared Kangas <jkangas@redhat.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/Kconfig

index 0061eeec220bcf80d3f0c059d1dd0709095f44b6..a79dc4e95dcf506cb0703c152918b5b860dd17c7 100644 (file)
@@ -276,14 +276,14 @@ config MMC_SDHCI_ESDHC_MCF
 
 config MMC_SDHCI_ESDHC_IMX
        tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
-       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.