xref: /linux/arch/mips/loongson64/Kconfig (revision 1bdb7b76)
1# SPDX-License-Identifier: GPL-2.0
2if MACH_LOONGSON64
3
4choice
5	prompt "Machine Type"
6
7config LOONGSON_MACH3X
8	bool "Generic Loongson 3 family machines"
9	select ARCH_SPARSEMEM_ENABLE
10	select ARCH_MIGHT_HAVE_PC_PARPORT
11	select ARCH_MIGHT_HAVE_PC_SERIO
12	select GENERIC_ISA_DMA_SUPPORT_BROKEN
13	select BOOT_ELF32
14	select BOARD_SCACHE
15	select CSRC_R4K
16	select CEVT_R4K
17	select CPU_HAS_WB
18	select FORCE_PCI
19	select ISA
20	select I8259
21	select IRQ_MIPS_CPU
22	select NR_CPUS_DEFAULT_4
23	select USE_GENERIC_EARLY_PRINTK_8250
24	select SYS_HAS_CPU_LOONGSON64
25	select SYS_HAS_EARLY_PRINTK
26	select SYS_SUPPORTS_SMP
27	select SYS_SUPPORTS_HOTPLUG_CPU
28	select SYS_SUPPORTS_NUMA
29	select SYS_SUPPORTS_64BIT_KERNEL
30	select SYS_SUPPORTS_HIGHMEM
31	select SYS_SUPPORTS_LITTLE_ENDIAN
32	select LOONGSON_MC146818
33	select ZONE_DMA32
34	select NUMA
35	help
36		Generic Loongson 3 family machines utilize the 3A/3B revision
37		of Loongson processor and RS780/SBX00 chipset.
38endchoice
39
40config RS780_HPET
41	bool "RS780/SBX00 HPET Timer"
42	depends on LOONGSON_MACH3X
43	select MIPS_EXTERNAL_TIMER
44	help
45	  This option enables the hpet timer of AMD RS780/SBX00.
46
47	  If you want to enable the Loongson3 CPUFreq Driver, Please enable
48	  this option at first, otherwise, You will get wrong system time.
49
50	  If unsure, say Yes.
51
52
53config LOONGSON_MC146818
54	bool
55	default n
56
57endif # MACH_LOONGSON64
58