source: src/linux/universal/linux-3.2/arch/mips/ralink/rt305x/Kconfig @ 18368

Last change on this file since 18368 was 18368, checked in by BrainSlayer, 16 months ago

others

File size: 4.7 KB
Line 
1#-----------------------------
2
3
4choice
5        prompt "Soc Hardware Type"
6        default RT3052_ASIC
7
8config  RT3052_ASIC
9        bool "RT305x/RT3350-ASIC"
10endchoice
11
12config RALINK_RT3350
13        bool "Ralink RT3350 chipset"
14
15
16
17
18choice
19        prompt "RF Type"
20        default RALINK_RT3052_2T2R
21
22        config  RALINK_RT3050_1T1R
23        bool "1T1R"
24
25        config  RALINK_RT3051_1T2R
26        bool "1T2R"
27
28        config  RALINK_RT3052_2T2R
29        bool "2T2R"
30endchoice
31
32choice
33        prompt "RF Type"
34        depends on  RALINK_RT3352
35
36        config  RALINK_RT3352_2T2R
37        bool "2T2R"
38endchoice
39
40choice
41        prompt "RF Type"
42        depends on RALINK_RT3883
43
44        config  RALINK_RT3662_2T2R
45        bool "2T3R (RT3662)"
46
47        config  RALINK_RT3883_3T3R
48        bool "3T3R (RT3883)"
49endchoice
50
51if RALINK_RT3352
52
53choice
54        prompt "Soc Hardware Type"
55        default RT3352_ASIC
56
57config  RT3352_ASIC
58        bool "RT3352-ASIC"
59        select USB_ARCH_HAS_OHCI
60        select USB_ARCH_HAS_EHCI
61
62endchoice
63
64endif
65
66#--------------------------
67
68if RALINK_RT3883
69
70choice
71        prompt "Soc Hardware Type"
72        default RT3883_ASIC
73
74config  RT3883_ASIC
75        bool "RT3883/RT3662-ASIC"
76        select USB_ARCH_HAS_OHCI
77        select USB_ARCH_HAS_EHCI
78endchoice
79
80choice
81        prompt "RT3883 PCI architecture"
82        default PCIE_PCI_CONCURRENT
83
84config PCIE_PCI_CONCURRENT
85        bool "PCIE RC and PCI HOST CONCURRENT"
86config PCIE_ONLY
87        bool "PCIE RC ONLY"
88config PCI_ONLY
89        bool "PCI HOST ONLY"
90config PCIE_PCI_NONE
91        bool "Non-support PCI/PCIe"
92endchoice
93
94endif
95
96#---------------------------
97
98if RALINK_RT5350
99
100choice
101        prompt "Soc Hardware Type"
102        default RT5350_ASIC
103
104config  RT5350_ASIC
105        bool "RT5350-ASIC"
106        select USB_ARCH_HAS_OHCI
107        select USB_ARCH_HAS_EHCI
108
109endchoice
110
111endif
112
113#--------------------------
114
115config FLASH_REMAP_NEED
116       bool
117       default y if (RALINK_RT2880)
118choice
119       prompt "DRAM Size"
120       default RT2880_DRAM_16M
121
122config RT2880_DRAM_8M
123       bool "8M"
124
125config RT2880_DRAM_16M
126       bool "16M"
127
128config RT2880_DRAM_32M
129       bool "32M"
130
131config RT2880_DRAM_64M
132       bool "64M"
133
134endchoice
135
136choice
137       prompt "Flash Size"
138       default RT2880_FLASH_4M
139       depends on  FLASH_REMAP_NEED
140
141config RT2880_FLASH_2M
142       bool "2M"
143
144config RT2880_FLASH_4M
145       bool "4M"
146
147config RT2880_FLASH_8M
148       bool "8M"
149
150config RT2880_FLASH_16M
151       bool "16M"
152
153endchoice
154
155config  RT2880_FLASH_32M
156        bool "Flash Size 32MB Support"
157        depends on (RALINK_RT305X || RALINK_RT3350) && !MTD_SPI_RALINK
158        select MTD_CONCAT if RT2880_FLASH_32M
159
160config  RALINK_RAM_SIZE
161        int
162        default 8 if RT2880_DRAM_8M
163        default 16 if RT2880_DRAM_16M
164        default 32 if RT2880_DRAM_32M
165        default 64 if RT2880_DRAM_64M
166
167config MTD_PHYSMAP_START
168       hex 'Physmap start'
169       default 0xBF000000 if !FLASH_REMAP_NEED && RALINK_RT305X
170
171config MTD_PHYSMAP_LEN
172       hex
173       default 0x200000 if RT2880_FLASH_2M
174       default 0x400000 if RT2880_FLASH_4M
175       default 0x800000 if RT2880_FLASH_8M
176       default 0x1000000 if RT2880_FLASH_16M
177       default 0x2000000 if RT2880_FLASH_32M
178       default 0x1000000 if !FLASH_REMAP_NEED
179
180config MTD_PHYSMAP_BUSWIDTH
181       int
182       default 2
183
184choice
185        prompt "Root File System Type"
186        default RT2880_ROOTFS_IN_RAM
187
188config  RT2880_ROOTFS_IN_RAM
189        bool "RootFS_in_RAM"
190        select BLK_DEV_INITRD
191        select BLK_DEV_RAM
192
193config  RT2880_ROOTFS_IN_FLASH
194        bool "RootFS_in_FLASH"
195endchoice
196
197config BLK_DEV_RAM_SIZE
198        int 'Default RAM disk size'
199        default 8192
200        depends on RT2880_ROOTFS_IN_RAM
201
202config  INITRAMFS_LZMA
203        bool "Compress ramdisk by lzma instead of gzip"
204        depends on RT2880_ROOTFS_IN_RAM
205
206config MTD_KERNEL_PART_SIZ
207        hex 'MTD Kernel Partition Size (Unit:Bytes)'
208        default 0xD0000
209        depends on RT2880_ROOTFS_IN_FLASH
210
211config  RALINK_TIMER
212        tristate 'Ralink WatchDog'
213
214config  RALINK_TIMER_WDG
215        bool "Ralink WatchDog Timer"
216        depends on RALINK_TIMER
217
218config  RALINK_TIMER_WDG_RESET_OUTPUT
219        bool "Ralink WatchDog Reset Output"
220        depends on RALINK_TIMER_WDG
221
222config  EAP9550
223        bool "EAP 9550 watchdog workaround"
224        depends on RALINK_RT305X
225
226config  RALINK_WDG_TIMER
227        int "WatchDog Timer (Unit:1Sec, Max=30Sec)"
228        default 10
229        depends on RALINK_TIMER_WDG
230
231config  RALINK_WDG_REFRESH_INTERVAL
232        int "WatchDog Refresh Interval (Unit:1Sec, Max=30Sec)"
233        default 4
234        depends on RALINK_TIMER_WDG
235
236config  RALINK_TIMER_DFS
237        bool "Ralink DFS Timer"
238        depends on RALINK_TIMER
239
240
241config RT3XXX_EHCI_OHCI
242        bool "Ralink USB EHCI/OHCI controller support"
243        depends on (RALINK_RT3883 || RALINK_RT3352)
244        select USB_ARCH_HAS_OHCI
245        select USB_ARCH_HAS_EHCI
246
247#config RALINK_EXTERNAL_TIMER
248#       bool "Ralink External Timer"
249#       depends on RALINK_RT3352 || RALINK_RT5350
250
251config TIXI
252        bool "Tixi Board support"
253        depends on RALINK_RT3352
Note: See TracBrowser for help on using the repository browser.