* [PATCH] serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS
@ 2021-09-15 12:49 Geert Uytterhoeven
2021-09-20 14:09 ` Niklas Söderlund
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-09-15 12:49 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby
Cc: linux-serial, linux-renesas-soc, Geert Uytterhoeven
The Emma Mobile integrated serial port hardware is only present on Emma
Mobile SoCs. Hence add a dependency on ARCH_RENESAS, to prevent asking
the user about this driver when configuring a kernel without Renesas
ARM32 SoC support.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/tty/serial/8250/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index 71ae16de0f90e06f..808268edd2e82a45 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -376,7 +376,7 @@ config SERIAL_8250_DW
config SERIAL_8250_EM
tristate "Support for Emma Mobile integrated serial port"
depends on SERIAL_8250 && HAVE_CLK
- depends on ARM || COMPILE_TEST
+ depends on (ARM && ARCH_RENESAS) || COMPILE_TEST
help
Selecting this option will add support for the integrated serial
port hardware found on the Emma Mobile line of processors.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS
2021-09-15 12:49 [PATCH] serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS Geert Uytterhoeven
@ 2021-09-20 14:09 ` Niklas Söderlund
0 siblings, 0 replies; 2+ messages in thread
From: Niklas Söderlund @ 2021-09-20 14:09 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Greg Kroah-Hartman, Jiri Slaby, linux-serial, linux-renesas-soc
Hi Geert,
Thanks for your work.
On 2021-09-15 14:49:22 +0200, Geert Uytterhoeven wrote:
> The Emma Mobile integrated serial port hardware is only present on Emma
> Mobile SoCs. Hence add a dependency on ARCH_RENESAS, to prevent asking
> the user about this driver when configuring a kernel without Renesas
> ARM32 SoC support.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> drivers/tty/serial/8250/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
> index 71ae16de0f90e06f..808268edd2e82a45 100644
> --- a/drivers/tty/serial/8250/Kconfig
> +++ b/drivers/tty/serial/8250/Kconfig
> @@ -376,7 +376,7 @@ config SERIAL_8250_DW
> config SERIAL_8250_EM
> tristate "Support for Emma Mobile integrated serial port"
> depends on SERIAL_8250 && HAVE_CLK
> - depends on ARM || COMPILE_TEST
> + depends on (ARM && ARCH_RENESAS) || COMPILE_TEST
> help
> Selecting this option will add support for the integrated serial
> port hardware found on the Emma Mobile line of processors.
> --
> 2.25.1
>
--
Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-20 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 12:49 [PATCH] serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS Geert Uytterhoeven
2021-09-20 14:09 ` Niklas Söderlund
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.