Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. if MACH_LOONGSON32
  2. choice
  3. prompt "Machine Type"
  4. config LOONGSON1_LS1B
  5. bool "Loongson LS1B board"
  6. select CEVT_R4K if !MIPS_EXTERNAL_TIMER
  7. select CSRC_R4K if !MIPS_EXTERNAL_TIMER
  8. select SYS_HAS_CPU_LOONGSON1B
  9. select DMA_NONCOHERENT
  10. select BOOT_ELF32
  11. select IRQ_MIPS_CPU
  12. select SYS_SUPPORTS_32BIT_KERNEL
  13. select SYS_SUPPORTS_LITTLE_ENDIAN
  14. select SYS_SUPPORTS_HIGHMEM
  15. select SYS_SUPPORTS_MIPS16
  16. select SYS_HAS_EARLY_PRINTK
  17. select USE_GENERIC_EARLY_PRINTK_8250
  18. select COMMON_CLK
  19. endchoice
  20. menuconfig CEVT_CSRC_LS1X
  21. bool "Use PWM Timer for clockevent/clocksource"
  22. select MIPS_EXTERNAL_TIMER
  23. depends on CPU_LOONGSON1
  24. help
  25. This option changes the default clockevent/clocksource to PWM Timer,
  26. and is required by Loongson1 CPUFreq support.
  27. If unsure, say N.
  28. choice
  29. prompt "Select clockevent/clocksource"
  30. depends on CEVT_CSRC_LS1X
  31. default TIMER_USE_PWM0
  32. config TIMER_USE_PWM0
  33. bool "Use PWM Timer 0"
  34. help
  35. Use PWM Timer 0 as the default clockevent/clocksourcer.
  36. config TIMER_USE_PWM1
  37. bool "Use PWM Timer 1"
  38. help
  39. Use PWM Timer 1 as the default clockevent/clocksourcer.
  40. config TIMER_USE_PWM2
  41. bool "Use PWM Timer 2"
  42. help
  43. Use PWM Timer 2 as the default clockevent/clocksourcer.
  44. config TIMER_USE_PWM3
  45. bool "Use PWM Timer 3"
  46. help
  47. Use PWM Timer 3 as the default clockevent/clocksourcer.
  48. endchoice
  49. endif # MACH_LOONGSON32