2015-04-21 05:00:35 +03:00
if MACH_LOONGSON32
2012-07-25 18:17:24 +04:00
choice
prompt "Machine Type"
config LOONGSON1_LS1B
bool "Loongson LS1B board"
2014-10-10 07:40:02 +04:00
select CEVT_R4K if !MIPS_EXTERNAL_TIMER
select CSRC_R4K if !MIPS_EXTERNAL_TIMER
2012-07-25 18:17:24 +04:00
select SYS_HAS_CPU_LOONGSON1B
select DMA_NONCOHERENT
select BOOT_ELF32
2015-05-26 19:20:06 +03:00
select IRQ_MIPS_CPU
2012-07-25 18:17:24 +04:00
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_SUPPORTS_HIGHMEM
2014-04-29 03:49:24 +04:00
select SYS_SUPPORTS_MIPS16
2012-07-25 18:17:24 +04:00
select SYS_HAS_EARLY_PRINTK
2014-10-10 07:40:00 +04:00
select USE_GENERIC_EARLY_PRINTK_8250
2012-10-23 09:17:00 +04:00
select COMMON_CLK
2012-07-25 18:17:24 +04:00
2016-05-19 07:29:30 +03:00
config LOONGSON1_LS1C
bool "Loongson LS1C board"
select CEVT_R4K if !MIPS_EXTERNAL_TIMER
select CSRC_R4K if !MIPS_EXTERNAL_TIMER
select SYS_HAS_CPU_LOONGSON1C
select DMA_NONCOHERENT
select BOOT_ELF32
select IRQ_MIPS_CPU
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_SUPPORTS_HIGHMEM
select SYS_SUPPORTS_MIPS16
select SYS_HAS_EARLY_PRINTK
select USE_GENERIC_EARLY_PRINTK_8250
select COMMON_CLK
2012-07-25 18:17:24 +04:00
endchoice
2014-10-10 07:40:02 +04:00
menuconfig CEVT_CSRC_LS1X
bool "Use PWM Timer for clockevent/clocksource"
select MIPS_EXTERNAL_TIMER
depends on CPU_LOONGSON1
help
This option changes the default clockevent/clocksource to PWM Timer,
and is required by Loongson1 CPUFreq support.
If unsure, say N.
choice
prompt "Select clockevent/clocksource"
depends on CEVT_CSRC_LS1X
default TIMER_USE_PWM0
config TIMER_USE_PWM0
bool "Use PWM Timer 0"
help
Use PWM Timer 0 as the default clockevent/clocksourcer.
config TIMER_USE_PWM1
bool "Use PWM Timer 1"
help
Use PWM Timer 1 as the default clockevent/clocksourcer.
config TIMER_USE_PWM2
bool "Use PWM Timer 2"
help
Use PWM Timer 2 as the default clockevent/clocksourcer.
config TIMER_USE_PWM3
bool "Use PWM Timer 3"
help
Use PWM Timer 3 as the default clockevent/clocksourcer.
endchoice
2015-04-21 05:00:35 +03:00
endif # MACH_LOONGSON32