License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / mips / loongson32 / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
30ad29bb 2if MACH_LOONGSON32
ca585cf9
KC
3
4choice
5 prompt "Machine Type"
6
7config LOONGSON1_LS1B
8 bool "Loongson LS1B board"
c5d58e9e
KC
9 select CEVT_R4K if !MIPS_EXTERNAL_TIMER
10 select CSRC_R4K if !MIPS_EXTERNAL_TIMER
ca585cf9
KC
11 select SYS_HAS_CPU_LOONGSON1B
12 select DMA_NONCOHERENT
13 select BOOT_ELF32
67e38cf2 14 select IRQ_MIPS_CPU
ca585cf9
KC
15 select SYS_SUPPORTS_32BIT_KERNEL
16 select SYS_SUPPORTS_LITTLE_ENDIAN
17 select SYS_SUPPORTS_HIGHMEM
377cb1b6 18 select SYS_SUPPORTS_MIPS16
ca585cf9 19 select SYS_HAS_EARLY_PRINTK
813c1410 20 select USE_GENERIC_EARLY_PRINTK_8250
17ded0a8 21 select COMMON_CLK
ca585cf9 22
12e3280b
YL
23config LOONGSON1_LS1C
24 bool "Loongson LS1C board"
25 select CEVT_R4K if !MIPS_EXTERNAL_TIMER
26 select CSRC_R4K if !MIPS_EXTERNAL_TIMER
27 select SYS_HAS_CPU_LOONGSON1C
28 select DMA_NONCOHERENT
29 select BOOT_ELF32
30 select IRQ_MIPS_CPU
31 select SYS_SUPPORTS_32BIT_KERNEL
32 select SYS_SUPPORTS_LITTLE_ENDIAN
33 select SYS_SUPPORTS_HIGHMEM
34 select SYS_SUPPORTS_MIPS16
35 select SYS_HAS_EARLY_PRINTK
36 select USE_GENERIC_EARLY_PRINTK_8250
37 select COMMON_CLK
ca585cf9
KC
38endchoice
39
c5d58e9e
KC
40menuconfig CEVT_CSRC_LS1X
41 bool "Use PWM Timer for clockevent/clocksource"
42 select MIPS_EXTERNAL_TIMER
43 depends on CPU_LOONGSON1
44 help
45 This option changes the default clockevent/clocksource to PWM Timer,
46 and is required by Loongson1 CPUFreq support.
47
48 If unsure, say N.
49
50choice
51 prompt "Select clockevent/clocksource"
52 depends on CEVT_CSRC_LS1X
53 default TIMER_USE_PWM0
54
55config TIMER_USE_PWM0
56 bool "Use PWM Timer 0"
57 help
58 Use PWM Timer 0 as the default clockevent/clocksourcer.
59
60config TIMER_USE_PWM1
61 bool "Use PWM Timer 1"
62 help
63 Use PWM Timer 1 as the default clockevent/clocksourcer.
64
65config TIMER_USE_PWM2
66 bool "Use PWM Timer 2"
67 help
68 Use PWM Timer 2 as the default clockevent/clocksourcer.
69
70config TIMER_USE_PWM3
71 bool "Use PWM Timer 3"
72 help
73 Use PWM Timer 3 as the default clockevent/clocksourcer.
74
75endchoice
76
30ad29bb 77endif # MACH_LOONGSON32