Kconfig 2.1 KB

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