Skip to content

Commit d3ecb12

Browse files
rh-jkangasstorulf
authored andcommitted
mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig
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: 5c4f006 ("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>
1 parent a9c4c90 commit d3ecb12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mmc/host/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,14 @@ config MMC_SDHCI_ESDHC_MCF
315315

316316
config MMC_SDHCI_ESDHC_IMX
317317
tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller"
318-
depends on ARCH_MXC || COMPILE_TEST
318+
depends on ARCH_MXC || ARCH_S32 || COMPILE_TEST
319319
depends on MMC_SDHCI_PLTFM
320320
depends on OF
321321
select MMC_SDHCI_IO_ACCESSORS
322322
select MMC_CQHCI
323323
help
324324
This selects the Freescale eSDHC/uSDHC controller support
325-
found on i.MX25, i.MX35 i.MX5x and i.MX6x.
325+
found on i.MX25, i.MX35, i.MX5x, i.MX6x, and S32G.
326326

327327
If you have a controller with this interface, say Y or M here.
328328

0 commit comments

Comments
 (0)