]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/cris/arch-v32/drivers/Kconfig
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / cris / arch-v32 / drivers / Kconfig
1 if ETRAX_ARCH_V32
2
3 config ETRAX_ETHERNET
4         bool "Ethernet support"
5         depends on ETRAX_ARCH_V32 && NETDEVICES
6         select MII
7         help
8           This option enables the ETRAX FS built-in 10/100Mbit Ethernet
9           controller.
10
11 config ETRAX_NO_PHY
12         bool "PHY not present"
13         depends on ETRAX_ETHERNET
14         help
15           This option disables all MDIO communication with an ethernet
16           transceiver connected to the MII interface. This option shall
17           typically be enabled if the MII interface is connected to a
18           switch. This option should normally be disabled. If enabled,
19           speed and duplex will be locked to 100 Mbit and full duplex.
20
21 config ETRAXFS_SERIAL
22         bool "Serial-port support"
23         depends on ETRAX_ARCH_V32
24         select SERIAL_CORE
25         select SERIAL_CORE_CONSOLE
26         help
27           Enables the ETRAX FS serial driver for ser0 (ttyS0)
28           You probably want this enabled.
29
30 config ETRAX_RS485
31         bool "RS-485 support"
32         depends on ETRAXFS_SERIAL
33         help
34           Enables support for RS-485 serial communication.
35
36 config ETRAX_RS485_DISABLE_RECEIVER
37         bool "Disable serial receiver"
38         depends on ETRAX_RS485
39         help
40           It is necessary to disable the serial receiver to avoid serial
41           loopback.  Not all products are able to do this in software only.
42
43 config ETRAX_SERIAL_PORT0
44         bool "Serial port 0 enabled"
45         depends on ETRAXFS_SERIAL
46         help
47           Enables the ETRAX FS serial driver for ser0 (ttyS0)
48           Normally you want this on. You can control what DMA channels to use
49           if you do not need DMA to something else.
50           ser0 can use dma4 or dma6 for output and dma5 or dma7 for input.
51
52 config ETRAX_SERIAL_PORT1
53         bool "Serial port 1 enabled"
54         depends on ETRAXFS_SERIAL
55         help
56           Enables the ETRAX FS serial driver for ser1 (ttyS1).
57
58 config ETRAX_SERIAL_PORT2
59         bool "Serial port 2 enabled"
60         depends on ETRAXFS_SERIAL
61         help
62           Enables the ETRAX FS serial driver for ser2 (ttyS2).
63
64 config ETRAX_SERIAL_PORT3
65         bool "Serial port 3 enabled"
66         depends on ETRAXFS_SERIAL
67         help
68           Enables the ETRAX FS serial driver for ser3 (ttyS3).
69
70 config ETRAX_SYNCHRONOUS_SERIAL
71         bool "Synchronous serial-port support"
72         depends on ETRAX_ARCH_V32
73         help
74           Enables the ETRAX FS synchronous serial driver.
75
76 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
77          bool "Synchronous serial port 0 enabled"
78          depends on ETRAX_SYNCHRONOUS_SERIAL
79          help
80            Enabled synchronous serial port 0.
81
82 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
83          bool "Enable DMA on synchronous serial port 0."
84          depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
85          help
86            A synchronous serial port can run in manual or DMA mode.
87            Selecting this option will make it run in DMA mode.
88
89 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
90          bool "Synchronous serial port 1 enabled"
91          depends on ETRAX_SYNCHRONOUS_SERIAL && ETRAXFS
92          help
93            Enabled synchronous serial port 1.
94
95 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
96          bool "Enable DMA on synchronous serial port 1."
97          depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
98          help
99            A synchronous serial port can run in manual or DMA mode.
100            Selecting this option will make it run in DMA mode.
101
102 config ETRAX_AXISFLASHMAP
103         bool "Axis flash-map support"
104         depends on ETRAX_ARCH_V32
105         select MTD
106         select MTD_CFI
107         select MTD_CFI_AMDSTD
108         select MTD_JEDECPROBE
109         select MTD_BLOCK
110         select MTD_COMPLEX_MAPPINGS
111         select MTD_MTDRAM
112         help
113           This option enables MTD mapping of flash devices.  Needed to use
114           flash memories.  If unsure, say Y.
115
116 config ETRAX_AXISFLASHMAP_MTD0WHOLE
117         bool "MTD0 is whole boot flash device"
118         depends on ETRAX_AXISFLASHMAP
119         help
120           When this option is not set, mtd0 refers to the first partition
121           on the boot flash device. When set, mtd0 refers to the whole
122           device, with mtd1 referring to the first partition etc.
123
124 config ETRAX_PTABLE_SECTOR
125         int "Byte-offset of partition table sector"
126         depends on ETRAX_AXISFLASHMAP
127         default "65536"
128         help
129           Byte-offset of the partition table in the first flash chip.
130           The default value is 64kB and should not be changed unless
131           you know exactly what you are doing. The only valid reason
132           for changing this is when the flash block size is bigger
133           than 64kB (e.g. when using two parallel 16 bit flashes).
134
135 config ETRAX_NANDFLASH
136         bool "NAND flash support"
137         depends on ETRAX_ARCH_V32
138         select MTD_NAND
139         select MTD_NAND_IDS
140         help
141           This option enables MTD mapping of NAND flash devices.  Needed to use
142           NAND flash memories.  If unsure, say Y.
143
144 config ETRAX_NANDBOOT
145         bool "Boot from NAND flash"
146         depends on ETRAX_NANDFLASH
147         help
148           This options enables booting from NAND flash devices.
149           Say Y if your boot code, kernel and root file system is in
150           NAND flash. Say N if they are in NOR flash.
151
152 config ETRAX_CARDBUS
153         bool "Cardbus support"
154         depends on ETRAX_ARCH_V32
155         help
156          Enabled the ETRAX Cardbus driver.
157
158 config PCI
159        bool
160        depends on ETRAX_CARDBUS
161        default y
162        select HAVE_GENERIC_DMA_COHERENT
163
164 config ETRAX_IOP_FW_LOAD
165         tristate "IO-processor hotplug firmware loading support"
166         depends on ETRAX_ARCH_V32
167         select FW_LOADER
168         help
169           Enables IO-processor hotplug firmware loading support.
170
171 config ETRAX_STREAMCOPROC
172         tristate "Stream co-processor driver enabled"
173         depends on ETRAX_ARCH_V32
174         help
175           This option enables a driver for the stream co-processor
176           for cryptographic operations.
177
178 config ETRAX_MMC_IOP
179         tristate "MMC/SD host driver using IO-processor"
180         depends on ETRAX_ARCH_V32 && MMC
181         help
182           This option enables the SD/MMC host controller interface.
183           The host controller is implemented using the built in
184           IO-Processor. Only the SPU is used in this implementation.
185
186 config ETRAX_SPI_MMC
187 # Make this one of several "choices" (possible simultaneously but
188 # suggested uniquely) when an IOP driver emerges for "real" MMC/SD
189 # protocol support.
190         tristate
191         depends on !ETRAX_MMC_IOP
192         default MMC
193         select SPI
194         select MMC_SPI
195
196 # While the board info is MMC_SPI only, the drivers are written to be
197 # independent of MMC_SPI, so we'll keep SPI non-dependent on the
198 # MMC_SPI config choices (well, except for a single depends-on-line
199 # for the board-info file until a separate non-MMC SPI board file
200 # emerges).
201 # FIXME: When that happens, we'll need to be able to ask for and
202 # configure non-MMC SPI ports together with MMC_SPI ports (if multiple
203 # SPI ports are enabled).
204
205 config SPI_ETRAX_SSER
206         tristate
207         depends on SPI_MASTER && ETRAX_ARCH_V32
208         select SPI_BITBANG
209         help
210           This enables using an synchronous serial (sser) port as a
211           SPI master controller on Axis ETRAX FS and later.  The
212           driver can be configured to use any sser port.
213
214 config SPI_ETRAX_GPIO
215         tristate
216         depends on SPI_MASTER && ETRAX_ARCH_V32
217         select SPI_BITBANG
218         help
219           This enables using GPIO pins port as a SPI master controller
220           on Axis ETRAX FS and later.  The driver can be configured to
221           use any GPIO pins.
222
223 config ETRAX_SPI_SSER0
224         tristate "SPI using synchronous serial port 0 (sser0)"
225         depends on ETRAX_SPI_MMC
226         default m if MMC_SPI=m
227         default y if MMC_SPI=y
228         default y if MMC_SPI=n
229         select SPI_ETRAX_SSER
230         help
231           Say Y for an MMC/SD socket connected to synchronous serial port 0,
232           or for devices using the SPI protocol on that port.  Say m if you
233           want to build it as a module, which will be named spi_crisv32_sser.
234           (You need to select MMC separately.)
235
236 config ETRAX_SPI_SSER1
237         tristate "SPI using synchronous serial port 1 (sser1)"
238         depends on ETRAX_SPI_MMC
239         default m if MMC_SPI=m && ETRAX_SPI_SSER0=n
240         default y if MMC_SPI=y && ETRAX_SPI_SSER0=n
241         default y if MMC_SPI=n && ETRAX_SPI_SSER0=n
242         select SPI_ETRAX_SSER
243         help
244           Say Y for an MMC/SD socket connected to synchronous serial port 1,
245           or for devices using the SPI protocol on that port.  Say m if you
246           want to build it as a module, which will be named spi_crisv32_sser.
247           (You need to select MMC separately.)
248
249 config ETRAX_SPI_GPIO
250         tristate "Bitbanged SPI using gpio pins"
251         depends on ETRAX_SPI_MMC
252         select SPI_ETRAX_GPIO
253         default m if MMC_SPI=m && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
254         default y if MMC_SPI=y && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
255         default y if MMC_SPI=n && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
256         help
257           Say Y for an MMC/SD socket connected to general I/O pins (but not
258           a complete synchronous serial ports), or for devices using the SPI
259           protocol on general I/O pins.  Slow and slows down the system.
260           Say m to build it as a module, which will be called spi_crisv32_gpio.
261           (You need to select MMC separately.)
262
263 endif