Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. config LOONGSON1_LS1C
  20. bool "Loongson LS1C board"
  21. select CEVT_R4K if !MIPS_EXTERNAL_TIMER
  22. select CSRC_R4K if !MIPS_EXTERNAL_TIMER
  23. select SYS_HAS_CPU_LOONGSON1C
  24. select DMA_NONCOHERENT
  25. select BOOT_ELF32
  26. select IRQ_MIPS_CPU
  27. select SYS_SUPPORTS_32BIT_KERNEL
  28. select SYS_SUPPORTS_LITTLE_ENDIAN
  29. select SYS_SUPPORTS_HIGHMEM
  30. select SYS_SUPPORTS_MIPS16
  31. select SYS_HAS_EARLY_PRINTK
  32. select USE_GENERIC_EARLY_PRINTK_8250
  33. select COMMON_CLK
  34. endchoice
  35. menuconfig CEVT_CSRC_LS1X
  36. bool "Use PWM Timer for clockevent/clocksource"
  37. select MIPS_EXTERNAL_TIMER
  38. depends on CPU_LOONGSON1
  39. help
  40. This option changes the default clockevent/clocksource to PWM Timer,
  41. and is required by Loongson1 CPUFreq support.
  42. If unsure, say N.
  43. choice
  44. prompt "Select clockevent/clocksource"
  45. depends on CEVT_CSRC_LS1X
  46. default TIMER_USE_PWM0
  47. config TIMER_USE_PWM0
  48. bool "Use PWM Timer 0"
  49. help
  50. Use PWM Timer 0 as the default clockevent/clocksourcer.
  51. config TIMER_USE_PWM1
  52. bool "Use PWM Timer 1"
  53. help
  54. Use PWM Timer 1 as the default clockevent/clocksourcer.
  55. config TIMER_USE_PWM2
  56. bool "Use PWM Timer 2"
  57. help
  58. Use PWM Timer 2 as the default clockevent/clocksourcer.
  59. config TIMER_USE_PWM3
  60. bool "Use PWM Timer 3"
  61. help
  62. Use PWM Timer 3 as the default clockevent/clocksourcer.
  63. endchoice
  64. endif # MACH_LOONGSON32