Blame view

arch/mips/loongson/Kconfig 2.11 KB
efe8dc556   Yoichi Yuasa   MIPS: Fix always ...
1
  if MACH_LOONGSON
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
2
  choice
f6d4ff02c   Wu Zhangjin   MIPS: Fuloong2e: ...
3
  	prompt "Machine Type"
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
4
5
  
  config LEMOTE_FULOONG2E
f6d4ff02c   Wu Zhangjin   MIPS: Fuloong2e: ...
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  	bool "Lemote Fuloong(2e) mini-PC"
  	select ARCH_SPARSEMEM_ENABLE
  	select CEVT_R4K
  	select CSRC_R4K
  	select SYS_HAS_CPU_LOONGSON2E
  	select DMA_NONCOHERENT
  	select BOOT_ELF32
  	select BOARD_SCACHE
  	select HW_HAS_PCI
  	select I8259
  	select ISA
  	select IRQ_CPU
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
  	select SYS_HAS_EARLY_PRINTK
f6d4ff02c   Wu Zhangjin   MIPS: Fuloong2e: ...
23
24
  	select GENERIC_ISA_DMA_SUPPORT_BROKEN
  	select CPU_HAS_WB
5df743528   Arnaud Patard   MIPS: Loongson: D...
25
  	select LOONGSON_MC146818
f6d4ff02c   Wu Zhangjin   MIPS: Fuloong2e: ...
26
27
28
  	help
  	  Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
  	  an FPGA northbridge
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
29

f6d4ff02c   Wu Zhangjin   MIPS: Fuloong2e: ...
30
  	  Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
7d32c6dd8   Wu Zhangjin   MIPS: Lemote 2F: ...
31
32
33
34
35
36
  
  config LEMOTE_MACH2F
  	bool "Lemote Loongson 2F family machines"
  	select ARCH_SPARSEMEM_ENABLE
  	select BOARD_SCACHE
  	select BOOT_ELF32
f8ede0f70   Wu Zhangjin   MIPS: Loongson 2F...
37
  	select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
7d32c6dd8   Wu Zhangjin   MIPS: Lemote 2F: ...
38
39
  	select CPU_HAS_WB
  	select CS5536
f8ede0f70   Wu Zhangjin   MIPS: Loongson 2F...
40
  	select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
7d32c6dd8   Wu Zhangjin   MIPS: Lemote 2F: ...
41
  	select DMA_NONCOHERENT
7d32c6dd8   Wu Zhangjin   MIPS: Lemote 2F: ...
42
43
44
45
46
47
48
49
50
51
52
  	select GENERIC_ISA_DMA_SUPPORT_BROKEN
  	select HW_HAS_PCI
  	select I8259
  	select IRQ_CPU
  	select ISA
  	select SYS_HAS_CPU_LOONGSON2F
  	select SYS_HAS_EARLY_PRINTK
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_HIGHMEM
  	select SYS_SUPPORTS_LITTLE_ENDIAN
5df743528   Arnaud Patard   MIPS: Loongson: D...
53
  	select LOONGSON_MC146818
7d32c6dd8   Wu Zhangjin   MIPS: Lemote 2F: ...
54
55
56
57
58
59
  	help
  	  Lemote Loongson 2F family machines utilize the 2F revision of
  	  Loongson processor and the AMD CS5536 south bridge.
  
  	  These family machines include fuloong2f mini PC, yeeloong2f notebook,
  	  LingLoong allinone PC and so forth.
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
60
  endchoice
22c21003a   Wu Zhangjin   MIPS: Lemote 2F: ...
61
62
63
  
  config CS5536
  	bool
f181bf60e   Wu Zhangjin   MIPS: Loongson 2F...
64

916daba8a   Wu Zhangjin   MIPS: Lemote 2F: ...
65
66
67
  config CS5536_MFGPT
  	bool "CS5536 MFGPT Timer"
  	depends on CS5536
f8ede0f70   Wu Zhangjin   MIPS: Loongson 2F...
68
  	select MIPS_EXTERNAL_TIMER
916daba8a   Wu Zhangjin   MIPS: Lemote 2F: ...
69
70
71
72
73
74
75
  	help
  	  This option enables the mfgpt0 timer of AMD CS5536.
  
  	  If you want to enable the Loongson2 CPUFreq Driver, Please enable
  	  this option at first, otherwise, You will get wrong system time.
  
  	  If unsure, say Yes.
f181bf60e   Wu Zhangjin   MIPS: Loongson 2F...
76
77
78
79
  config LOONGSON_SUSPEND
  	bool
  	default y
  	depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
c3d8d8501   Wu Zhangjin   MIPS: Loongson: C...
80
81
82
83
84
  
  config LOONGSON_UART_BASE
  	bool
  	default y
  	depends on EARLY_PRINTK || SERIAL_8250
5df743528   Arnaud Patard   MIPS: Loongson: D...
85
86
87
88
  
  config LOONGSON_MC146818
  	bool
  	default n
efe8dc556   Yoichi Yuasa   MIPS: Fix always ...
89
90
  
  endif # MACH_LOONGSON