Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # SPDX-License-Identifier: GPL-2.0
  2. if MACH_LOONGSON2EF
  3. choice
  4. prompt "Machine Type"
  5. config LEMOTE_FULOONG2E
  6. bool "Lemote Fuloong(2e) mini-PC"
  7. select ARCH_SPARSEMEM_ENABLE
  8. select ARCH_MIGHT_HAVE_PC_PARPORT
  9. select ARCH_MIGHT_HAVE_PC_SERIO
  10. select CEVT_R4K
  11. select CSRC_R4K
  12. select SYS_HAS_CPU_LOONGSON2E
  13. select DMA_NONCOHERENT
  14. select BOOT_ELF32
  15. select BOARD_SCACHE
  16. select FORCE_PCI
  17. select I8259
  18. select ISA
  19. select IRQ_MIPS_CPU
  20. select SYS_SUPPORTS_64BIT_KERNEL
  21. select SYS_SUPPORTS_LITTLE_ENDIAN
  22. select SYS_SUPPORTS_HIGHMEM
  23. select SYS_HAS_EARLY_PRINTK
  24. select USE_GENERIC_EARLY_PRINTK_8250
  25. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  26. select CPU_HAS_WB
  27. select LOONGSON_MC146818
  28. help
  29. Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
  30. an FPGA northbridge
  31. Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
  32. config LEMOTE_MACH2F
  33. bool "Lemote Loongson 2F family machines"
  34. select ARCH_SPARSEMEM_ENABLE
  35. select ARCH_MIGHT_HAVE_PC_PARPORT
  36. select ARCH_MIGHT_HAVE_PC_SERIO
  37. select BOARD_SCACHE
  38. select BOOT_ELF32
  39. select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
  40. select CPU_HAS_WB
  41. select CS5536
  42. select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
  43. select DMA_NONCOHERENT
  44. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  45. select FORCE_PCI
  46. select I8259
  47. select IRQ_MIPS_CPU
  48. select ISA
  49. select SYS_HAS_CPU_LOONGSON2F
  50. select SYS_HAS_EARLY_PRINTK
  51. select USE_GENERIC_EARLY_PRINTK_8250
  52. select SYS_SUPPORTS_64BIT_KERNEL
  53. select SYS_SUPPORTS_HIGHMEM
  54. select SYS_SUPPORTS_LITTLE_ENDIAN
  55. select LOONGSON_MC146818
  56. help
  57. Lemote Loongson 2F family machines utilize the 2F revision of
  58. Loongson processor and the AMD CS5536 south bridge.
  59. These family machines include fuloong2f mini PC, yeeloong2f notebook,
  60. LingLoong allinone PC and so forth.
  61. endchoice
  62. config CS5536
  63. bool
  64. config CS5536_MFGPT
  65. bool "CS5536 MFGPT Timer"
  66. depends on CS5536 && !HIGH_RES_TIMERS
  67. select MIPS_EXTERNAL_TIMER
  68. help
  69. This option enables the mfgpt0 timer of AMD CS5536. With this timer
  70. switched on you can not use high resolution timers.
  71. If you want to enable the Loongson2 CPUFreq Driver, Please enable
  72. this option at first, otherwise, You will get wrong system time.
  73. If unsure, say Yes.
  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
  81. endif # MACH_LOONGSON2EF