serial: 8250: Add hardware dependency to RT288X option

Kconfig option SERIAL_8250_RT288X seems to be only relevant on MIPS
platforms, so do not present it on other architectures, unless
build-testing.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Mans Rullgard <[email protected]>
Cc: Jiri Slaby <[email protected]>
Acked-by: John Crispin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Jean Delvare 2016-02-22 09:00:39 +01:00 • committed by Greg Kroah-Hartman
commit 8d2acdb9fc

View file

@ -319,6 +319,7 @@ config SERIAL_8250_EM
config SERIAL_8250_RT288X
bool "Ralink RT288x/RT305x/RT3662/RT3883 serial port support"
depends on SERIAL_8250
depends on MIPS || COMPILE_TEST
default y if MIPS_ALCHEMY || SOC_RT288X || SOC_RT305X || SOC_RT3883 || SOC_MT7620
help
Selecting this option will add support for the alternate register