Skip to content

Commit 502c6b9

Browse files
Rongronggg9gregkh
authored andcommitted
serial: 8250: loongson: Enable building on MIPS Loongson64
Loongson 3A4000 is a MIPS-based Loongson64 CPU which also supports 8250_loongson (loongson-uart). Enable building on MIPS Loongson64 so that Loongson 3A4000 can benefit from it. Signed-off-by: Rong Zhang <rongrong@oss.cipunited.com> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Link: https://patch.msgid.link/20260315184301.412844-3-rongrong@oss.cipunited.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 17fb51a commit 502c6b9

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

drivers/tty/serial/8250/Kconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,12 @@ config SERIAL_8250_OMAP_TTYO_FIXUP
465465
config SERIAL_8250_LOONGSON
466466
tristate "Loongson 8250 based serial port"
467467
depends on SERIAL_8250
468-
depends on LOONGARCH || COMPILE_TEST
468+
depends on LOONGARCH || MACH_LOONGSON64 || COMPILE_TEST
469469
help
470-
If you have a machine based on LoongArch CPU you can enable
471-
its onboard serial ports by enabling this option. The option
472-
is applicable to both devicetree and ACPI, say Y to this option.
470+
If you have a machine based on LoongArch CPU or MIPS-based Loongson
471+
3A4000 CPU you can enable its onboard serial ports by enabling this
472+
option. The option is applicable to both devicetree and ACPI, say Y
473+
to enable this option.
473474
If unsure, say N.
474475

475476
config SERIAL_8250_LPC18XX

0 commit comments

Comments
 (0)