[PATCH] mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig

Ulf Hansson ulf.hansson at linaro.org
Wed Dec 17 05:45:17 PST 2025


On Fri, 12 Dec 2025 at 16:04, Jared Kangas <jkangas at redhat.com> wrote:
>
> 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")
> Signed-off-by: Jared Kangas <jkangas at redhat.com>

Applied for fixes and by adding a stable-tag, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 10d0ef58ef493102d3586d7a31d755543297999a..c94ae4794545de1c818ad50be7f91331862b6acf 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.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.
>
>
> ---
> base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
> change-id: 20251211-s32g-sdhci-kconfig-585b6909f7b4
>
> Best regards,
> --
> Jared Kangas <jkangas at redhat.com>
>



More information about the linux-arm-kernel mailing list