Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-block.git] / arch / cris / arch-v32 / Kconfig
CommitLineData
2d33d563
JN
1if ETRAX_ARCH_V32
2
923dd2a4
JN
3source arch/cris/arch-v32/mach-fs/Kconfig
4source arch/cris/arch-v32/mach-a3/Kconfig
5
6source drivers/cpufreq/Kconfig
7
51533b61
MS
8config ETRAX_DRAM_VIRTUAL_BASE
9 hex
10 depends on ETRAX_ARCH_V32
11 default "c0000000"
12
51533b61
MS
13choice
14 prompt "Kernel GDB port"
15 depends on ETRAX_KGDB
16 default ETRAX_KGDB_PORT0
17 help
18 Choose a serial port for kernel debugging. NOTE: This port should
19 not be enabled under Drivers for built-in interfaces (as it has its
20 own initialization code) and should not be the same as the debug port.
21
923dd2a4
JN
22config ETRAX_KGDB_PORT4
23 bool "Serial-4"
24 depends on ETRAX_SERIAL_PORTS = 5
51533b61 25 help
923dd2a4 26 Use serial port 4 for kernel debugging.
51533b61
MS
27
28endchoice
29
30config ETRAX_MEM_GRP1_CONFIG
31 hex "MEM_GRP1_CONFIG"
32 depends on ETRAX_ARCH_V32
33 default "4044a"
34 help
35 Waitstates for flash. The default value is suitable for the
36 standard flashes used in axis products (120 ns).
37
38config ETRAX_MEM_GRP2_CONFIG
39 hex "MEM_GRP2_CONFIG"
40 depends on ETRAX_ARCH_V32
41 default "0"
42 help
43 Waitstates for SRAM. 0 is a good choice for most Axis products.
44
45config ETRAX_MEM_GRP3_CONFIG
46 hex "MEM_GRP3_CONFIG"
47 depends on ETRAX_ARCH_V32
48 default "0"
49 help
50 Waitstates for CSP0-3. 0 is a good choice for most Axis products.
51 It may need to be changed if external devices such as extra
52 register-mapped LEDs are used.
53
54config ETRAX_MEM_GRP4_CONFIG
55 hex "MEM_GRP4_CONFIG"
56 depends on ETRAX_ARCH_V32
57 default "0"
58 help
59 Waitstates for CSP4-6. 0 is a good choice for most Axis products.
60
61config ETRAX_SDRAM_GRP0_CONFIG
62 hex "SDRAM_GRP0_CONFIG"
63 depends on ETRAX_ARCH_V32
64 default "336"
65 help
66 SDRAM configuration for group 0. The value depends on the
67 hardware configuration. The default value is suitable
68 for 32 MB organized as two 16 bits chips (e.g. Axis
69 part number 18550) connected as one 32 bit device (i.e. in
70 the same group).
71
72config ETRAX_SDRAM_GRP1_CONFIG
73 hex "SDRAM_GRP1_CONFIG"
74 depends on ETRAX_ARCH_V32
75 default "0"
76 help
44c09201 77 SDRAM configuration for group 1. The default value is 0
51533b61
MS
78 because group 1 is not used in the default configuration,
79 described in the help for SDRAM_GRP0_CONFIG.
80
81config ETRAX_SDRAM_TIMING
82 hex "SDRAM_TIMING"
83 depends on ETRAX_ARCH_V32
84 default "104a"
85 help
86 SDRAM timing parameters. The default value is ok for
87 most hardwares but large SDRAMs may require a faster
88 refresh (a.k.a 8K refresh). The default value implies
89 100MHz clock and SDR mode.
90
91config ETRAX_SDRAM_COMMAND
92 hex "SDRAM_COMMAND"
93 depends on ETRAX_ARCH_V32
94 default "0"
95 help
96 SDRAM command. Should be 0 unless you really know what
97 you are doing (may be != 0 for unusual address line
98 mappings such as in a MCM)..
99
100config ETRAX_DEF_GIO_PA_OE
101 hex "GIO_PA_OE"
102 depends on ETRAX_ARCH_V32
103 default "1c"
104 help
105 Configures the direction of general port A bits. 1 is out, 0 is in.
106 This is often totally different depending on the product used.
107 There are some guidelines though - if you know that only LED's are
108 connected to port PA, then they are usually connected to bits 2-4
109 and you can therefore use 1c. On other boards which don't have the
110 LED's at the general ports, these bits are used for all kinds of
111 stuff. If you don't know what to use, it is always safe to put all
112 as inputs, although floating inputs isn't good.
113
114config ETRAX_DEF_GIO_PA_OUT
115 hex "GIO_PA_OUT"
116 depends on ETRAX_ARCH_V32
117 default "00"
118 help
119 Configures the initial data for the general port A bits. Most
120 products should use 00 here.
121
122config ETRAX_DEF_GIO_PB_OE
123 hex "GIO_PB_OE"
124 depends on ETRAX_ARCH_V32
125 default "00000"
126 help
127 Configures the direction of general port B bits. 1 is out, 0 is in.
128 This is often totally different depending on the product used.
129 There are some guidelines though - if you know that only LED's are
130 connected to port PA, then they are usually connected to bits 2-4
131 and you can therefore use 1c. On other boards which don't have the
132 LED's at the general ports, these bits are used for all kinds of
133 stuff. If you don't know what to use, it is always safe to put all
134 as inputs, although floating inputs isn't good.
135
136config ETRAX_DEF_GIO_PB_OUT
137 hex "GIO_PB_OUT"
138 depends on ETRAX_ARCH_V32
139 default "00000"
140 help
141 Configures the initial data for the general port B bits. Most
142 products should use 00000 here.
143
144config ETRAX_DEF_GIO_PC_OE
145 hex "GIO_PC_OE"
146 depends on ETRAX_ARCH_V32
147 default "00000"
148 help
149 Configures the direction of general port C bits. 1 is out, 0 is in.
150 This is often totally different depending on the product used.
151 There are some guidelines though - if you know that only LED's are
152 connected to port PA, then they are usually connected to bits 2-4
153 and you can therefore use 1c. On other boards which don't have the
154 LED's at the general ports, these bits are used for all kinds of
155 stuff. If you don't know what to use, it is always safe to put all
156 as inputs, although floating inputs isn't good.
157
158config ETRAX_DEF_GIO_PC_OUT
159 hex "GIO_PC_OUT"
160 depends on ETRAX_ARCH_V32
161 default "00000"
162 help
163 Configures the initial data for the general port C bits. Most
164 products should use 00000 here.
165
166config ETRAX_DEF_GIO_PD_OE
167 hex "GIO_PD_OE"
168 depends on ETRAX_ARCH_V32
169 default "00000"
170 help
171 Configures the direction of general port D bits. 1 is out, 0 is in.
172 This is often totally different depending on the product used.
173 There are some guidelines though - if you know that only LED's are
174 connected to port PA, then they are usually connected to bits 2-4
175 and you can therefore use 1c. On other boards which don't have the
176 LED's at the general ports, these bits are used for all kinds of
177 stuff. If you don't know what to use, it is always safe to put all
178 as inputs, although floating inputs isn't good.
179
180config ETRAX_DEF_GIO_PD_OUT
181 hex "GIO_PD_OUT"
182 depends on ETRAX_ARCH_V32
183 default "00000"
184 help
185 Configures the initial data for the general port D bits. Most
186 products should use 00000 here.
187
188config ETRAX_DEF_GIO_PE_OE
189 hex "GIO_PE_OE"
190 depends on ETRAX_ARCH_V32
191 default "00000"
192 help
193 Configures the direction of general port E bits. 1 is out, 0 is in.
194 This is often totally different depending on the product used.
195 There are some guidelines though - if you know that only LED's are
196 connected to port PA, then they are usually connected to bits 2-4
197 and you can therefore use 1c. On other boards which don't have the
198 LED's at the general ports, these bits are used for all kinds of
199 stuff. If you don't know what to use, it is always safe to put all
200 as inputs, although floating inputs isn't good.
201
202config ETRAX_DEF_GIO_PE_OUT
203 hex "GIO_PE_OUT"
204 depends on ETRAX_ARCH_V32
205 default "00000"
206 help
207 Configures the initial data for the general port E bits. Most
208 products should use 00000 here.
2d33d563
JN
209
210endif