Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. choice
  2. prompt "Machine Type"
  3. depends on MACH_LOONGSON
  4. config LEMOTE_FULOONG2E
  5. bool "Lemote Fuloong(2e) mini-PC"
  6. select ARCH_SPARSEMEM_ENABLE
  7. select CEVT_R4K
  8. select CSRC_R4K
  9. select SYS_HAS_CPU_LOONGSON2E
  10. select DMA_NONCOHERENT
  11. select BOOT_ELF32
  12. select BOARD_SCACHE
  13. select HW_HAS_PCI
  14. select I8259
  15. select ISA
  16. select IRQ_CPU
  17. select SYS_SUPPORTS_32BIT_KERNEL
  18. select SYS_SUPPORTS_64BIT_KERNEL
  19. select SYS_SUPPORTS_LITTLE_ENDIAN
  20. select SYS_SUPPORTS_HIGHMEM
  21. select SYS_HAS_EARLY_PRINTK
  22. select GENERIC_HARDIRQS_NO__DO_IRQ
  23. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  24. select CPU_HAS_WB
  25. select LOONGSON_MC146818
  26. help
  27. Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
  28. an FPGA northbridge
  29. Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
  30. config LEMOTE_MACH2F
  31. bool "Lemote Loongson 2F family machines"
  32. select ARCH_SPARSEMEM_ENABLE
  33. select BOARD_SCACHE
  34. select BOOT_ELF32
  35. select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
  36. select CPU_HAS_WB
  37. select CS5536
  38. select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
  39. select DMA_NONCOHERENT
  40. select GENERIC_HARDIRQS_NO__DO_IRQ
  41. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  42. select HW_HAS_PCI
  43. select I8259
  44. select IRQ_CPU
  45. select ISA
  46. select SYS_HAS_CPU_LOONGSON2F
  47. select SYS_HAS_EARLY_PRINTK
  48. select SYS_SUPPORTS_32BIT_KERNEL
  49. select SYS_SUPPORTS_64BIT_KERNEL
  50. select SYS_SUPPORTS_HIGHMEM
  51. select SYS_SUPPORTS_LITTLE_ENDIAN
  52. select LOONGSON_MC146818
  53. help
  54. Lemote Loongson 2F family machines utilize the 2F revision of
  55. Loongson processor and the AMD CS5536 south bridge.
  56. These family machines include fuloong2f mini PC, yeeloong2f notebook,
  57. LingLoong allinone PC and so forth.
  58. endchoice
  59. config CS5536
  60. bool
  61. config CS5536_MFGPT
  62. bool "CS5536 MFGPT Timer"
  63. depends on CS5536
  64. select MIPS_EXTERNAL_TIMER
  65. help
  66. This option enables the mfgpt0 timer of AMD CS5536.
  67. If you want to enable the Loongson2 CPUFreq Driver, Please enable
  68. this option at first, otherwise, You will get wrong system time.
  69. If unsure, say Yes.
  70. config LOONGSON_SUSPEND
  71. bool
  72. default y
  73. depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
  74. config LOONGSON_UART_BASE
  75. bool
  76. default y
  77. depends on EARLY_PRINTK || SERIAL_8250
  78. config LOONGSON_MC146818
  79. bool
  80. default n