xref: /openbmc/linux/arch/mips/loongson32/Kconfig (revision 9e130e2b)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
230ad29bbSHuacai Chenif MACH_LOONGSON32
330ad29bbSHuacai Chen
430ad29bbSHuacai Chenchoice
530ad29bbSHuacai Chen	prompt "Machine Type"
630ad29bbSHuacai Chen
730ad29bbSHuacai Chenconfig LOONGSON1_LS1B
830ad29bbSHuacai Chen	bool "Loongson LS1B board"
930ad29bbSHuacai Chen	select CEVT_R4K if !MIPS_EXTERNAL_TIMER
1030ad29bbSHuacai Chen	select CSRC_R4K if !MIPS_EXTERNAL_TIMER
1130ad29bbSHuacai Chen	select SYS_HAS_CPU_LOONGSON1B
12d6c2fba5SPaul Burton	select DMA_NONCOHERENT
13d6c2fba5SPaul Burton	select BOOT_ELF32
14d6c2fba5SPaul Burton	select IRQ_MIPS_CPU
15d6c2fba5SPaul Burton	select SYS_SUPPORTS_32BIT_KERNEL
16d6c2fba5SPaul Burton	select SYS_SUPPORTS_LITTLE_ENDIAN
17d6c2fba5SPaul Burton	select SYS_SUPPORTS_HIGHMEM
1830ad29bbSHuacai Chen	select SYS_HAS_EARLY_PRINTK
1930ad29bbSHuacai Chen	select USE_GENERIC_EARLY_PRINTK_8250
2030ad29bbSHuacai Chen	select COMMON_CLK
2130ad29bbSHuacai Chen
2212e3280bSYang Lingconfig LOONGSON1_LS1C
2312e3280bSYang Ling	bool "Loongson LS1C board"
2412e3280bSYang Ling	select CEVT_R4K if !MIPS_EXTERNAL_TIMER
2512e3280bSYang Ling	select CSRC_R4K if !MIPS_EXTERNAL_TIMER
26d6c2fba5SPaul Burton	select SYS_HAS_CPU_LOONGSON1C
27d6c2fba5SPaul Burton	select DMA_NONCOHERENT
28d6c2fba5SPaul Burton	select BOOT_ELF32
29d6c2fba5SPaul Burton	select IRQ_MIPS_CPU
30d6c2fba5SPaul Burton	select SYS_SUPPORTS_32BIT_KERNEL
31d6c2fba5SPaul Burton	select SYS_SUPPORTS_LITTLE_ENDIAN
32d6c2fba5SPaul Burton	select SYS_SUPPORTS_HIGHMEM
3312e3280bSYang Ling	select SYS_HAS_EARLY_PRINTK
3412e3280bSYang Ling	select USE_GENERIC_EARLY_PRINTK_8250
3512e3280bSYang Ling	select COMMON_CLK
3630ad29bbSHuacai Chenendchoice
3730ad29bbSHuacai Chen
3830ad29bbSHuacai Chenendif # MACH_LOONGSON32
39