linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mmc: jz4740: Drop dependency on MACH_JZ4740/80
@ 2018-08-21 13:03 Paul Cercueil
  2018-08-22  9:48 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2018-08-21 13:03 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: od, linux-mmc, linux-kernel, Paul Cercueil

Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic
kernel that works on more than one MIPS board. Instead, we just depend on
MIPS being set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 0581c199c996..71d9bdc52422 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -761,7 +761,7 @@ config MMC_SH_MMCIF
 
 config MMC_JZ4740
 	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
-	depends on MACH_JZ4740 || MACH_JZ4780
+	depends on MIPS
 	help
 	  This selects support for the SD/MMC controller on Ingenic
 	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: jz4740: Drop dependency on MACH_JZ4740/80
  2018-08-21 13:03 [PATCH] mmc: jz4740: Drop dependency on MACH_JZ4740/80 Paul Cercueil
@ 2018-08-22  9:48 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2018-08-22  9:48 UTC (permalink / raw)
  To: Paul Cercueil; +Cc: od, linux-mmc, Linux Kernel Mailing List

On 21 August 2018 at 15:03, Paul Cercueil <paul@crapouillou.net> wrote:
> Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic
> kernel that works on more than one MIPS board. Instead, we just depend on
> MIPS being set.
>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Thanks, queued for v4.20!

Kind regards
Uffe

> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 0581c199c996..71d9bdc52422 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -761,7 +761,7 @@ config MMC_SH_MMCIF
>
>  config MMC_JZ4740
>         tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
> -       depends on MACH_JZ4740 || MACH_JZ4780
> +       depends on MIPS
>         help
>           This selects support for the SD/MMC controller on Ingenic
>           JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
> --
> 2.11.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-22  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 13:03 [PATCH] mmc: jz4740: Drop dependency on MACH_JZ4740/80 Paul Cercueil
2018-08-22  9:48 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).