diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-12-16 20:57:35 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-16 20:57:35 -0500 |
commit | de4148f3ef54b644a181ad75a6fb4b373f2b01f0 (patch) | |
tree | 83aa287fbbcc14a3df9e161af99af49776b61b6f | |
parent | c3d8d85019c9e4f6e4f23d194b6432a2c2464372 (diff) |
MIPS: eXcite: Remove platform.
The platform has never been fully merged
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Thomas Koeller <thomas.koeller@baslerweb.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
75 files changed, 0 insertions, 3912 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 0be245d28a1d..f374ccac1917 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -50,23 +50,6 @@ config AR7 | |||
50 | Support for the Texas Instruments AR7 System-on-a-Chip | 50 | Support for the Texas Instruments AR7 System-on-a-Chip |
51 | family: TNETD7100, 7200 and 7300. | 51 | family: TNETD7100, 7200 and 7300. |
52 | 52 | ||
53 | config BASLER_EXCITE | ||
54 | bool "Basler eXcite smart camera" | ||
55 | select CEVT_R4K | ||
56 | select CSRC_R4K | ||
57 | select DMA_COHERENT | ||
58 | select HW_HAS_PCI | ||
59 | select IRQ_CPU | ||
60 | select IRQ_CPU_RM7K | ||
61 | select IRQ_CPU_RM9K | ||
62 | select MIPS_RM9122 | ||
63 | select SYS_HAS_CPU_RM9000 | ||
64 | select SYS_SUPPORTS_32BIT_KERNEL | ||
65 | select SYS_SUPPORTS_BIG_ENDIAN | ||
66 | help | ||
67 | The eXcite is a smart camera platform manufactured by | ||
68 | Basler Vision Technologies AG. | ||
69 | |||
70 | config BCM47XX | 53 | config BCM47XX |
71 | bool "BCM47XX based boards" | 54 | bool "BCM47XX based boards" |
72 | select CEVT_R4K | 55 | select CEVT_R4K |
@@ -701,7 +684,6 @@ config CAVIUM_OCTEON_REFERENCE_BOARD | |||
701 | endchoice | 684 | endchoice |
702 | 685 | ||
703 | source "arch/mips/alchemy/Kconfig" | 686 | source "arch/mips/alchemy/Kconfig" |
704 | source "arch/mips/basler/excite/Kconfig" | ||
705 | source "arch/mips/bcm63xx/Kconfig" | 687 | source "arch/mips/bcm63xx/Kconfig" |
706 | source "arch/mips/jazz/Kconfig" | 688 | source "arch/mips/jazz/Kconfig" |
707 | source "arch/mips/lasat/Kconfig" | 689 | source "arch/mips/lasat/Kconfig" |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index d2c39fdcdfeb..1893efd43fca 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -369,13 +369,6 @@ cflags-$(CONFIG_PMC_YOSEMITE) += -I$(srctree)/arch/mips/include/asm/mach-yosemit | |||
369 | load-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000 | 369 | load-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000 |
370 | 370 | ||
371 | # | 371 | # |
372 | # Basler eXcite | ||
373 | # | ||
374 | core-$(CONFIG_BASLER_EXCITE) += arch/mips/basler/excite/ | ||
375 | cflags-$(CONFIG_BASLER_EXCITE) += -I$(srctree)/arch/mips/include/asm/mach-excite | ||
376 | load-$(CONFIG_BASLER_EXCITE) += 0x80100000 | ||
377 | |||
378 | # | ||
379 | # LASAT platforms | 372 | # LASAT platforms |
380 | # | 373 | # |
381 | core-$(CONFIG_LASAT) += arch/mips/lasat/ | 374 | core-$(CONFIG_LASAT) += arch/mips/lasat/ |
diff --git a/arch/mips/basler/excite/Kconfig b/arch/mips/basler/excite/Kconfig deleted file mode 100644 index ba506075608b..000000000000 --- a/arch/mips/basler/excite/Kconfig +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | config BASLER_EXCITE_PROTOTYPE | ||
2 | bool "Support for pre-release units" | ||
3 | depends on BASLER_EXCITE | ||
4 | default n | ||
5 | help | ||
6 | Pre-series (prototype) units are different from later ones in | ||
7 | some ways. Select this option if you have one of these. Please | ||
8 | note that a kernel built with this option selected will not be | ||
9 | able to run on normal units. | ||
diff --git a/arch/mips/basler/excite/Makefile b/arch/mips/basler/excite/Makefile deleted file mode 100644 index cff29cf46d03..000000000000 --- a/arch/mips/basler/excite/Makefile +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for Basler eXcite | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_BASLER_EXCITE) += excite_irq.o excite_prom.o excite_setup.o \ | ||
6 | excite_device.o excite_procfs.o | ||
7 | |||
8 | obj-m += excite_iodev.o | ||
diff --git a/arch/mips/basler/excite/excite_device.c b/arch/mips/basler/excite/excite_device.c deleted file mode 100644 index e00bc2d7f301..000000000000 --- a/arch/mips/basler/excite/excite_device.c +++ /dev/null | |||
@@ -1,403 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | |||
20 | #include <linux/kernel.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/platform_device.h> | ||
23 | #include <linux/ioport.h> | ||
24 | #include <linux/err.h> | ||
25 | #include <linux/jiffies.h> | ||
26 | #include <linux/sched.h> | ||
27 | #include <asm/types.h> | ||
28 | #include <asm/rm9k-ocd.h> | ||
29 | |||
30 | #include <excite.h> | ||
31 | #include <rm9k_eth.h> | ||
32 | #include <rm9k_wdt.h> | ||
33 | #include <rm9k_xicap.h> | ||
34 | #include <excite_nandflash.h> | ||
35 | |||
36 | #include "excite_iodev.h" | ||
37 | |||
38 | #define RM9K_GE_UNIT 0 | ||
39 | #define XICAP_UNIT 0 | ||
40 | #define NAND_UNIT 0 | ||
41 | |||
42 | #define DLL_TIMEOUT 3 /* seconds */ | ||
43 | |||
44 | |||
45 | #define RINIT(__start__, __end__, __name__, __parent__) { \ | ||
46 | .name = __name__ "_0", \ | ||
47 | .start = (__start__), \ | ||
48 | .end = (__end__), \ | ||
49 | .flags = 0, \ | ||
50 | .parent = (__parent__) \ | ||
51 | } | ||
52 | |||
53 | #define RINIT_IRQ(__irq__, __name__) { \ | ||
54 | .name = __name__ "_0", \ | ||
55 | .start = (__irq__), \ | ||
56 | .end = (__irq__), \ | ||
57 | .flags = IORESOURCE_IRQ, \ | ||
58 | .parent = NULL \ | ||
59 | } | ||
60 | |||
61 | |||
62 | |||
63 | enum { | ||
64 | slice_xicap, | ||
65 | slice_eth | ||
66 | }; | ||
67 | |||
68 | |||
69 | |||
70 | static struct resource | ||
71 | excite_ctr_resource __maybe_unused = { | ||
72 | .name = "GPI counters", | ||
73 | .start = 0, | ||
74 | .end = 5, | ||
75 | .flags = 0, | ||
76 | .parent = NULL, | ||
77 | .sibling = NULL, | ||
78 | .child = NULL | ||
79 | }, | ||
80 | excite_gpislice_resource __maybe_unused = { | ||
81 | .name = "GPI slices", | ||
82 | .start = 0, | ||
83 | .end = 1, | ||
84 | .flags = 0, | ||
85 | .parent = NULL, | ||
86 | .sibling = NULL, | ||
87 | .child = NULL | ||
88 | }, | ||
89 | excite_mdio_channel_resource __maybe_unused = { | ||
90 | .name = "MDIO channels", | ||
91 | .start = 0, | ||
92 | .end = 1, | ||
93 | .flags = 0, | ||
94 | .parent = NULL, | ||
95 | .sibling = NULL, | ||
96 | .child = NULL | ||
97 | }, | ||
98 | excite_fifomem_resource __maybe_unused = { | ||
99 | .name = "FIFO memory", | ||
100 | .start = 0, | ||
101 | .end = 767, | ||
102 | .flags = 0, | ||
103 | .parent = NULL, | ||
104 | .sibling = NULL, | ||
105 | .child = NULL | ||
106 | }, | ||
107 | excite_scram_resource __maybe_unused = { | ||
108 | .name = "Scratch RAM", | ||
109 | .start = EXCITE_PHYS_SCRAM, | ||
110 | .end = EXCITE_PHYS_SCRAM + EXCITE_SIZE_SCRAM - 1, | ||
111 | .flags = IORESOURCE_MEM, | ||
112 | .parent = NULL, | ||
113 | .sibling = NULL, | ||
114 | .child = NULL | ||
115 | }, | ||
116 | excite_fpga_resource __maybe_unused = { | ||
117 | .name = "System FPGA", | ||
118 | .start = EXCITE_PHYS_FPGA, | ||
119 | .end = EXCITE_PHYS_FPGA + EXCITE_SIZE_FPGA - 1, | ||
120 | .flags = IORESOURCE_MEM, | ||
121 | .parent = NULL, | ||
122 | .sibling = NULL, | ||
123 | .child = NULL | ||
124 | }, | ||
125 | excite_nand_resource __maybe_unused = { | ||
126 | .name = "NAND flash control", | ||
127 | .start = EXCITE_PHYS_NAND, | ||
128 | .end = EXCITE_PHYS_NAND + EXCITE_SIZE_NAND - 1, | ||
129 | .flags = IORESOURCE_MEM, | ||
130 | .parent = NULL, | ||
131 | .sibling = NULL, | ||
132 | .child = NULL | ||
133 | }, | ||
134 | excite_titan_resource __maybe_unused = { | ||
135 | .name = "TITAN registers", | ||
136 | .start = EXCITE_PHYS_TITAN, | ||
137 | .end = EXCITE_PHYS_TITAN + EXCITE_SIZE_TITAN - 1, | ||
138 | .flags = IORESOURCE_MEM, | ||
139 | .parent = NULL, | ||
140 | .sibling = NULL, | ||
141 | .child = NULL | ||
142 | }; | ||
143 | |||
144 | |||
145 | |||
146 | static void adjust_resources(struct resource *res, unsigned int n) | ||
147 | { | ||
148 | struct resource *p; | ||
149 | const unsigned long mask = IORESOURCE_IO | IORESOURCE_MEM | ||
150 | | IORESOURCE_IRQ | IORESOURCE_DMA; | ||
151 | |||
152 | for (p = res; p < res + n; p++) { | ||
153 | const struct resource * const parent = p->parent; | ||
154 | if (parent) { | ||
155 | p->start += parent->start; | ||
156 | p->end += parent->start; | ||
157 | p->flags = parent->flags & mask; | ||
158 | } | ||
159 | } | ||
160 | } | ||
161 | |||
162 | |||
163 | |||
164 | #if defined(CONFIG_EXCITE_FCAP_GPI) || defined(CONFIG_EXCITE_FCAP_GPI_MODULE) | ||
165 | static struct resource xicap_rsrc[] = { | ||
166 | RINIT(0x4840, 0x486f, XICAP_RESOURCE_FIFO_RX, &excite_titan_resource), | ||
167 | RINIT(0x4940, 0x494b, XICAP_RESOURCE_FIFO_TX, &excite_titan_resource), | ||
168 | RINIT(0x5040, 0x5127, XICAP_RESOURCE_XDMA, &excite_titan_resource), | ||
169 | RINIT(0x1000, 0x112f, XICAP_RESOURCE_PKTPROC, &excite_titan_resource), | ||
170 | RINIT(0x1100, 0x110f, XICAP_RESOURCE_PKT_STREAM, &excite_fpga_resource), | ||
171 | RINIT(0x0800, 0x0bff, XICAP_RESOURCE_DMADESC, &excite_scram_resource), | ||
172 | RINIT(slice_xicap, slice_xicap, XICAP_RESOURCE_GPI_SLICE, &excite_gpislice_resource), | ||
173 | RINIT(0x0100, 0x02ff, XICAP_RESOURCE_FIFO_BLK, &excite_fifomem_resource), | ||
174 | RINIT_IRQ(TITAN_IRQ, XICAP_RESOURCE_IRQ) | ||
175 | }; | ||
176 | |||
177 | static struct platform_device xicap_pdev = { | ||
178 | .name = XICAP_NAME, | ||
179 | .id = XICAP_UNIT, | ||
180 | .num_resources = ARRAY_SIZE(xicap_rsrc), | ||
181 | .resource = xicap_rsrc | ||
182 | }; | ||
183 | |||
184 | /* | ||
185 | * Create a platform device for the GPI port that receives the | ||
186 | * image data from the embedded camera. | ||
187 | */ | ||
188 | static int __init xicap_devinit(void) | ||
189 | { | ||
190 | unsigned long tend; | ||
191 | u32 reg; | ||
192 | int retval; | ||
193 | |||
194 | adjust_resources(xicap_rsrc, ARRAY_SIZE(xicap_rsrc)); | ||
195 | |||
196 | /* Power up the slice and configure it. */ | ||
197 | reg = titan_readl(CPTC1R); | ||
198 | reg &= ~(0x11100 << slice_xicap); | ||
199 | titan_writel(reg, CPTC1R); | ||
200 | |||
201 | /* Enable slice & DLL. */ | ||
202 | reg= titan_readl(CPRR); | ||
203 | reg &= ~(0x00030003 << (slice_xicap * 2)); | ||
204 | titan_writel(reg, CPRR); | ||
205 | |||
206 | /* Wait for DLLs to lock */ | ||
207 | tend = jiffies + DLL_TIMEOUT * HZ; | ||
208 | while (time_before(jiffies, tend)) { | ||
209 | if (!(~titan_readl(CPDSR) & (0x1 << (slice_xicap * 4)))) | ||
210 | break; | ||
211 | yield(); | ||
212 | } | ||
213 | |||
214 | if (~titan_readl(CPDSR) & (0x1 << (slice_xicap * 4))) { | ||
215 | printk(KERN_ERR "%s: DLL not locked after %u seconds\n", | ||
216 | xicap_pdev.name, DLL_TIMEOUT); | ||
217 | retval = -ETIME; | ||
218 | } else { | ||
219 | /* Register platform device */ | ||
220 | retval = platform_device_register(&xicap_pdev); | ||
221 | } | ||
222 | |||
223 | return retval; | ||
224 | } | ||
225 | |||
226 | device_initcall(xicap_devinit); | ||
227 | #endif /* defined(CONFIG_EXCITE_FCAP_GPI) || defined(CONFIG_EXCITE_FCAP_GPI_MODULE) */ | ||
228 | |||
229 | |||
230 | |||
231 | #if defined(CONFIG_WDT_RM9K_GPI) || defined(CONFIG_WDT_RM9K_GPI_MODULE) | ||
232 | static struct resource wdt_rsrc[] = { | ||
233 | RINIT(0, 0, WDT_RESOURCE_COUNTER, &excite_ctr_resource), | ||
234 | RINIT(0x0084, 0x008f, WDT_RESOURCE_REGS, &excite_titan_resource), | ||
235 | RINIT_IRQ(TITAN_IRQ, WDT_RESOURCE_IRQ) | ||
236 | }; | ||
237 | |||
238 | static struct platform_device wdt_pdev = { | ||
239 | .name = WDT_NAME, | ||
240 | .id = -1, | ||
241 | .num_resources = ARRAY_SIZE(wdt_rsrc), | ||
242 | .resource = wdt_rsrc | ||
243 | }; | ||
244 | |||
245 | /* | ||
246 | * Create a platform device for the GPI port that receives the | ||
247 | * image data from the embedded camera. | ||
248 | */ | ||
249 | static int __init wdt_devinit(void) | ||
250 | { | ||
251 | adjust_resources(wdt_rsrc, ARRAY_SIZE(wdt_rsrc)); | ||
252 | return platform_device_register(&wdt_pdev); | ||
253 | } | ||
254 | |||
255 | device_initcall(wdt_devinit); | ||
256 | #endif /* defined(CONFIG_WDT_RM9K_GPI) || defined(CONFIG_WDT_RM9K_GPI_MODULE) */ | ||
257 | |||
258 | |||
259 | |||
260 | static struct resource excite_nandflash_rsrc[] = { | ||
261 | RINIT(0x2000, 0x201f, EXCITE_NANDFLASH_RESOURCE_REGS, &excite_nand_resource) | ||
262 | }; | ||
263 | |||
264 | static struct platform_device excite_nandflash_pdev = { | ||
265 | .name = "excite_nand", | ||
266 | .id = NAND_UNIT, | ||
267 | .num_resources = ARRAY_SIZE(excite_nandflash_rsrc), | ||
268 | .resource = excite_nandflash_rsrc | ||
269 | }; | ||
270 | |||
271 | /* | ||
272 | * Create a platform device for the access to the nand-flash | ||
273 | * port | ||
274 | */ | ||
275 | static int __init excite_nandflash_devinit(void) | ||
276 | { | ||
277 | adjust_resources(excite_nandflash_rsrc, ARRAY_SIZE(excite_nandflash_rsrc)); | ||
278 | |||
279 | /* nothing to be done here */ | ||
280 | |||
281 | /* Register platform device */ | ||
282 | return platform_device_register(&excite_nandflash_pdev); | ||
283 | } | ||
284 | |||
285 | device_initcall(excite_nandflash_devinit); | ||
286 | |||
287 | |||
288 | |||
289 | static struct resource iodev_rsrc[] = { | ||
290 | RINIT_IRQ(FPGA1_IRQ, IODEV_RESOURCE_IRQ) | ||
291 | }; | ||
292 | |||
293 | static struct platform_device io_pdev = { | ||
294 | .name = IODEV_NAME, | ||
295 | .id = -1, | ||
296 | .num_resources = ARRAY_SIZE(iodev_rsrc), | ||
297 | .resource = iodev_rsrc | ||
298 | }; | ||
299 | |||
300 | /* | ||
301 | * Create a platform device for the external I/O ports. | ||
302 | */ | ||
303 | static int __init io_devinit(void) | ||
304 | { | ||
305 | adjust_resources(iodev_rsrc, ARRAY_SIZE(iodev_rsrc)); | ||
306 | return platform_device_register(&io_pdev); | ||
307 | } | ||
308 | |||
309 | device_initcall(io_devinit); | ||
310 | |||
311 | |||
312 | |||
313 | |||
314 | #if defined(CONFIG_RM9K_GE) || defined(CONFIG_RM9K_GE_MODULE) | ||
315 | static struct resource rm9k_ge_rsrc[] = { | ||
316 | RINIT(0x2200, 0x27ff, RM9K_GE_RESOURCE_MAC, &excite_titan_resource), | ||
317 | RINIT(0x1800, 0x1fff, RM9K_GE_RESOURCE_MSTAT, &excite_titan_resource), | ||
318 | RINIT(0x2000, 0x212f, RM9K_GE_RESOURCE_PKTPROC, &excite_titan_resource), | ||
319 | RINIT(0x5140, 0x5227, RM9K_GE_RESOURCE_XDMA, &excite_titan_resource), | ||
320 | RINIT(0x4870, 0x489f, RM9K_GE_RESOURCE_FIFO_RX, &excite_titan_resource), | ||
321 | RINIT(0x494c, 0x4957, RM9K_GE_RESOURCE_FIFO_TX, &excite_titan_resource), | ||
322 | RINIT(0x0000, 0x007f, RM9K_GE_RESOURCE_FIFOMEM_RX, &excite_fifomem_resource), | ||
323 | RINIT(0x0080, 0x00ff, RM9K_GE_RESOURCE_FIFOMEM_TX, &excite_fifomem_resource), | ||
324 | RINIT(0x0180, 0x019f, RM9K_GE_RESOURCE_PHY, &excite_titan_resource), | ||
325 | RINIT(0x0000, 0x03ff, RM9K_GE_RESOURCE_DMADESC_RX, &excite_scram_resource), | ||
326 | RINIT(0x0400, 0x07ff, RM9K_GE_RESOURCE_DMADESC_TX, &excite_scram_resource), | ||
327 | RINIT(slice_eth, slice_eth, RM9K_GE_RESOURCE_GPI_SLICE, &excite_gpislice_resource), | ||
328 | RINIT(0, 0, RM9K_GE_RESOURCE_MDIO_CHANNEL, &excite_mdio_channel_resource), | ||
329 | RINIT_IRQ(TITAN_IRQ, RM9K_GE_RESOURCE_IRQ_MAIN), | ||
330 | RINIT_IRQ(PHY_IRQ, RM9K_GE_RESOURCE_IRQ_PHY) | ||
331 | }; | ||
332 | |||
333 | static struct platform_device rm9k_ge_pdev = { | ||
334 | .name = RM9K_GE_NAME, | ||
335 | .id = RM9K_GE_UNIT, | ||
336 | .num_resources = ARRAY_SIZE(rm9k_ge_rsrc), | ||
337 | .resource = rm9k_ge_rsrc | ||
338 | }; | ||
339 | |||
340 | |||
341 | |||
342 | /* | ||
343 | * Create a platform device for the Ethernet port. | ||
344 | */ | ||
345 | static int __init rm9k_ge_devinit(void) | ||
346 | { | ||
347 | u32 reg; | ||
348 | |||
349 | adjust_resources(rm9k_ge_rsrc, ARRAY_SIZE(rm9k_ge_rsrc)); | ||
350 | |||
351 | /* Power up the slice and configure it. */ | ||
352 | reg = titan_readl(CPTC1R); | ||
353 | reg &= ~(0x11000 << slice_eth); | ||
354 | reg |= 0x100 << slice_eth; | ||
355 | titan_writel(reg, CPTC1R); | ||
356 | |||
357 | /* Take the MAC out of reset, reset the DLLs. */ | ||
358 | reg = titan_readl(CPRR); | ||
359 | reg &= ~(0x00030000 << (slice_eth * 2)); | ||
360 | reg |= 0x3 << (slice_eth * 2); | ||
361 | titan_writel(reg, CPRR); | ||
362 | |||
363 | return platform_device_register(&rm9k_ge_pdev); | ||
364 | } | ||
365 | |||
366 | device_initcall(rm9k_ge_devinit); | ||
367 | #endif /* defined(CONFIG_RM9K_GE) || defined(CONFIG_RM9K_GE_MODULE) */ | ||
368 | |||
369 | |||
370 | |||
371 | static int __init excite_setup_devs(void) | ||
372 | { | ||
373 | int res; | ||
374 | u32 reg; | ||
375 | |||
376 | /* Enable xdma and fifo interrupts */ | ||
377 | reg = titan_readl(0x0050); | ||
378 | titan_writel(reg | 0x18000000, 0x0050); | ||
379 | |||
380 | res = request_resource(&iomem_resource, &excite_titan_resource); | ||
381 | if (res) | ||
382 | return res; | ||
383 | res = request_resource(&iomem_resource, &excite_scram_resource); | ||
384 | if (res) | ||
385 | return res; | ||
386 | res = request_resource(&iomem_resource, &excite_fpga_resource); | ||
387 | if (res) | ||
388 | return res; | ||
389 | res = request_resource(&iomem_resource, &excite_nand_resource); | ||
390 | if (res) | ||
391 | return res; | ||
392 | excite_fpga_resource.flags = excite_fpga_resource.parent->flags & | ||
393 | ( IORESOURCE_IO | IORESOURCE_MEM | ||
394 | | IORESOURCE_IRQ | IORESOURCE_DMA); | ||
395 | excite_nand_resource.flags = excite_nand_resource.parent->flags & | ||
396 | ( IORESOURCE_IO | IORESOURCE_MEM | ||
397 | | IORESOURCE_IRQ | IORESOURCE_DMA); | ||
398 | |||
399 | return 0; | ||
400 | } | ||
401 | |||
402 | arch_initcall(excite_setup_devs); | ||
403 | |||
diff --git a/arch/mips/basler/excite/excite_iodev.c b/arch/mips/basler/excite/excite_iodev.c deleted file mode 100644 index 733b2420418a..000000000000 --- a/arch/mips/basler/excite/excite_iodev.c +++ /dev/null | |||
@@ -1,178 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | |||
20 | #include <linux/compiler.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/module.h> | ||
23 | #include <linux/sched.h> | ||
24 | #include <linux/wait.h> | ||
25 | #include <linux/poll.h> | ||
26 | #include <linux/interrupt.h> | ||
27 | #include <linux/platform_device.h> | ||
28 | #include <linux/miscdevice.h> | ||
29 | #include <linux/smp_lock.h> | ||
30 | |||
31 | #include "excite_iodev.h" | ||
32 | |||
33 | |||
34 | |||
35 | static const struct resource *iodev_get_resource(struct platform_device *, const char *, unsigned int); | ||
36 | static int __init iodev_probe(struct platform_device *); | ||
37 | static int __devexit iodev_remove(struct platform_device *); | ||
38 | static int iodev_open(struct inode *, struct file *); | ||
39 | static int iodev_release(struct inode *, struct file *); | ||
40 | static ssize_t iodev_read(struct file *, char __user *, size_t s, loff_t *); | ||
41 | static unsigned int iodev_poll(struct file *, struct poll_table_struct *); | ||
42 | static irqreturn_t iodev_irqhdl(int, void *); | ||
43 | |||
44 | |||
45 | |||
46 | static const char iodev_name[] = "iodev"; | ||
47 | static unsigned int iodev_irq; | ||
48 | static DECLARE_WAIT_QUEUE_HEAD(wq); | ||
49 | |||
50 | |||
51 | |||
52 | static const struct file_operations fops = | ||
53 | { | ||
54 | .owner = THIS_MODULE, | ||
55 | .open = iodev_open, | ||
56 | .release = iodev_release, | ||
57 | .read = iodev_read, | ||
58 | .poll = iodev_poll | ||
59 | }; | ||
60 | |||
61 | static struct miscdevice miscdev = | ||
62 | { | ||
63 | .minor = MISC_DYNAMIC_MINOR, | ||
64 | .name = iodev_name, | ||
65 | .fops = &fops | ||
66 | }; | ||
67 | |||
68 | static struct platform_driver iodev_driver = { | ||
69 | .driver = { | ||
70 | .name = iodev_name, | ||
71 | .owner = THIS_MODULE, | ||
72 | }, | ||
73 | .probe = iodev_probe, | ||
74 | .remove = __devexit_p(iodev_remove), | ||
75 | }; | ||
76 | |||
77 | |||
78 | |||
79 | static const struct resource * | ||
80 | iodev_get_resource(struct platform_device *pdv, const char *name, | ||
81 | unsigned int type) | ||
82 | { | ||
83 | char buf[80]; | ||
84 | if (snprintf(buf, sizeof buf, "%s_0", name) >= sizeof buf) | ||
85 | return NULL; | ||
86 | return platform_get_resource_byname(pdv, type, buf); | ||
87 | } | ||
88 | |||
89 | |||
90 | |||
91 | /* No hotplugging on the platform bus - use __init */ | ||
92 | static int __init iodev_probe(struct platform_device *dev) | ||
93 | { | ||
94 | const struct resource * const ri = | ||
95 | iodev_get_resource(dev, IODEV_RESOURCE_IRQ, IORESOURCE_IRQ); | ||
96 | |||
97 | if (unlikely(!ri)) | ||
98 | return -ENXIO; | ||
99 | |||
100 | iodev_irq = ri->start; | ||
101 | return misc_register(&miscdev); | ||
102 | } | ||
103 | |||
104 | |||
105 | |||
106 | static int __devexit iodev_remove(struct platform_device *dev) | ||
107 | { | ||
108 | return misc_deregister(&miscdev); | ||
109 | } | ||
110 | |||
111 | static int iodev_open(struct inode *i, struct file *f) | ||
112 | { | ||
113 | int ret; | ||
114 | |||
115 | ret = request_irq(iodev_irq, iodev_irqhdl, IRQF_DISABLED, | ||
116 | iodev_name, &miscdev); | ||
117 | |||
118 | return ret; | ||
119 | } | ||
120 | |||
121 | static int iodev_release(struct inode *i, struct file *f) | ||
122 | { | ||
123 | free_irq(iodev_irq, &miscdev); | ||
124 | return 0; | ||
125 | } | ||
126 | |||
127 | |||
128 | |||
129 | |||
130 | static ssize_t | ||
131 | iodev_read(struct file *f, char __user *d, size_t s, loff_t *o) | ||
132 | { | ||
133 | ssize_t ret; | ||
134 | DEFINE_WAIT(w); | ||
135 | |||
136 | prepare_to_wait(&wq, &w, TASK_INTERRUPTIBLE); | ||
137 | if (!signal_pending(current)) | ||
138 | schedule(); | ||
139 | ret = signal_pending(current) ? -ERESTARTSYS : 0; | ||
140 | finish_wait(&wq, &w); | ||
141 | return ret; | ||
142 | } | ||
143 | |||
144 | |||
145 | static unsigned int iodev_poll(struct file *f, struct poll_table_struct *p) | ||
146 | { | ||
147 | poll_wait(f, &wq, p); | ||
148 | return POLLOUT | POLLWRNORM; | ||
149 | } | ||
150 | |||
151 | static irqreturn_t iodev_irqhdl(int irq, void *ctxt) | ||
152 | { | ||
153 | wake_up(&wq); | ||
154 | |||
155 | return IRQ_HANDLED; | ||
156 | } | ||
157 | |||
158 | static int __init iodev_init_module(void) | ||
159 | { | ||
160 | return platform_driver_register(&iodev_driver); | ||
161 | } | ||
162 | |||
163 | |||
164 | |||
165 | static void __exit iodev_cleanup_module(void) | ||
166 | { | ||
167 | platform_driver_unregister(&iodev_driver); | ||
168 | } | ||
169 | |||
170 | module_init(iodev_init_module); | ||
171 | module_exit(iodev_cleanup_module); | ||
172 | |||
173 | |||
174 | |||
175 | MODULE_AUTHOR("Thomas Koeller <thomas.koeller@baslerweb.com>"); | ||
176 | MODULE_DESCRIPTION("Basler eXcite i/o interrupt handler"); | ||
177 | MODULE_VERSION("0.0"); | ||
178 | MODULE_LICENSE("GPL"); | ||
diff --git a/arch/mips/basler/excite/excite_iodev.h b/arch/mips/basler/excite/excite_iodev.h deleted file mode 100644 index cbfbb5d2ee62..000000000000 --- a/arch/mips/basler/excite/excite_iodev.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #ifndef __EXCITE_IODEV_H__ | ||
2 | #define __EXCITE_IODEV_H__ | ||
3 | |||
4 | /* Device name */ | ||
5 | #define IODEV_NAME "iodev" | ||
6 | |||
7 | /* Resource names */ | ||
8 | #define IODEV_RESOURCE_IRQ "excite_iodev_irq" | ||
9 | |||
10 | #endif /* __EXCITE_IODEV_H__ */ | ||
diff --git a/arch/mips/basler/excite/excite_irq.c b/arch/mips/basler/excite/excite_irq.c deleted file mode 100644 index 934e0a6b1011..000000000000 --- a/arch/mips/basler/excite/excite_irq.c +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslereb.com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | |||
20 | #include <linux/errno.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/kernel_stat.h> | ||
23 | #include <linux/module.h> | ||
24 | #include <linux/signal.h> | ||
25 | #include <linux/sched.h> | ||
26 | #include <linux/types.h> | ||
27 | #include <linux/interrupt.h> | ||
28 | #include <linux/ioport.h> | ||
29 | #include <linux/timex.h> | ||
30 | #include <linux/slab.h> | ||
31 | #include <linux/random.h> | ||
32 | #include <linux/bitops.h> | ||
33 | #include <asm/bootinfo.h> | ||
34 | #include <asm/io.h> | ||
35 | #include <asm/irq.h> | ||
36 | #include <asm/irq_cpu.h> | ||
37 | #include <asm/mipsregs.h> | ||
38 | #include <asm/system.h> | ||
39 | #include <asm/rm9k-ocd.h> | ||
40 | |||
41 | #include <excite.h> | ||
42 | |||
43 | extern asmlinkage void excite_handle_int(void); | ||
44 | |||
45 | /* | ||
46 | * Initialize the interrupt handler | ||
47 | */ | ||
48 | void __init arch_init_irq(void) | ||
49 | { | ||
50 | mips_cpu_irq_init(); | ||
51 | rm7k_cpu_irq_init(); | ||
52 | rm9k_cpu_irq_init(); | ||
53 | } | ||
54 | |||
55 | asmlinkage void plat_irq_dispatch(void) | ||
56 | { | ||
57 | const u32 | ||
58 | interrupts = read_c0_cause() >> 8, | ||
59 | mask = ((read_c0_status() >> 8) & 0x000000ff) | | ||
60 | (read_c0_intcontrol() & 0x0000ff00), | ||
61 | pending = interrupts & mask; | ||
62 | u32 msgintflags, msgintmask, msgint; | ||
63 | |||
64 | /* process timer interrupt */ | ||
65 | if (pending & (1 << TIMER_IRQ)) { | ||
66 | do_IRQ(TIMER_IRQ); | ||
67 | return; | ||
68 | } | ||
69 | |||
70 | /* Process PCI interrupts */ | ||
71 | #if USB_IRQ < 10 | ||
72 | msgintflags = ocd_readl(INTP0Status0 + (USB_MSGINT / 0x20 * 0x10)); | ||
73 | msgintmask = ocd_readl(INTP0Mask0 + (USB_MSGINT / 0x20 * 0x10)); | ||
74 | msgint = msgintflags & msgintmask & (0x1 << (USB_MSGINT % 0x20)); | ||
75 | if ((pending & (1 << USB_IRQ)) && msgint) { | ||
76 | #else | ||
77 | if (pending & (1 << USB_IRQ)) { | ||
78 | #endif | ||
79 | do_IRQ(USB_IRQ); | ||
80 | return; | ||
81 | } | ||
82 | |||
83 | /* Process TITAN interrupts */ | ||
84 | msgintflags = ocd_readl(INTP0Status0 + (TITAN_MSGINT / 0x20 * 0x10)); | ||
85 | msgintmask = ocd_readl(INTP0Mask0 + (TITAN_MSGINT / 0x20 * 0x10)); | ||
86 | msgint = msgintflags & msgintmask & (0x1 << (TITAN_MSGINT % 0x20)); | ||
87 | if ((pending & (1 << TITAN_IRQ)) && msgint) { | ||
88 | ocd_writel(msgint, INTP0Clear0 + (TITAN_MSGINT / 0x20 * 0x10)); | ||
89 | do_IRQ(TITAN_IRQ); | ||
90 | return; | ||
91 | } | ||
92 | |||
93 | /* Process FPGA line #0 interrupts */ | ||
94 | msgintflags = ocd_readl(INTP0Status0 + (FPGA0_MSGINT / 0x20 * 0x10)); | ||
95 | msgintmask = ocd_readl(INTP0Mask0 + (FPGA0_MSGINT / 0x20 * 0x10)); | ||
96 | msgint = msgintflags & msgintmask & (0x1 << (FPGA0_MSGINT % 0x20)); | ||
97 | if ((pending & (1 << FPGA0_IRQ)) && msgint) { | ||
98 | do_IRQ(FPGA0_IRQ); | ||
99 | return; | ||
100 | } | ||
101 | |||
102 | /* Process FPGA line #1 interrupts */ | ||
103 | msgintflags = ocd_readl(INTP0Status0 + (FPGA1_MSGINT / 0x20 * 0x10)); | ||
104 | msgintmask = ocd_readl(INTP0Mask0 + (FPGA1_MSGINT / 0x20 * 0x10)); | ||
105 | msgint = msgintflags & msgintmask & (0x1 << (FPGA1_MSGINT % 0x20)); | ||
106 | if ((pending & (1 << FPGA1_IRQ)) && msgint) { | ||
107 | do_IRQ(FPGA1_IRQ); | ||
108 | return; | ||
109 | } | ||
110 | |||
111 | /* Process PHY interrupts */ | ||
112 | msgintflags = ocd_readl(INTP0Status0 + (PHY_MSGINT / 0x20 * 0x10)); | ||
113 | msgintmask = ocd_readl(INTP0Mask0 + (PHY_MSGINT / 0x20 * 0x10)); | ||
114 | msgint = msgintflags & msgintmask & (0x1 << (PHY_MSGINT % 0x20)); | ||
115 | if ((pending & (1 << PHY_IRQ)) && msgint) { | ||
116 | do_IRQ(PHY_IRQ); | ||
117 | return; | ||
118 | } | ||
119 | |||
120 | /* Process spurious interrupts */ | ||
121 | spurious_interrupt(); | ||
122 | } | ||
diff --git a/arch/mips/basler/excite/excite_procfs.c b/arch/mips/basler/excite/excite_procfs.c deleted file mode 100644 index 08923e6825b5..000000000000 --- a/arch/mips/basler/excite/excite_procfs.c +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004, 2005 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * | ||
5 | * Procfs support for Basler eXcite | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | */ | ||
21 | #include <linux/module.h> | ||
22 | #include <linux/proc_fs.h> | ||
23 | #include <linux/seq_file.h> | ||
24 | #include <linux/stat.h> | ||
25 | #include <asm/page.h> | ||
26 | #include <asm/io.h> | ||
27 | #include <asm/system.h> | ||
28 | #include <asm/rm9k-ocd.h> | ||
29 | |||
30 | #include <excite.h> | ||
31 | |||
32 | static int excite_unit_id_proc_show(struct seq_file *m, void *v) | ||
33 | { | ||
34 | seq_printf(m, "%06x", unit_id); | ||
35 | return 0; | ||
36 | } | ||
37 | |||
38 | static int excite_unit_id_proc_open(struct inode *inode, struct file *file) | ||
39 | { | ||
40 | return single_open(file, excite_unit_id_proc_show, NULL); | ||
41 | } | ||
42 | |||
43 | static const struct file_operations excite_unit_id_proc_fops = { | ||
44 | .owner = THIS_MODULE, | ||
45 | .open = excite_unit_id_proc_open, | ||
46 | .read = seq_read, | ||
47 | .llseek = seq_lseek, | ||
48 | .release = single_release, | ||
49 | }; | ||
50 | |||
51 | static int | ||
52 | excite_bootrom_read(char *page, char **start, off_t off, int count, | ||
53 | int *eof, void *data) | ||
54 | { | ||
55 | void __iomem * src; | ||
56 | |||
57 | if (off >= EXCITE_SIZE_BOOTROM) { | ||
58 | *eof = 1; | ||
59 | return 0; | ||
60 | } | ||
61 | |||
62 | if ((off + count) > EXCITE_SIZE_BOOTROM) | ||
63 | count = EXCITE_SIZE_BOOTROM - off; | ||
64 | |||
65 | src = ioremap(EXCITE_PHYS_BOOTROM + off, count); | ||
66 | if (src) { | ||
67 | memcpy_fromio(page, src, count); | ||
68 | iounmap(src); | ||
69 | *start = page; | ||
70 | } else { | ||
71 | count = -ENOMEM; | ||
72 | } | ||
73 | |||
74 | return count; | ||
75 | } | ||
76 | |||
77 | void excite_procfs_init(void) | ||
78 | { | ||
79 | /* Create & populate /proc/excite */ | ||
80 | struct proc_dir_entry * const pdir = proc_mkdir("excite", NULL); | ||
81 | if (pdir) { | ||
82 | struct proc_dir_entry * e; | ||
83 | |||
84 | e = proc_create("unit_id", S_IRUGO, pdir, | ||
85 | &excite_unit_id_proc_fops); | ||
86 | if (e) e->size = 6; | ||
87 | |||
88 | e = create_proc_read_entry("bootrom", S_IRUGO, pdir, | ||
89 | excite_bootrom_read, NULL); | ||
90 | if (e) e->size = EXCITE_SIZE_BOOTROM; | ||
91 | } | ||
92 | } | ||
diff --git a/arch/mips/basler/excite/excite_prom.c b/arch/mips/basler/excite/excite_prom.c deleted file mode 100644 index 68d8bc597e34..000000000000 --- a/arch/mips/basler/excite/excite_prom.c +++ /dev/null | |||
@@ -1,144 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004, 2005 by Thomas Koeller (thomas.koeller@baslerweb.com) | ||
3 | * Based on the PMC-Sierra Yosemite board support by Ralf Baechle and | ||
4 | * Manish Lachwani. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | ||
20 | |||
21 | #include <linux/init.h> | ||
22 | #include <linux/sched.h> | ||
23 | #include <linux/mm.h> | ||
24 | #include <linux/delay.h> | ||
25 | #include <linux/smp.h> | ||
26 | #include <linux/module.h> | ||
27 | #include <asm/io.h> | ||
28 | #include <asm/pgtable.h> | ||
29 | #include <asm/processor.h> | ||
30 | #include <asm/reboot.h> | ||
31 | #include <asm/system.h> | ||
32 | #include <asm/bootinfo.h> | ||
33 | #include <asm/string.h> | ||
34 | |||
35 | #include <excite.h> | ||
36 | |||
37 | /* This struct is used by Redboot to pass arguments to the kernel */ | ||
38 | typedef struct | ||
39 | { | ||
40 | char *name; | ||
41 | char *val; | ||
42 | } t_env_var; | ||
43 | |||
44 | struct parmblock { | ||
45 | t_env_var memsize; | ||
46 | t_env_var modetty0; | ||
47 | t_env_var ethaddr; | ||
48 | t_env_var env_end; | ||
49 | char *argv[2]; | ||
50 | char text[0]; | ||
51 | }; | ||
52 | |||
53 | static unsigned int prom_argc; | ||
54 | static const char ** prom_argv; | ||
55 | static const t_env_var * prom_env; | ||
56 | |||
57 | static void prom_halt(void) __attribute__((noreturn)); | ||
58 | static void prom_exit(void) __attribute__((noreturn)); | ||
59 | |||
60 | |||
61 | |||
62 | const char *get_system_type(void) | ||
63 | { | ||
64 | return "Basler eXcite"; | ||
65 | } | ||
66 | |||
67 | /* | ||
68 | * Halt the system | ||
69 | */ | ||
70 | static void prom_halt(void) | ||
71 | { | ||
72 | printk(KERN_NOTICE "\n** System halted.\n"); | ||
73 | while (1) | ||
74 | asm volatile ( | ||
75 | "\t.set\tmips3\n" | ||
76 | "\twait\n" | ||
77 | "\t.set\tmips0\n" | ||
78 | ); | ||
79 | } | ||
80 | |||
81 | /* | ||
82 | * Reset the CPU and re-enter Redboot | ||
83 | */ | ||
84 | static void prom_exit(void) | ||
85 | { | ||
86 | unsigned int i; | ||
87 | volatile unsigned char * const flg = | ||
88 | (volatile unsigned char *) (EXCITE_ADDR_FPGA + EXCITE_FPGA_DPR); | ||
89 | |||
90 | /* Clear the watchdog reset flag, set the reboot flag */ | ||
91 | *flg &= ~0x01; | ||
92 | *flg |= 0x80; | ||
93 | |||
94 | for (i = 0; i < 10; i++) { | ||
95 | *(volatile unsigned char *) (EXCITE_ADDR_FPGA + EXCITE_FPGA_SYSCTL) = 0x02; | ||
96 | iob(); | ||
97 | mdelay(1000); | ||
98 | } | ||
99 | |||
100 | printk(KERN_NOTICE "Reset failed\n"); | ||
101 | prom_halt(); | ||
102 | } | ||
103 | |||
104 | static const char __init *prom_getenv(char *name) | ||
105 | { | ||
106 | const t_env_var * p; | ||
107 | for (p = prom_env; p->name != NULL; p++) | ||
108 | if(strcmp(name, p->name) == 0) | ||
109 | break; | ||
110 | return p->val; | ||
111 | } | ||
112 | |||
113 | /* | ||
114 | * Init routine which accepts the variables from Redboot | ||
115 | */ | ||
116 | void __init prom_init(void) | ||
117 | { | ||
118 | const struct parmblock * const pb = (struct parmblock *) fw_arg2; | ||
119 | |||
120 | prom_argc = fw_arg0; | ||
121 | prom_argv = (const char **) fw_arg1; | ||
122 | prom_env = &pb->memsize; | ||
123 | |||
124 | /* Callbacks for halt, restart */ | ||
125 | _machine_restart = (void (*)(char *)) prom_exit; | ||
126 | _machine_halt = prom_halt; | ||
127 | |||
128 | #ifdef CONFIG_32BIT | ||
129 | /* copy command line */ | ||
130 | strcpy(arcs_cmdline, prom_argv[1]); | ||
131 | memsize = simple_strtol(prom_getenv("memsize"), NULL, 16); | ||
132 | strcpy(modetty, prom_getenv("modetty0")); | ||
133 | #endif /* CONFIG_32BIT */ | ||
134 | |||
135 | #ifdef CONFIG_64BIT | ||
136 | # error 64 bit support not implemented | ||
137 | #endif /* CONFIG_64BIT */ | ||
138 | } | ||
139 | |||
140 | /* This is called from free_initmem(), so we need to provide it */ | ||
141 | void __init prom_free_prom_memory(void) | ||
142 | { | ||
143 | /* Nothing to do */ | ||
144 | } | ||
diff --git a/arch/mips/basler/excite/excite_setup.c b/arch/mips/basler/excite/excite_setup.c deleted file mode 100644 index d66b3b8edf2a..000000000000 --- a/arch/mips/basler/excite/excite_setup.c +++ /dev/null | |||
@@ -1,302 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004, 2005 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * Based on the PMC-Sierra Yosemite board support by Ralf Baechle and | ||
5 | * Manish Lachwani. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | */ | ||
21 | |||
22 | #include <linux/types.h> | ||
23 | #include <linux/kernel.h> | ||
24 | #include <linux/module.h> | ||
25 | #include <linux/string.h> | ||
26 | #include <linux/tty.h> | ||
27 | #include <linux/serial_core.h> | ||
28 | #include <linux/serial.h> | ||
29 | #include <linux/serial_8250.h> | ||
30 | #include <linux/ioport.h> | ||
31 | #include <linux/spinlock.h> | ||
32 | #include <asm/bootinfo.h> | ||
33 | #include <asm/mipsregs.h> | ||
34 | #include <asm/pgtable-32.h> | ||
35 | #include <asm/io.h> | ||
36 | #include <asm/time.h> | ||
37 | #include <asm/rm9k-ocd.h> | ||
38 | |||
39 | #include <excite.h> | ||
40 | |||
41 | #define TITAN_UART_CLK 25000000 | ||
42 | |||
43 | #if 1 | ||
44 | /* normal serial port assignment */ | ||
45 | #define REGBASE_SER0 0x0208 | ||
46 | #define REGBASE_SER1 0x0238 | ||
47 | #define MASK_SER0 0x1 | ||
48 | #define MASK_SER1 0x2 | ||
49 | #else | ||
50 | /* serial ports swapped */ | ||
51 | #define REGBASE_SER0 0x0238 | ||
52 | #define REGBASE_SER1 0x0208 | ||
53 | #define MASK_SER0 0x2 | ||
54 | #define MASK_SER1 0x1 | ||
55 | #endif | ||
56 | |||
57 | unsigned long memsize; | ||
58 | char modetty[30]; | ||
59 | unsigned int titan_irq = TITAN_IRQ; | ||
60 | static void __iomem * ctl_regs; | ||
61 | u32 unit_id; | ||
62 | |||
63 | volatile void __iomem * const ocd_base = (void *) (EXCITE_ADDR_OCD); | ||
64 | volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN); | ||
65 | |||
66 | /* Protect access to shared GPI registers */ | ||
67 | DEFINE_SPINLOCK(titan_lock); | ||
68 | int titan_irqflags; | ||
69 | |||
70 | |||
71 | /* | ||
72 | * The eXcite platform uses the alternate timer interrupt | ||
73 | * | ||
74 | * Fixme: At the time of this writing cevt-r4k.c doesn't yet know about how | ||
75 | * to handle the alternate timer interrupt of the RM9000. | ||
76 | */ | ||
77 | void __init plat_time_init(void) | ||
78 | { | ||
79 | const u32 modebit5 = ocd_readl(0x00e4); | ||
80 | unsigned int mult = ((modebit5 >> 11) & 0x1f) + 2; | ||
81 | unsigned int div = ((modebit5 >> 16) & 0x1f) + 2; | ||
82 | |||
83 | if (div == 33) | ||
84 | div = 1; | ||
85 | mips_hpt_frequency = EXCITE_CPU_EXT_CLOCK * mult / div / 2; | ||
86 | } | ||
87 | |||
88 | static int __init excite_init_console(void) | ||
89 | { | ||
90 | #if defined(CONFIG_SERIAL_8250) | ||
91 | static __initdata char serr[] = | ||
92 | KERN_ERR "Serial port #%u setup failed\n"; | ||
93 | struct uart_port up; | ||
94 | |||
95 | /* Take the DUART out of reset */ | ||
96 | titan_writel(0x00ff1cff, CPRR); | ||
97 | |||
98 | #if (CONFIG_SERIAL_8250_NR_UARTS > 1) | ||
99 | /* Enable both ports */ | ||
100 | titan_writel(MASK_SER0 | MASK_SER1, UACFG); | ||
101 | #else | ||
102 | /* Enable port #0 only */ | ||
103 | titan_writel(MASK_SER0, UACFG); | ||
104 | #endif | ||
105 | |||
106 | /* | ||
107 | * Set up serial port #0. Do not use autodetection; the result is | ||
108 | * not what we want. | ||
109 | */ | ||
110 | memset(&up, 0, sizeof(up)); | ||
111 | up.membase = (char *) titan_addr(REGBASE_SER0); | ||
112 | up.irq = TITAN_IRQ; | ||
113 | up.uartclk = TITAN_UART_CLK; | ||
114 | up.regshift = 0; | ||
115 | up.iotype = UPIO_RM9000; | ||
116 | up.type = PORT_RM9000; | ||
117 | up.flags = UPF_SHARE_IRQ; | ||
118 | up.line = 0; | ||
119 | if (early_serial_setup(&up)) | ||
120 | printk(serr, up.line); | ||
121 | |||
122 | #if CONFIG_SERIAL_8250_NR_UARTS > 1 | ||
123 | /* And now for port #1. */ | ||
124 | up.membase = (char *) titan_addr(REGBASE_SER1); | ||
125 | up.line = 1; | ||
126 | if (early_serial_setup(&up)) | ||
127 | printk(serr, up.line); | ||
128 | #endif /* CONFIG_SERIAL_8250_NR_UARTS > 1 */ | ||
129 | #else | ||
130 | /* Leave the DUART in reset */ | ||
131 | titan_writel(0x00ff3cff, CPRR); | ||
132 | #endif /* defined(CONFIG_SERIAL_8250) */ | ||
133 | |||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | static int __init excite_platform_init(void) | ||
138 | { | ||
139 | unsigned int i; | ||
140 | unsigned char buf[3]; | ||
141 | u8 reg; | ||
142 | void __iomem * dpr; | ||
143 | |||
144 | /* BIU buffer allocations */ | ||
145 | ocd_writel(8, CPURSLMT); /* CPU */ | ||
146 | titan_writel(4, CPGRWL); /* GPI / Ethernet */ | ||
147 | |||
148 | /* Map control registers located in FPGA */ | ||
149 | ctl_regs = ioremap_nocache(EXCITE_PHYS_FPGA + EXCITE_FPGA_SYSCTL, 16); | ||
150 | if (!ctl_regs) | ||
151 | panic("eXcite: failed to map platform control registers\n"); | ||
152 | memcpy_fromio(buf, ctl_regs + 2, ARRAY_SIZE(buf)); | ||
153 | unit_id = buf[0] | (buf[1] << 8) | (buf[2] << 16); | ||
154 | |||
155 | /* Clear the reboot flag */ | ||
156 | dpr = ioremap_nocache(EXCITE_PHYS_FPGA + EXCITE_FPGA_DPR, 1); | ||
157 | reg = __raw_readb(dpr); | ||
158 | __raw_writeb(reg & 0x7f, dpr); | ||
159 | iounmap(dpr); | ||
160 | |||
161 | /* Interrupt controller setup */ | ||
162 | for (i = INTP0Status0; i < INTP0Status0 + 0x80; i += 0x10) { | ||
163 | ocd_writel(0x00000000, i + 0x04); | ||
164 | ocd_writel(0xffffffff, i + 0x0c); | ||
165 | } | ||
166 | ocd_writel(0x2, NMICONFIG); | ||
167 | |||
168 | ocd_writel(0x1 << (TITAN_MSGINT % 0x20), | ||
169 | INTP0Mask0 + (0x10 * (TITAN_MSGINT / 0x20))); | ||
170 | ocd_writel((0x1 << (FPGA0_MSGINT % 0x20)) | ||
171 | | ocd_readl(INTP0Mask0 + (0x10 * (FPGA0_MSGINT / 0x20))), | ||
172 | INTP0Mask0 + (0x10 * (FPGA0_MSGINT / 0x20))); | ||
173 | ocd_writel((0x1 << (FPGA1_MSGINT % 0x20)) | ||
174 | | ocd_readl(INTP0Mask0 + (0x10 * (FPGA1_MSGINT / 0x20))), | ||
175 | INTP0Mask0 + (0x10 * (FPGA1_MSGINT / 0x20))); | ||
176 | ocd_writel((0x1 << (PHY_MSGINT % 0x20)) | ||
177 | | ocd_readl(INTP0Mask0 + (0x10 * (PHY_MSGINT / 0x20))), | ||
178 | INTP0Mask0 + (0x10 * (PHY_MSGINT / 0x20))); | ||
179 | #if USB_IRQ < 10 | ||
180 | ocd_writel((0x1 << (USB_MSGINT % 0x20)) | ||
181 | | ocd_readl(INTP0Mask0 + (0x10 * (USB_MSGINT / 0x20))), | ||
182 | INTP0Mask0 + (0x10 * (USB_MSGINT / 0x20))); | ||
183 | #endif | ||
184 | /* Enable the packet FIFO, XDMA and XDMA arbiter */ | ||
185 | titan_writel(0x00ff18ff, CPRR); | ||
186 | |||
187 | /* | ||
188 | * Set up the PADMUX. Power down all ethernet slices, | ||
189 | * they will be powered up and configured at device startup. | ||
190 | */ | ||
191 | titan_writel(0x00878206, CPTC1R); | ||
192 | titan_writel(0x00001100, CPTC0R); /* latch PADMUX, enable WCIMODE */ | ||
193 | |||
194 | /* Reset and enable the FIFO block */ | ||
195 | titan_writel(0x00000001, SDRXFCIE); | ||
196 | titan_writel(0x00000001, SDTXFCIE); | ||
197 | titan_writel(0x00000100, SDRXFCIE); | ||
198 | titan_writel(0x00000000, SDTXFCIE); | ||
199 | |||
200 | /* | ||
201 | * Initialize the common interrupt shared by all components of | ||
202 | * the GPI/Ethernet subsystem. | ||
203 | */ | ||
204 | titan_writel((EXCITE_PHYS_OCD >> 12), CPCFG0); | ||
205 | titan_writel(TITAN_MSGINT, CPCFG1); | ||
206 | |||
207 | /* | ||
208 | * XDMA configuration. | ||
209 | * In order for the XDMA to be sharable among multiple drivers, | ||
210 | * the setup must be done here in the platform. The reason is that | ||
211 | * this setup can only be done while the XDMA is in reset. If this | ||
212 | * were done in a driver, it would interrupt all other drivers | ||
213 | * using the XDMA. | ||
214 | */ | ||
215 | titan_writel(0x80021dff, GXCFG); /* XDMA reset */ | ||
216 | titan_writel(0x00000000, CPXCISRA); | ||
217 | titan_writel(0x00000000, CPXCISRB); /* clear pending interrupts */ | ||
218 | #if defined(CONFIG_HIGHMEM) | ||
219 | # error change for HIGHMEM support! | ||
220 | #else | ||
221 | titan_writel(0x00000000, GXDMADRPFX); /* buffer address prefix */ | ||
222 | #endif | ||
223 | titan_writel(0, GXDMA_DESCADR); | ||
224 | |||
225 | for (i = 0x5040; i <= 0x5300; i += 0x0040) | ||
226 | titan_writel(0x80080000, i); /* reset channel */ | ||
227 | |||
228 | titan_writel((0x1 << 29) /* no sparse tx descr. */ | ||
229 | | (0x1 << 28) /* no sparse rx descr. */ | ||
230 | | (0x1 << 23) | (0x1 << 24) /* descriptor coherency */ | ||
231 | | (0x1 << 21) | (0x1 << 22) /* data coherency */ | ||
232 | | (0x1 << 17) | ||
233 | | 0x1dff, | ||
234 | GXCFG); | ||
235 | |||
236 | #if defined(CONFIG_SMP) | ||
237 | # error No SMP support | ||
238 | #else | ||
239 | /* All interrupts go to core #0 only. */ | ||
240 | titan_writel(0x1f007fff, CPDST0A); | ||
241 | titan_writel(0x00000000, CPDST0B); | ||
242 | titan_writel(0x0000ff3f, CPDST1A); | ||
243 | titan_writel(0x00000000, CPDST1B); | ||
244 | titan_writel(0x00ffffff, CPXDSTA); | ||
245 | titan_writel(0x00000000, CPXDSTB); | ||
246 | #endif | ||
247 | |||
248 | /* Enable DUART interrupts, disable everything else. */ | ||
249 | titan_writel(0x04000000, CPGIG0ER); | ||
250 | titan_writel(0x000000c0, CPGIG1ER); | ||
251 | |||
252 | excite_procfs_init(); | ||
253 | return 0; | ||
254 | } | ||
255 | |||
256 | void __init plat_mem_setup(void) | ||
257 | { | ||
258 | volatile u32 * const boot_ocd_base = (u32 *) 0xbf7fc000; | ||
259 | |||
260 | /* Announce RAM to system */ | ||
261 | add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); | ||
262 | |||
263 | /* Set up the peripheral address map */ | ||
264 | *(boot_ocd_base + (LKB9 / sizeof(u32))) = 0; | ||
265 | *(boot_ocd_base + (LKB10 / sizeof(u32))) = 0; | ||
266 | *(boot_ocd_base + (LKB11 / sizeof(u32))) = 0; | ||
267 | *(boot_ocd_base + (LKB12 / sizeof(u32))) = 0; | ||
268 | wmb(); | ||
269 | *(boot_ocd_base + (LKB0 / sizeof(u32))) = EXCITE_PHYS_OCD >> 4; | ||
270 | wmb(); | ||
271 | |||
272 | ocd_writel((EXCITE_PHYS_TITAN >> 4) | 0x1UL, LKB5); | ||
273 | ocd_writel(((EXCITE_SIZE_TITAN >> 4) & 0x7fffff00) - 0x100, LKM5); | ||
274 | ocd_writel((EXCITE_PHYS_SCRAM >> 4) | 0x1UL, LKB13); | ||
275 | ocd_writel(((EXCITE_SIZE_SCRAM >> 4) & 0xffffff00) - 0x100, LKM13); | ||
276 | |||
277 | /* Local bus slot #0 */ | ||
278 | ocd_writel(0x00040510, LDP0); | ||
279 | ocd_writel((EXCITE_PHYS_BOOTROM >> 4) | 0x1UL, LKB9); | ||
280 | ocd_writel(((EXCITE_SIZE_BOOTROM >> 4) & 0x03ffff00) - 0x100, LKM9); | ||
281 | |||
282 | /* Local bus slot #2 */ | ||
283 | ocd_writel(0x00000330, LDP2); | ||
284 | ocd_writel((EXCITE_PHYS_FPGA >> 4) | 0x1, LKB11); | ||
285 | ocd_writel(((EXCITE_SIZE_FPGA >> 4) - 0x100) & 0x03ffff00, LKM11); | ||
286 | |||
287 | /* Local bus slot #3 */ | ||
288 | ocd_writel(0x00123413, LDP3); | ||
289 | ocd_writel((EXCITE_PHYS_NAND >> 4) | 0x1, LKB12); | ||
290 | ocd_writel(((EXCITE_SIZE_NAND >> 4) - 0x100) & 0x03ffff00, LKM12); | ||
291 | } | ||
292 | |||
293 | |||
294 | |||
295 | console_initcall(excite_init_console); | ||
296 | arch_initcall(excite_platform_init); | ||
297 | |||
298 | EXPORT_SYMBOL(titan_lock); | ||
299 | EXPORT_SYMBOL(titan_irqflags); | ||
300 | EXPORT_SYMBOL(titan_irq); | ||
301 | EXPORT_SYMBOL(ocd_base); | ||
302 | EXPORT_SYMBOL(titan_base); | ||
diff --git a/arch/mips/configs/ar7_defconfig b/arch/mips/configs/ar7_defconfig index 2cb304a226ad..1d5ec3c11c75 100644 --- a/arch/mips/configs/ar7_defconfig +++ b/arch/mips/configs/ar7_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | CONFIG_AR7=y | 12 | CONFIG_AR7=y |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_MIPS_COBALT is not set | 14 | # CONFIG_MIPS_COBALT is not set |
16 | # CONFIG_MACH_DECSTATION is not set | 15 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/bcm47xx_defconfig b/arch/mips/configs/bcm47xx_defconfig index 94b7d57f906d..8715de1d8092 100644 --- a/arch/mips/configs/bcm47xx_defconfig +++ b/arch/mips/configs/bcm47xx_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | CONFIG_BCM47XX=y | 12 | CONFIG_BCM47XX=y |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/bcm63xx_defconfig b/arch/mips/configs/bcm63xx_defconfig index ea00c18d1f7b..efa65982239e 100644 --- a/arch/mips/configs/bcm63xx_defconfig +++ b/arch/mips/configs/bcm63xx_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | CONFIG_BCM63XX=y | 13 | CONFIG_BCM63XX=y |
15 | # CONFIG_MIPS_COBALT is not set | 14 | # CONFIG_MIPS_COBALT is not set |
diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig index 13d9eb4736c0..1f0228d6f16e 100644 --- a/arch/mips/configs/bigsur_defconfig +++ b/arch/mips/configs/bigsur_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/capcella_defconfig b/arch/mips/configs/capcella_defconfig index 185df23fd460..be81bf68e170 100644 --- a/arch/mips/configs/capcella_defconfig +++ b/arch/mips/configs/capcella_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/cavium-octeon_defconfig b/arch/mips/configs/cavium-octeon_defconfig index 1819a4c907ba..22819d9c683a 100644 --- a/arch/mips/configs/cavium-octeon_defconfig +++ b/arch/mips/configs/cavium-octeon_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/cobalt_defconfig b/arch/mips/configs/cobalt_defconfig index 6c8cca8589ba..b15028693785 100644 --- a/arch/mips/configs/cobalt_defconfig +++ b/arch/mips/configs/cobalt_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | CONFIG_MIPS_COBALT=y | 13 | CONFIG_MIPS_COBALT=y |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/db1000_defconfig b/arch/mips/configs/db1000_defconfig index dbdf3bb1a34a..63cdea202911 100644 --- a/arch/mips/configs/db1000_defconfig +++ b/arch/mips/configs/db1000_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_DB1000=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/db1100_defconfig b/arch/mips/configs/db1100_defconfig index fa6814475898..7ae0f9a1704d 100644 --- a/arch/mips/configs/db1100_defconfig +++ b/arch/mips/configs/db1100_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_DB1100=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/db1200_defconfig b/arch/mips/configs/db1200_defconfig index d73f1de43b5d..a6d9e1f48bba 100644 --- a/arch/mips/configs/db1200_defconfig +++ b/arch/mips/configs/db1200_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MACH_ALCHEMY=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | CONFIG_MIPS_DB1200=y | 24 | CONFIG_MIPS_DB1200=y |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/db1500_defconfig b/arch/mips/configs/db1500_defconfig index ec3e028a5b2e..a3a462b1f4e2 100644 --- a/arch/mips/configs/db1500_defconfig +++ b/arch/mips/configs/db1500_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_DB1500=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/db1550_defconfig b/arch/mips/configs/db1550_defconfig index 7631dae51be9..bfc962ed35b2 100644 --- a/arch/mips/configs/db1550_defconfig +++ b/arch/mips/configs/db1550_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MACH_ALCHEMY=y | |||
23 | CONFIG_MIPS_DB1550=y | 23 | CONFIG_MIPS_DB1550=y |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/decstation_defconfig b/arch/mips/configs/decstation_defconfig index 9e65e6a2dcb3..7eb6d1b4e322 100644 --- a/arch/mips/configs/decstation_defconfig +++ b/arch/mips/configs/decstation_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | CONFIG_MACH_DECSTATION=y | 26 | CONFIG_MACH_DECSTATION=y |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/e55_defconfig b/arch/mips/configs/e55_defconfig index 1bd84d42b14f..c6b1d6b29dfc 100644 --- a/arch/mips/configs/e55_defconfig +++ b/arch/mips/configs/e55_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/excite_defconfig b/arch/mips/configs/excite_defconfig deleted file mode 100644 index 1995d43a2ed1..000000000000 --- a/arch/mips/configs/excite_defconfig +++ /dev/null | |||
@@ -1,1335 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.20 | ||
4 | # Tue Feb 20 21:47:31 2007 | ||
5 | # | ||
6 | CONFIG_MIPS=y | ||
7 | |||
8 | # | ||
9 | # Machine selection | ||
10 | # | ||
11 | CONFIG_ZONE_DMA=y | ||
12 | # CONFIG_MIPS_MTX1 is not set | ||
13 | # CONFIG_MIPS_BOSPORUS is not set | ||
14 | # CONFIG_MIPS_PB1000 is not set | ||
15 | # CONFIG_MIPS_PB1100 is not set | ||
16 | # CONFIG_MIPS_PB1500 is not set | ||
17 | # CONFIG_MIPS_PB1550 is not set | ||
18 | # CONFIG_MIPS_PB1200 is not set | ||
19 | # CONFIG_MIPS_DB1000 is not set | ||
20 | # CONFIG_MIPS_DB1100 is not set | ||
21 | # CONFIG_MIPS_DB1500 is not set | ||
22 | # CONFIG_MIPS_DB1550 is not set | ||
23 | # CONFIG_MIPS_DB1200 is not set | ||
24 | # CONFIG_MIPS_MIRAGE is not set | ||
25 | CONFIG_BASLER_EXCITE=y | ||
26 | # CONFIG_BASLER_EXCITE_PROTOTYPE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | ||
28 | # CONFIG_MACH_DECSTATION is not set | ||
29 | # CONFIG_MACH_JAZZ is not set | ||
30 | # CONFIG_MIPS_MALTA is not set | ||
31 | # CONFIG_WR_PPMC is not set | ||
32 | # CONFIG_MIPS_SIM is not set | ||
33 | # CONFIG_MOMENCO_JAGUAR_ATX is not set | ||
34 | # CONFIG_MIPS_XXS1500 is not set | ||
35 | # CONFIG_PNX8550_JBS is not set | ||
36 | # CONFIG_PNX8550_STB810 is not set | ||
37 | # CONFIG_MACH_VR41XX is not set | ||
38 | # CONFIG_PMC_YOSEMITE is not set | ||
39 | # CONFIG_MARKEINS is not set | ||
40 | # CONFIG_SGI_IP22 is not set | ||
41 | # CONFIG_SGI_IP27 is not set | ||
42 | # CONFIG_SGI_IP32 is not set | ||
43 | # CONFIG_SIBYTE_BIGSUR is not set | ||
44 | # CONFIG_SIBYTE_SWARM is not set | ||
45 | # CONFIG_SIBYTE_SENTOSA is not set | ||
46 | # CONFIG_SIBYTE_RHONE is not set | ||
47 | # CONFIG_SIBYTE_CARMEL is not set | ||
48 | # CONFIG_SIBYTE_LITTLESUR is not set | ||
49 | # CONFIG_SIBYTE_CRHINE is not set | ||
50 | # CONFIG_SIBYTE_CRHONE is not set | ||
51 | # CONFIG_SNI_RM is not set | ||
52 | # CONFIG_TOSHIBA_JMR3927 is not set | ||
53 | # CONFIG_TOSHIBA_RBTX4927 is not set | ||
54 | # CONFIG_TOSHIBA_RBTX4938 is not set | ||
55 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
56 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
57 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
58 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
59 | CONFIG_GENERIC_HWEIGHT=y | ||
60 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
61 | CONFIG_GENERIC_TIME=y | ||
62 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
63 | # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set | ||
64 | CONFIG_DMA_COHERENT=y | ||
65 | CONFIG_CPU_BIG_ENDIAN=y | ||
66 | # CONFIG_CPU_LITTLE_ENDIAN is not set | ||
67 | CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y | ||
68 | CONFIG_IRQ_CPU=y | ||
69 | CONFIG_IRQ_CPU_RM7K=y | ||
70 | CONFIG_IRQ_CPU_RM9K=y | ||
71 | CONFIG_MIPS_RM9122=y | ||
72 | CONFIG_SERIAL_RM9000=y | ||
73 | CONFIG_GPI_RM9000=y | ||
74 | CONFIG_WDT_RM9000=y | ||
75 | CONFIG_MIPS_L1_CACHE_SHIFT=5 | ||
76 | |||
77 | # | ||
78 | # CPU selection | ||
79 | # | ||
80 | # CONFIG_CPU_MIPS32_R1 is not set | ||
81 | # CONFIG_CPU_MIPS32_R2 is not set | ||
82 | # CONFIG_CPU_MIPS64_R1 is not set | ||
83 | # CONFIG_CPU_MIPS64_R2 is not set | ||
84 | # CONFIG_CPU_R3000 is not set | ||
85 | # CONFIG_CPU_TX39XX is not set | ||
86 | # CONFIG_CPU_VR41XX is not set | ||
87 | # CONFIG_CPU_R4300 is not set | ||
88 | # CONFIG_CPU_R4X00 is not set | ||
89 | # CONFIG_CPU_TX49XX is not set | ||
90 | # CONFIG_CPU_R5000 is not set | ||
91 | # CONFIG_CPU_R5432 is not set | ||
92 | # CONFIG_CPU_R6000 is not set | ||
93 | # CONFIG_CPU_NEVADA is not set | ||
94 | # CONFIG_CPU_R8000 is not set | ||
95 | # CONFIG_CPU_R10000 is not set | ||
96 | # CONFIG_CPU_RM7000 is not set | ||
97 | CONFIG_CPU_RM9000=y | ||
98 | # CONFIG_CPU_SB1 is not set | ||
99 | CONFIG_SYS_HAS_CPU_RM9000=y | ||
100 | CONFIG_WEAK_ORDERING=y | ||
101 | CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y | ||
102 | CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y | ||
103 | CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y | ||
104 | CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y | ||
105 | |||
106 | # | ||
107 | # Kernel type | ||
108 | # | ||
109 | CONFIG_32BIT=y | ||
110 | # CONFIG_64BIT is not set | ||
111 | CONFIG_PAGE_SIZE_4KB=y | ||
112 | # CONFIG_PAGE_SIZE_8KB is not set | ||
113 | # CONFIG_PAGE_SIZE_16KB is not set | ||
114 | # CONFIG_PAGE_SIZE_64KB is not set | ||
115 | CONFIG_CPU_HAS_PREFETCH=y | ||
116 | CONFIG_MIPS_MT_DISABLED=y | ||
117 | # CONFIG_MIPS_MT_SMP is not set | ||
118 | # CONFIG_MIPS_MT_SMTC is not set | ||
119 | # CONFIG_MIPS_VPE_LOADER is not set | ||
120 | # CONFIG_64BIT_PHYS_ADDR is not set | ||
121 | CONFIG_CPU_HAS_SYNC=y | ||
122 | CONFIG_GENERIC_HARDIRQS=y | ||
123 | CONFIG_GENERIC_IRQ_PROBE=y | ||
124 | CONFIG_CPU_SUPPORTS_HIGHMEM=y | ||
125 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
126 | CONFIG_SELECT_MEMORY_MODEL=y | ||
127 | CONFIG_FLATMEM_MANUAL=y | ||
128 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
129 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
130 | CONFIG_FLATMEM=y | ||
131 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
132 | # CONFIG_SPARSEMEM_STATIC is not set | ||
133 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
134 | # CONFIG_RESOURCES_64BIT is not set | ||
135 | CONFIG_ZONE_DMA_FLAG=1 | ||
136 | # CONFIG_HZ_48 is not set | ||
137 | # CONFIG_HZ_100 is not set | ||
138 | # CONFIG_HZ_128 is not set | ||
139 | # CONFIG_HZ_250 is not set | ||
140 | # CONFIG_HZ_256 is not set | ||
141 | CONFIG_HZ_1000=y | ||
142 | # CONFIG_HZ_1024 is not set | ||
143 | CONFIG_SYS_SUPPORTS_ARBIT_HZ=y | ||
144 | CONFIG_HZ=1000 | ||
145 | # CONFIG_PREEMPT_NONE is not set | ||
146 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
147 | CONFIG_PREEMPT=y | ||
148 | CONFIG_PREEMPT_BKL=y | ||
149 | # CONFIG_KEXEC is not set | ||
150 | CONFIG_LOCKDEP_SUPPORT=y | ||
151 | CONFIG_STACKTRACE_SUPPORT=y | ||
152 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
153 | |||
154 | # | ||
155 | # Code maturity level options | ||
156 | # | ||
157 | CONFIG_EXPERIMENTAL=y | ||
158 | CONFIG_BROKEN_ON_SMP=y | ||
159 | CONFIG_LOCK_KERNEL=y | ||
160 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
161 | |||
162 | # | ||
163 | # General setup | ||
164 | # | ||
165 | CONFIG_LOCALVERSION="" | ||
166 | # CONFIG_LOCALVERSION_AUTO is not set | ||
167 | CONFIG_SWAP=y | ||
168 | CONFIG_SYSVIPC=y | ||
169 | # CONFIG_IPC_NS is not set | ||
170 | CONFIG_SYSVIPC_SYSCTL=y | ||
171 | CONFIG_POSIX_MQUEUE=y | ||
172 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
173 | # CONFIG_TASKSTATS is not set | ||
174 | # CONFIG_UTS_NS is not set | ||
175 | # CONFIG_AUDIT is not set | ||
176 | # CONFIG_IKCONFIG is not set | ||
177 | CONFIG_SYSFS_DEPRECATED=y | ||
178 | # CONFIG_RELAY is not set | ||
179 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
180 | CONFIG_SYSCTL=y | ||
181 | CONFIG_EMBEDDED=y | ||
182 | CONFIG_SYSCTL_SYSCALL=y | ||
183 | CONFIG_KALLSYMS=y | ||
184 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
185 | CONFIG_HOTPLUG=y | ||
186 | CONFIG_PRINTK=y | ||
187 | CONFIG_BUG=y | ||
188 | CONFIG_ELF_CORE=y | ||
189 | CONFIG_BASE_FULL=y | ||
190 | CONFIG_FUTEX=y | ||
191 | CONFIG_EPOLL=y | ||
192 | CONFIG_SHMEM=y | ||
193 | CONFIG_SLAB=y | ||
194 | CONFIG_VM_EVENT_COUNTERS=y | ||
195 | CONFIG_RT_MUTEXES=y | ||
196 | # CONFIG_TINY_SHMEM is not set | ||
197 | CONFIG_BASE_SMALL=0 | ||
198 | # CONFIG_SLOB is not set | ||
199 | |||
200 | # | ||
201 | # Loadable module support | ||
202 | # | ||
203 | CONFIG_MODULES=y | ||
204 | CONFIG_MODULE_UNLOAD=y | ||
205 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
206 | # CONFIG_MODVERSIONS is not set | ||
207 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
208 | CONFIG_KMOD=y | ||
209 | |||
210 | # | ||
211 | # Block layer | ||
212 | # | ||
213 | CONFIG_BLOCK=y | ||
214 | # CONFIG_LBD is not set | ||
215 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
216 | # CONFIG_LSF is not set | ||
217 | |||
218 | # | ||
219 | # IO Schedulers | ||
220 | # | ||
221 | CONFIG_IOSCHED_NOOP=y | ||
222 | CONFIG_IOSCHED_AS=y | ||
223 | CONFIG_IOSCHED_DEADLINE=y | ||
224 | CONFIG_IOSCHED_CFQ=y | ||
225 | CONFIG_DEFAULT_AS=y | ||
226 | # CONFIG_DEFAULT_DEADLINE is not set | ||
227 | # CONFIG_DEFAULT_CFQ is not set | ||
228 | # CONFIG_DEFAULT_NOOP is not set | ||
229 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
230 | |||
231 | # | ||
232 | # Bus options (PCI, PCMCIA, EISA, ISA, TC) | ||
233 | # | ||
234 | CONFIG_HW_HAS_PCI=y | ||
235 | CONFIG_PCI=y | ||
236 | CONFIG_MMU=y | ||
237 | |||
238 | # | ||
239 | # PCCARD (PCMCIA/CardBus) support | ||
240 | # | ||
241 | # CONFIG_PCCARD is not set | ||
242 | |||
243 | # | ||
244 | # PCI Hotplug Support | ||
245 | # | ||
246 | # CONFIG_HOTPLUG_PCI is not set | ||
247 | |||
248 | # | ||
249 | # Executable file formats | ||
250 | # | ||
251 | CONFIG_BINFMT_ELF=y | ||
252 | # CONFIG_BINFMT_MISC is not set | ||
253 | CONFIG_TRAD_SIGNALS=y | ||
254 | |||
255 | # | ||
256 | # Power management options | ||
257 | # | ||
258 | CONFIG_PM=y | ||
259 | # CONFIG_PM_LEGACY is not set | ||
260 | # CONFIG_PM_DEBUG is not set | ||
261 | # CONFIG_PM_SYSFS_DEPRECATED is not set | ||
262 | |||
263 | # | ||
264 | # Networking | ||
265 | # | ||
266 | CONFIG_NET=y | ||
267 | |||
268 | # | ||
269 | # Networking options | ||
270 | # | ||
271 | # CONFIG_NETDEBUG is not set | ||
272 | CONFIG_PACKET=y | ||
273 | CONFIG_PACKET_MMAP=y | ||
274 | CONFIG_UNIX=y | ||
275 | CONFIG_XFRM=y | ||
276 | # CONFIG_XFRM_USER is not set | ||
277 | # CONFIG_XFRM_SUB_POLICY is not set | ||
278 | CONFIG_XFRM_MIGRATE=y | ||
279 | # CONFIG_NET_KEY is not set | ||
280 | CONFIG_INET=y | ||
281 | # CONFIG_IP_MULTICAST is not set | ||
282 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
283 | CONFIG_IP_FIB_HASH=y | ||
284 | CONFIG_IP_PNP=y | ||
285 | CONFIG_IP_PNP_DHCP=y | ||
286 | # CONFIG_IP_PNP_BOOTP is not set | ||
287 | # CONFIG_IP_PNP_RARP is not set | ||
288 | # CONFIG_NET_IPIP is not set | ||
289 | # CONFIG_NET_IPGRE is not set | ||
290 | # CONFIG_ARPD is not set | ||
291 | # CONFIG_SYN_COOKIES is not set | ||
292 | # CONFIG_INET_AH is not set | ||
293 | # CONFIG_INET_ESP is not set | ||
294 | # CONFIG_INET_IPCOMP is not set | ||
295 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
296 | # CONFIG_INET_TUNNEL is not set | ||
297 | CONFIG_INET_XFRM_MODE_TRANSPORT=m | ||
298 | CONFIG_INET_XFRM_MODE_TUNNEL=m | ||
299 | CONFIG_INET_XFRM_MODE_BEET=m | ||
300 | CONFIG_INET_DIAG=y | ||
301 | CONFIG_INET_TCP_DIAG=y | ||
302 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
303 | CONFIG_TCP_CONG_CUBIC=y | ||
304 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
305 | CONFIG_TCP_MD5SIG=y | ||
306 | # CONFIG_IPV6 is not set | ||
307 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
308 | # CONFIG_INET6_TUNNEL is not set | ||
309 | CONFIG_NETWORK_SECMARK=y | ||
310 | # CONFIG_NETFILTER is not set | ||
311 | |||
312 | # | ||
313 | # DCCP Configuration (EXPERIMENTAL) | ||
314 | # | ||
315 | # CONFIG_IP_DCCP is not set | ||
316 | |||
317 | # | ||
318 | # SCTP Configuration (EXPERIMENTAL) | ||
319 | # | ||
320 | # CONFIG_IP_SCTP is not set | ||
321 | |||
322 | # | ||
323 | # TIPC Configuration (EXPERIMENTAL) | ||
324 | # | ||
325 | # CONFIG_TIPC is not set | ||
326 | # CONFIG_ATM is not set | ||
327 | # CONFIG_BRIDGE is not set | ||
328 | # CONFIG_VLAN_8021Q is not set | ||
329 | # CONFIG_DECNET is not set | ||
330 | # CONFIG_LLC2 is not set | ||
331 | # CONFIG_IPX is not set | ||
332 | # CONFIG_ATALK is not set | ||
333 | # CONFIG_X25 is not set | ||
334 | # CONFIG_LAPB is not set | ||
335 | # CONFIG_ECONET is not set | ||
336 | # CONFIG_WAN_ROUTER is not set | ||
337 | |||
338 | # | ||
339 | # QoS and/or fair queueing | ||
340 | # | ||
341 | # CONFIG_NET_SCHED is not set | ||
342 | |||
343 | # | ||
344 | # Network testing | ||
345 | # | ||
346 | # CONFIG_NET_PKTGEN is not set | ||
347 | # CONFIG_HAMRADIO is not set | ||
348 | # CONFIG_IRDA is not set | ||
349 | # CONFIG_BT is not set | ||
350 | # CONFIG_IEEE80211 is not set | ||
351 | |||
352 | # | ||
353 | # Device Drivers | ||
354 | # | ||
355 | |||
356 | # | ||
357 | # Generic Driver Options | ||
358 | # | ||
359 | CONFIG_STANDALONE=y | ||
360 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
361 | CONFIG_FW_LOADER=m | ||
362 | # CONFIG_SYS_HYPERVISOR is not set | ||
363 | |||
364 | # | ||
365 | # Connector - unified userspace <-> kernelspace linker | ||
366 | # | ||
367 | # CONFIG_CONNECTOR is not set | ||
368 | |||
369 | # | ||
370 | # Memory Technology Devices (MTD) | ||
371 | # | ||
372 | CONFIG_MTD=y | ||
373 | # CONFIG_MTD_DEBUG is not set | ||
374 | # CONFIG_MTD_CONCAT is not set | ||
375 | CONFIG_MTD_PARTITIONS=y | ||
376 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
377 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
378 | |||
379 | # | ||
380 | # User Modules And Translation Layers | ||
381 | # | ||
382 | CONFIG_MTD_CHAR=y | ||
383 | CONFIG_MTD_BLKDEVS=y | ||
384 | CONFIG_MTD_BLOCK=y | ||
385 | # CONFIG_FTL is not set | ||
386 | # CONFIG_NFTL is not set | ||
387 | # CONFIG_INFTL is not set | ||
388 | # CONFIG_RFD_FTL is not set | ||
389 | # CONFIG_SSFDC is not set | ||
390 | |||
391 | # | ||
392 | # RAM/ROM/Flash chip drivers | ||
393 | # | ||
394 | # CONFIG_MTD_CFI is not set | ||
395 | # CONFIG_MTD_JEDECPROBE is not set | ||
396 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
397 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
398 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
399 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
400 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
401 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
402 | CONFIG_MTD_CFI_I1=y | ||
403 | CONFIG_MTD_CFI_I2=y | ||
404 | # CONFIG_MTD_CFI_I4 is not set | ||
405 | # CONFIG_MTD_CFI_I8 is not set | ||
406 | # CONFIG_MTD_RAM is not set | ||
407 | # CONFIG_MTD_ROM is not set | ||
408 | # CONFIG_MTD_ABSENT is not set | ||
409 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
410 | |||
411 | # | ||
412 | # Mapping drivers for chip access | ||
413 | # | ||
414 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
415 | # CONFIG_MTD_PLATRAM is not set | ||
416 | |||
417 | # | ||
418 | # Self-contained MTD device drivers | ||
419 | # | ||
420 | # CONFIG_MTD_PMC551 is not set | ||
421 | # CONFIG_MTD_SLRAM is not set | ||
422 | # CONFIG_MTD_PHRAM is not set | ||
423 | # CONFIG_MTD_MTDRAM is not set | ||
424 | # CONFIG_MTD_BLOCK2MTD is not set | ||
425 | |||
426 | # | ||
427 | # Disk-On-Chip Device Drivers | ||
428 | # | ||
429 | # CONFIG_MTD_DOC2000 is not set | ||
430 | # CONFIG_MTD_DOC2001 is not set | ||
431 | # CONFIG_MTD_DOC2001PLUS is not set | ||
432 | |||
433 | # | ||
434 | # NAND Flash Device Drivers | ||
435 | # | ||
436 | CONFIG_MTD_NAND=y | ||
437 | CONFIG_MTD_NAND_VERIFY_WRITE=y | ||
438 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
439 | CONFIG_MTD_NAND_IDS=y | ||
440 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
441 | # CONFIG_MTD_NAND_BASLER_EXCITE is not set | ||
442 | # CONFIG_MTD_NAND_CAFE is not set | ||
443 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
444 | |||
445 | # | ||
446 | # OneNAND Flash Device Drivers | ||
447 | # | ||
448 | # CONFIG_MTD_ONENAND is not set | ||
449 | |||
450 | # | ||
451 | # Parallel port support | ||
452 | # | ||
453 | # CONFIG_PARPORT is not set | ||
454 | |||
455 | # | ||
456 | # Plug and Play support | ||
457 | # | ||
458 | # CONFIG_PNPACPI is not set | ||
459 | |||
460 | # | ||
461 | # Block devices | ||
462 | # | ||
463 | # CONFIG_BLK_CPQ_DA is not set | ||
464 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
465 | # CONFIG_BLK_DEV_DAC960 is not set | ||
466 | # CONFIG_BLK_DEV_UMEM is not set | ||
467 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
468 | CONFIG_BLK_DEV_LOOP=m | ||
469 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
470 | # CONFIG_BLK_DEV_NBD is not set | ||
471 | # CONFIG_BLK_DEV_SX8 is not set | ||
472 | # CONFIG_BLK_DEV_UB is not set | ||
473 | # CONFIG_BLK_DEV_RAM is not set | ||
474 | # CONFIG_BLK_DEV_INITRD is not set | ||
475 | # CONFIG_CDROM_PKTCDVD is not set | ||
476 | # CONFIG_ATA_OVER_ETH is not set | ||
477 | |||
478 | # | ||
479 | # Misc devices | ||
480 | # | ||
481 | CONFIG_SGI_IOC4=m | ||
482 | # CONFIG_TIFM_CORE is not set | ||
483 | |||
484 | # | ||
485 | # ATA/ATAPI/MFM/RLL support | ||
486 | # | ||
487 | # CONFIG_IDE is not set | ||
488 | |||
489 | # | ||
490 | # SCSI device support | ||
491 | # | ||
492 | # CONFIG_RAID_ATTRS is not set | ||
493 | CONFIG_SCSI=y | ||
494 | CONFIG_SCSI_TGT=m | ||
495 | # CONFIG_SCSI_NETLINK is not set | ||
496 | # CONFIG_SCSI_PROC_FS is not set | ||
497 | |||
498 | # | ||
499 | # SCSI support type (disk, tape, CD-ROM) | ||
500 | # | ||
501 | CONFIG_BLK_DEV_SD=y | ||
502 | # CONFIG_CHR_DEV_ST is not set | ||
503 | # CONFIG_CHR_DEV_OSST is not set | ||
504 | # CONFIG_BLK_DEV_SR is not set | ||
505 | # CONFIG_CHR_DEV_SG is not set | ||
506 | # CONFIG_CHR_DEV_SCH is not set | ||
507 | |||
508 | # | ||
509 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
510 | # | ||
511 | # CONFIG_SCSI_MULTI_LUN is not set | ||
512 | # CONFIG_SCSI_CONSTANTS is not set | ||
513 | # CONFIG_SCSI_LOGGING is not set | ||
514 | CONFIG_SCSI_SCAN_ASYNC=y | ||
515 | |||
516 | # | ||
517 | # SCSI Transports | ||
518 | # | ||
519 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
520 | # CONFIG_SCSI_FC_ATTRS is not set | ||
521 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
522 | CONFIG_SCSI_SAS_ATTRS=m | ||
523 | CONFIG_SCSI_SAS_LIBSAS=m | ||
524 | # CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set | ||
525 | |||
526 | # | ||
527 | # SCSI low-level drivers | ||
528 | # | ||
529 | # CONFIG_ISCSI_TCP is not set | ||
530 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
531 | # CONFIG_SCSI_3W_9XXX is not set | ||
532 | # CONFIG_SCSI_ACARD is not set | ||
533 | # CONFIG_SCSI_AACRAID is not set | ||
534 | # CONFIG_SCSI_AIC7XXX is not set | ||
535 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
536 | # CONFIG_SCSI_AIC79XX is not set | ||
537 | CONFIG_SCSI_AIC94XX=m | ||
538 | # CONFIG_AIC94XX_DEBUG is not set | ||
539 | # CONFIG_SCSI_DPT_I2O is not set | ||
540 | # CONFIG_SCSI_ARCMSR is not set | ||
541 | # CONFIG_MEGARAID_NEWGEN is not set | ||
542 | # CONFIG_MEGARAID_LEGACY is not set | ||
543 | # CONFIG_MEGARAID_SAS is not set | ||
544 | # CONFIG_SCSI_HPTIOP is not set | ||
545 | # CONFIG_SCSI_DMX3191D is not set | ||
546 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
547 | # CONFIG_SCSI_IPS is not set | ||
548 | # CONFIG_SCSI_INITIO is not set | ||
549 | # CONFIG_SCSI_INIA100 is not set | ||
550 | # CONFIG_SCSI_STEX is not set | ||
551 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
552 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
553 | # CONFIG_SCSI_QLA_FC is not set | ||
554 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
555 | # CONFIG_SCSI_LPFC is not set | ||
556 | # CONFIG_SCSI_DC395x is not set | ||
557 | # CONFIG_SCSI_DC390T is not set | ||
558 | # CONFIG_SCSI_NSP32 is not set | ||
559 | # CONFIG_SCSI_DEBUG is not set | ||
560 | # CONFIG_SCSI_SRP is not set | ||
561 | |||
562 | # | ||
563 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
564 | # | ||
565 | # CONFIG_ATA is not set | ||
566 | |||
567 | # | ||
568 | # Multi-device support (RAID and LVM) | ||
569 | # | ||
570 | # CONFIG_MD is not set | ||
571 | |||
572 | # | ||
573 | # Fusion MPT device support | ||
574 | # | ||
575 | # CONFIG_FUSION is not set | ||
576 | # CONFIG_FUSION_SPI is not set | ||
577 | # CONFIG_FUSION_FC is not set | ||
578 | # CONFIG_FUSION_SAS is not set | ||
579 | |||
580 | # | ||
581 | # IEEE 1394 (FireWire) support | ||
582 | # | ||
583 | # CONFIG_IEEE1394 is not set | ||
584 | |||
585 | # | ||
586 | # I2O device support | ||
587 | # | ||
588 | # CONFIG_I2O is not set | ||
589 | |||
590 | # | ||
591 | # Network device support | ||
592 | # | ||
593 | CONFIG_NETDEVICES=y | ||
594 | # CONFIG_DUMMY is not set | ||
595 | # CONFIG_BONDING is not set | ||
596 | # CONFIG_EQUALIZER is not set | ||
597 | # CONFIG_TUN is not set | ||
598 | |||
599 | # | ||
600 | # ARCnet devices | ||
601 | # | ||
602 | # CONFIG_ARCNET is not set | ||
603 | |||
604 | # | ||
605 | # PHY device support | ||
606 | # | ||
607 | |||
608 | # | ||
609 | # Ethernet (10 or 100Mbit) | ||
610 | # | ||
611 | # CONFIG_NET_ETHERNET is not set | ||
612 | |||
613 | # | ||
614 | # Ethernet (1000 Mbit) | ||
615 | # | ||
616 | # CONFIG_ACENIC is not set | ||
617 | # CONFIG_DL2K is not set | ||
618 | # CONFIG_E1000 is not set | ||
619 | # CONFIG_NS83820 is not set | ||
620 | # CONFIG_HAMACHI is not set | ||
621 | # CONFIG_YELLOWFIN is not set | ||
622 | # CONFIG_R8169 is not set | ||
623 | # CONFIG_SIS190 is not set | ||
624 | # CONFIG_SKGE is not set | ||
625 | # CONFIG_SKY2 is not set | ||
626 | # CONFIG_SK98LIN is not set | ||
627 | # CONFIG_TIGON3 is not set | ||
628 | # CONFIG_BNX2 is not set | ||
629 | CONFIG_QLA3XXX=m | ||
630 | # CONFIG_ATL1 is not set | ||
631 | |||
632 | # | ||
633 | # Ethernet (10000 Mbit) | ||
634 | # | ||
635 | # CONFIG_CHELSIO_T1 is not set | ||
636 | CONFIG_CHELSIO_T3=m | ||
637 | # CONFIG_IXGB is not set | ||
638 | # CONFIG_S2IO is not set | ||
639 | # CONFIG_MYRI10GE is not set | ||
640 | CONFIG_NETXEN_NIC=m | ||
641 | |||
642 | # | ||
643 | # Token Ring devices | ||
644 | # | ||
645 | # CONFIG_TR is not set | ||
646 | |||
647 | # | ||
648 | # Wireless LAN (non-hamradio) | ||
649 | # | ||
650 | # CONFIG_NET_RADIO is not set | ||
651 | |||
652 | # | ||
653 | # Wan interfaces | ||
654 | # | ||
655 | # CONFIG_WAN is not set | ||
656 | # CONFIG_FDDI is not set | ||
657 | # CONFIG_HIPPI is not set | ||
658 | # CONFIG_PPP is not set | ||
659 | # CONFIG_SLIP is not set | ||
660 | # CONFIG_NET_FC is not set | ||
661 | # CONFIG_SHAPER is not set | ||
662 | # CONFIG_NETCONSOLE is not set | ||
663 | # CONFIG_NETPOLL is not set | ||
664 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
665 | |||
666 | # | ||
667 | # ISDN subsystem | ||
668 | # | ||
669 | # CONFIG_ISDN is not set | ||
670 | |||
671 | # | ||
672 | # Telephony Support | ||
673 | # | ||
674 | # CONFIG_PHONE is not set | ||
675 | |||
676 | # | ||
677 | # Input device support | ||
678 | # | ||
679 | CONFIG_INPUT=y | ||
680 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
681 | |||
682 | # | ||
683 | # Userland interfaces | ||
684 | # | ||
685 | CONFIG_INPUT_MOUSEDEV=m | ||
686 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
687 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
688 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
689 | # CONFIG_INPUT_JOYDEV is not set | ||
690 | # CONFIG_INPUT_TSDEV is not set | ||
691 | CONFIG_INPUT_EVDEV=m | ||
692 | # CONFIG_INPUT_EVBUG is not set | ||
693 | |||
694 | # | ||
695 | # Input Device Drivers | ||
696 | # | ||
697 | # CONFIG_INPUT_KEYBOARD is not set | ||
698 | # CONFIG_INPUT_MOUSE is not set | ||
699 | # CONFIG_INPUT_JOYSTICK is not set | ||
700 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
701 | # CONFIG_INPUT_MISC is not set | ||
702 | |||
703 | # | ||
704 | # Hardware I/O ports | ||
705 | # | ||
706 | # CONFIG_SERIO is not set | ||
707 | # CONFIG_GAMEPORT is not set | ||
708 | |||
709 | # | ||
710 | # Character devices | ||
711 | # | ||
712 | CONFIG_VT=y | ||
713 | CONFIG_VT_CONSOLE=y | ||
714 | CONFIG_HW_CONSOLE=y | ||
715 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
716 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
717 | |||
718 | # | ||
719 | # Serial drivers | ||
720 | # | ||
721 | CONFIG_SERIAL_8250=y | ||
722 | CONFIG_SERIAL_8250_CONSOLE=y | ||
723 | CONFIG_SERIAL_8250_PCI=y | ||
724 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
725 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
726 | CONFIG_SERIAL_8250_EXTENDED=y | ||
727 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
728 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
729 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
730 | # CONFIG_SERIAL_8250_RSA is not set | ||
731 | |||
732 | # | ||
733 | # Non-8250 serial port support | ||
734 | # | ||
735 | CONFIG_SERIAL_CORE=y | ||
736 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
737 | # CONFIG_SERIAL_JSM is not set | ||
738 | CONFIG_UNIX98_PTYS=y | ||
739 | # CONFIG_LEGACY_PTYS is not set | ||
740 | |||
741 | # | ||
742 | # IPMI | ||
743 | # | ||
744 | # CONFIG_IPMI_HANDLER is not set | ||
745 | |||
746 | # | ||
747 | # Watchdog Cards | ||
748 | # | ||
749 | CONFIG_WATCHDOG=y | ||
750 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
751 | |||
752 | # | ||
753 | # Watchdog Device Drivers | ||
754 | # | ||
755 | # CONFIG_SOFT_WATCHDOG is not set | ||
756 | CONFIG_WDT_RM9K_GPI=m | ||
757 | |||
758 | # | ||
759 | # PCI-based Watchdog Cards | ||
760 | # | ||
761 | # CONFIG_PCIPCWATCHDOG is not set | ||
762 | # CONFIG_WDTPCI is not set | ||
763 | |||
764 | # | ||
765 | # USB-based Watchdog Cards | ||
766 | # | ||
767 | # CONFIG_USBPCWATCHDOG is not set | ||
768 | # CONFIG_HW_RANDOM is not set | ||
769 | # CONFIG_RTC is not set | ||
770 | # CONFIG_GEN_RTC is not set | ||
771 | # CONFIG_DTLK is not set | ||
772 | # CONFIG_R3964 is not set | ||
773 | # CONFIG_APPLICOM is not set | ||
774 | # CONFIG_DRM is not set | ||
775 | # CONFIG_RAW_DRIVER is not set | ||
776 | |||
777 | # | ||
778 | # TPM devices | ||
779 | # | ||
780 | # CONFIG_TCG_TPM is not set | ||
781 | |||
782 | # | ||
783 | # I2C support | ||
784 | # | ||
785 | # CONFIG_I2C is not set | ||
786 | |||
787 | # | ||
788 | # SPI support | ||
789 | # | ||
790 | # CONFIG_SPI is not set | ||
791 | # CONFIG_SPI_MASTER is not set | ||
792 | |||
793 | # | ||
794 | # Dallas's 1-wire bus | ||
795 | # | ||
796 | # CONFIG_W1 is not set | ||
797 | |||
798 | # | ||
799 | # Hardware Monitoring support | ||
800 | # | ||
801 | # CONFIG_HWMON is not set | ||
802 | # CONFIG_HWMON_VID is not set | ||
803 | |||
804 | # | ||
805 | # Multimedia devices | ||
806 | # | ||
807 | # CONFIG_VIDEO_DEV is not set | ||
808 | |||
809 | # | ||
810 | # Digital Video Broadcasting Devices | ||
811 | # | ||
812 | # CONFIG_DVB is not set | ||
813 | # CONFIG_USB_DABUSB is not set | ||
814 | |||
815 | # | ||
816 | # Graphics support | ||
817 | # | ||
818 | # CONFIG_FIRMWARE_EDID is not set | ||
819 | CONFIG_FB=y | ||
820 | # CONFIG_FB_CFB_FILLRECT is not set | ||
821 | # CONFIG_FB_CFB_COPYAREA is not set | ||
822 | # CONFIG_FB_CFB_IMAGEBLIT is not set | ||
823 | # CONFIG_FB_SVGALIB is not set | ||
824 | # CONFIG_FB_MACMODES is not set | ||
825 | # CONFIG_FB_BACKLIGHT is not set | ||
826 | # CONFIG_FB_MODE_HELPERS is not set | ||
827 | # CONFIG_FB_TILEBLITTING is not set | ||
828 | # CONFIG_FB_CIRRUS is not set | ||
829 | # CONFIG_FB_PM2 is not set | ||
830 | # CONFIG_FB_CYBER2000 is not set | ||
831 | # CONFIG_FB_ASILIANT is not set | ||
832 | # CONFIG_FB_IMSTT is not set | ||
833 | # CONFIG_FB_S1D13XXX is not set | ||
834 | # CONFIG_FB_NVIDIA is not set | ||
835 | # CONFIG_FB_RIVA is not set | ||
836 | # CONFIG_FB_MATROX is not set | ||
837 | # CONFIG_FB_RADEON is not set | ||
838 | # CONFIG_FB_ATY128 is not set | ||
839 | # CONFIG_FB_ATY is not set | ||
840 | # CONFIG_FB_S3 is not set | ||
841 | # CONFIG_FB_SAVAGE is not set | ||
842 | # CONFIG_FB_SIS is not set | ||
843 | # CONFIG_FB_NEOMAGIC is not set | ||
844 | # CONFIG_FB_KYRO is not set | ||
845 | # CONFIG_FB_3DFX is not set | ||
846 | # CONFIG_FB_VOODOO1 is not set | ||
847 | # CONFIG_FB_SMIVGX is not set | ||
848 | # CONFIG_FB_TRIDENT is not set | ||
849 | # CONFIG_FB_VIRTUAL is not set | ||
850 | |||
851 | # | ||
852 | # Console display driver support | ||
853 | # | ||
854 | # CONFIG_VGA_CONSOLE is not set | ||
855 | CONFIG_DUMMY_CONSOLE=y | ||
856 | CONFIG_FRAMEBUFFER_CONSOLE=m | ||
857 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
858 | # CONFIG_FONTS is not set | ||
859 | CONFIG_FONT_8x8=y | ||
860 | CONFIG_FONT_8x16=y | ||
861 | |||
862 | # | ||
863 | # Logo configuration | ||
864 | # | ||
865 | # CONFIG_LOGO is not set | ||
866 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
867 | |||
868 | # | ||
869 | # Sound | ||
870 | # | ||
871 | # CONFIG_SOUND is not set | ||
872 | |||
873 | # | ||
874 | # HID Devices | ||
875 | # | ||
876 | CONFIG_HID=y | ||
877 | # CONFIG_HID_DEBUG is not set | ||
878 | |||
879 | # | ||
880 | # USB support | ||
881 | # | ||
882 | CONFIG_USB_ARCH_HAS_HCD=y | ||
883 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
884 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
885 | CONFIG_USB=y | ||
886 | # CONFIG_USB_DEBUG is not set | ||
887 | |||
888 | # | ||
889 | # Miscellaneous USB options | ||
890 | # | ||
891 | CONFIG_USB_DEVICEFS=y | ||
892 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
893 | # CONFIG_USB_SUSPEND is not set | ||
894 | # CONFIG_USB_OTG is not set | ||
895 | |||
896 | # | ||
897 | # USB Host Controller Drivers | ||
898 | # | ||
899 | CONFIG_USB_EHCI_HCD=y | ||
900 | # CONFIG_USB_EHCI_SPLIT_ISO is not set | ||
901 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | ||
902 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
903 | # CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set | ||
904 | # CONFIG_USB_ISP116X_HCD is not set | ||
905 | CONFIG_USB_OHCI_HCD=y | ||
906 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
907 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
908 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
909 | # CONFIG_USB_UHCI_HCD is not set | ||
910 | # CONFIG_USB_SL811_HCD is not set | ||
911 | |||
912 | # | ||
913 | # USB Device Class drivers | ||
914 | # | ||
915 | # CONFIG_USB_ACM is not set | ||
916 | # CONFIG_USB_PRINTER is not set | ||
917 | |||
918 | # | ||
919 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
920 | # | ||
921 | |||
922 | # | ||
923 | # may also be needed; see USB_STORAGE Help for more information | ||
924 | # | ||
925 | CONFIG_USB_STORAGE=y | ||
926 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
927 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
928 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
929 | # CONFIG_USB_STORAGE_DPCM is not set | ||
930 | # CONFIG_USB_STORAGE_USBAT is not set | ||
931 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
932 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
933 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
934 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
935 | # CONFIG_USB_STORAGE_KARMA is not set | ||
936 | # CONFIG_USB_LIBUSUAL is not set | ||
937 | |||
938 | # | ||
939 | # USB Input Devices | ||
940 | # | ||
941 | CONFIG_USB_HID=m | ||
942 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
943 | # CONFIG_HID_FF is not set | ||
944 | # CONFIG_USB_HIDDEV is not set | ||
945 | |||
946 | # | ||
947 | # USB HID Boot Protocol drivers | ||
948 | # | ||
949 | # CONFIG_USB_KBD is not set | ||
950 | # CONFIG_USB_MOUSE is not set | ||
951 | # CONFIG_USB_AIPTEK is not set | ||
952 | # CONFIG_USB_WACOM is not set | ||
953 | # CONFIG_USB_ACECAD is not set | ||
954 | # CONFIG_USB_KBTAB is not set | ||
955 | # CONFIG_USB_POWERMATE is not set | ||
956 | # CONFIG_USB_TOUCHSCREEN is not set | ||
957 | # CONFIG_USB_YEALINK is not set | ||
958 | # CONFIG_USB_XPAD is not set | ||
959 | # CONFIG_USB_ATI_REMOTE is not set | ||
960 | # CONFIG_USB_ATI_REMOTE2 is not set | ||
961 | # CONFIG_USB_KEYSPAN_REMOTE is not set | ||
962 | # CONFIG_USB_APPLETOUCH is not set | ||
963 | # CONFIG_USB_GTCO is not set | ||
964 | |||
965 | # | ||
966 | # USB Imaging devices | ||
967 | # | ||
968 | # CONFIG_USB_MDC800 is not set | ||
969 | # CONFIG_USB_MICROTEK is not set | ||
970 | |||
971 | # | ||
972 | # USB Network Adapters | ||
973 | # | ||
974 | # CONFIG_USB_CATC is not set | ||
975 | # CONFIG_USB_KAWETH is not set | ||
976 | # CONFIG_USB_PEGASUS is not set | ||
977 | # CONFIG_USB_RTL8150 is not set | ||
978 | # CONFIG_USB_USBNET_MII is not set | ||
979 | # CONFIG_USB_USBNET is not set | ||
980 | # CONFIG_USB_MON is not set | ||
981 | |||
982 | # | ||
983 | # USB port drivers | ||
984 | # | ||
985 | |||
986 | # | ||
987 | # USB Serial Converter support | ||
988 | # | ||
989 | # CONFIG_USB_SERIAL is not set | ||
990 | |||
991 | # | ||
992 | # USB Miscellaneous drivers | ||
993 | # | ||
994 | # CONFIG_USB_EMI62 is not set | ||
995 | # CONFIG_USB_EMI26 is not set | ||
996 | # CONFIG_USB_ADUTUX is not set | ||
997 | # CONFIG_USB_AUERSWALD is not set | ||
998 | # CONFIG_USB_RIO500 is not set | ||
999 | # CONFIG_USB_LEGOTOWER is not set | ||
1000 | # CONFIG_USB_LCD is not set | ||
1001 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1002 | # CONFIG_USB_LED is not set | ||
1003 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1004 | # CONFIG_USB_CYTHERM is not set | ||
1005 | # CONFIG_USB_PHIDGET is not set | ||
1006 | # CONFIG_USB_IDMOUSE is not set | ||
1007 | # CONFIG_USB_FTDI_ELAN is not set | ||
1008 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1009 | # CONFIG_USB_SISUSBVGA is not set | ||
1010 | # CONFIG_USB_LD is not set | ||
1011 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1012 | # CONFIG_USB_TEST is not set | ||
1013 | |||
1014 | # | ||
1015 | # USB DSL modem support | ||
1016 | # | ||
1017 | |||
1018 | # | ||
1019 | # USB Gadget Support | ||
1020 | # | ||
1021 | # CONFIG_USB_GADGET is not set | ||
1022 | |||
1023 | # | ||
1024 | # MMC/SD Card support | ||
1025 | # | ||
1026 | # CONFIG_MMC is not set | ||
1027 | |||
1028 | # | ||
1029 | # LED devices | ||
1030 | # | ||
1031 | # CONFIG_NEW_LEDS is not set | ||
1032 | |||
1033 | # | ||
1034 | # LED drivers | ||
1035 | # | ||
1036 | |||
1037 | # | ||
1038 | # LED Triggers | ||
1039 | # | ||
1040 | |||
1041 | # | ||
1042 | # InfiniBand support | ||
1043 | # | ||
1044 | # CONFIG_INFINIBAND is not set | ||
1045 | |||
1046 | # | ||
1047 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
1048 | # | ||
1049 | |||
1050 | # | ||
1051 | # Real Time Clock | ||
1052 | # | ||
1053 | # CONFIG_RTC_CLASS is not set | ||
1054 | |||
1055 | # | ||
1056 | # DMA Engine support | ||
1057 | # | ||
1058 | # CONFIG_DMA_ENGINE is not set | ||
1059 | |||
1060 | # | ||
1061 | # DMA Clients | ||
1062 | # | ||
1063 | |||
1064 | # | ||
1065 | # DMA Devices | ||
1066 | # | ||
1067 | |||
1068 | # | ||
1069 | # Auxiliary Display support | ||
1070 | # | ||
1071 | |||
1072 | # | ||
1073 | # Virtualization | ||
1074 | # | ||
1075 | |||
1076 | # | ||
1077 | # File systems | ||
1078 | # | ||
1079 | CONFIG_EXT2_FS=y | ||
1080 | # CONFIG_EXT2_FS_XATTR is not set | ||
1081 | # CONFIG_EXT2_FS_XIP is not set | ||
1082 | # CONFIG_EXT3_FS is not set | ||
1083 | # CONFIG_EXT4DEV_FS is not set | ||
1084 | # CONFIG_REISERFS_FS is not set | ||
1085 | # CONFIG_JFS_FS is not set | ||
1086 | CONFIG_FS_POSIX_ACL=y | ||
1087 | # CONFIG_XFS_FS is not set | ||
1088 | # CONFIG_GFS2_FS is not set | ||
1089 | # CONFIG_OCFS2_FS is not set | ||
1090 | # CONFIG_MINIX_FS is not set | ||
1091 | # CONFIG_ROMFS_FS is not set | ||
1092 | CONFIG_INOTIFY=y | ||
1093 | CONFIG_INOTIFY_USER=y | ||
1094 | # CONFIG_QUOTA is not set | ||
1095 | # CONFIG_DNOTIFY is not set | ||
1096 | # CONFIG_AUTOFS_FS is not set | ||
1097 | # CONFIG_AUTOFS4_FS is not set | ||
1098 | # CONFIG_FUSE_FS is not set | ||
1099 | CONFIG_GENERIC_ACL=y | ||
1100 | |||
1101 | # | ||
1102 | # CD-ROM/DVD Filesystems | ||
1103 | # | ||
1104 | # CONFIG_ISO9660_FS is not set | ||
1105 | # CONFIG_UDF_FS is not set | ||
1106 | |||
1107 | # | ||
1108 | # DOS/FAT/NT Filesystems | ||
1109 | # | ||
1110 | CONFIG_FAT_FS=m | ||
1111 | CONFIG_MSDOS_FS=m | ||
1112 | CONFIG_VFAT_FS=m | ||
1113 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1114 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1115 | # CONFIG_NTFS_FS is not set | ||
1116 | |||
1117 | # | ||
1118 | # Pseudo filesystems | ||
1119 | # | ||
1120 | CONFIG_PROC_FS=y | ||
1121 | CONFIG_PROC_KCORE=y | ||
1122 | CONFIG_PROC_SYSCTL=y | ||
1123 | CONFIG_SYSFS=y | ||
1124 | CONFIG_TMPFS=y | ||
1125 | CONFIG_TMPFS_POSIX_ACL=y | ||
1126 | # CONFIG_HUGETLB_PAGE is not set | ||
1127 | CONFIG_RAMFS=y | ||
1128 | CONFIG_CONFIGFS_FS=m | ||
1129 | |||
1130 | # | ||
1131 | # Miscellaneous filesystems | ||
1132 | # | ||
1133 | # CONFIG_ADFS_FS is not set | ||
1134 | # CONFIG_AFFS_FS is not set | ||
1135 | # CONFIG_HFS_FS is not set | ||
1136 | # CONFIG_HFSPLUS_FS is not set | ||
1137 | # CONFIG_BEFS_FS is not set | ||
1138 | # CONFIG_BFS_FS is not set | ||
1139 | # CONFIG_EFS_FS is not set | ||
1140 | CONFIG_JFFS2_FS=y | ||
1141 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1142 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1143 | # CONFIG_JFFS2_SUMMARY is not set | ||
1144 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1145 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1146 | CONFIG_JFFS2_ZLIB=y | ||
1147 | CONFIG_JFFS2_RTIME=y | ||
1148 | # CONFIG_JFFS2_RUBIN is not set | ||
1149 | # CONFIG_CRAMFS is not set | ||
1150 | # CONFIG_VXFS_FS is not set | ||
1151 | # CONFIG_HPFS_FS is not set | ||
1152 | # CONFIG_QNX4FS_FS is not set | ||
1153 | # CONFIG_SYSV_FS is not set | ||
1154 | # CONFIG_UFS_FS is not set | ||
1155 | |||
1156 | # | ||
1157 | # Network File Systems | ||
1158 | # | ||
1159 | CONFIG_NFS_FS=y | ||
1160 | CONFIG_NFS_V3=y | ||
1161 | # CONFIG_NFS_V3_ACL is not set | ||
1162 | # CONFIG_NFS_V4 is not set | ||
1163 | # CONFIG_NFS_DIRECTIO is not set | ||
1164 | # CONFIG_NFSD is not set | ||
1165 | CONFIG_ROOT_NFS=y | ||
1166 | CONFIG_LOCKD=y | ||
1167 | CONFIG_LOCKD_V4=y | ||
1168 | CONFIG_NFS_COMMON=y | ||
1169 | CONFIG_SUNRPC=y | ||
1170 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1171 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1172 | # CONFIG_SMB_FS is not set | ||
1173 | # CONFIG_CIFS is not set | ||
1174 | # CONFIG_NCP_FS is not set | ||
1175 | # CONFIG_CODA_FS is not set | ||
1176 | # CONFIG_AFS_FS is not set | ||
1177 | # CONFIG_9P_FS is not set | ||
1178 | |||
1179 | # | ||
1180 | # Partition Types | ||
1181 | # | ||
1182 | CONFIG_PARTITION_ADVANCED=y | ||
1183 | # CONFIG_ACORN_PARTITION is not set | ||
1184 | # CONFIG_OSF_PARTITION is not set | ||
1185 | # CONFIG_AMIGA_PARTITION is not set | ||
1186 | # CONFIG_ATARI_PARTITION is not set | ||
1187 | # CONFIG_MAC_PARTITION is not set | ||
1188 | CONFIG_MSDOS_PARTITION=y | ||
1189 | # CONFIG_BSD_DISKLABEL is not set | ||
1190 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1191 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1192 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1193 | # CONFIG_LDM_PARTITION is not set | ||
1194 | # CONFIG_SGI_PARTITION is not set | ||
1195 | # CONFIG_ULTRIX_PARTITION is not set | ||
1196 | # CONFIG_SUN_PARTITION is not set | ||
1197 | # CONFIG_KARMA_PARTITION is not set | ||
1198 | # CONFIG_EFI_PARTITION is not set | ||
1199 | |||
1200 | # | ||
1201 | # Native Language Support | ||
1202 | # | ||
1203 | CONFIG_NLS=y | ||
1204 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1205 | CONFIG_NLS_CODEPAGE_437=m | ||
1206 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1207 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1208 | CONFIG_NLS_CODEPAGE_850=m | ||
1209 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1210 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1211 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1212 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1213 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1214 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1215 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1216 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1217 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1218 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1219 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1220 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1221 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1222 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1223 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1224 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1225 | # CONFIG_NLS_ISO8859_8 is not set | ||
1226 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1227 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1228 | # CONFIG_NLS_ASCII is not set | ||
1229 | CONFIG_NLS_ISO8859_1=m | ||
1230 | # CONFIG_NLS_ISO8859_2 is not set | ||
1231 | # CONFIG_NLS_ISO8859_3 is not set | ||
1232 | # CONFIG_NLS_ISO8859_4 is not set | ||
1233 | # CONFIG_NLS_ISO8859_5 is not set | ||
1234 | # CONFIG_NLS_ISO8859_6 is not set | ||
1235 | # CONFIG_NLS_ISO8859_7 is not set | ||
1236 | # CONFIG_NLS_ISO8859_9 is not set | ||
1237 | # CONFIG_NLS_ISO8859_13 is not set | ||
1238 | # CONFIG_NLS_ISO8859_14 is not set | ||
1239 | # CONFIG_NLS_ISO8859_15 is not set | ||
1240 | # CONFIG_NLS_KOI8_R is not set | ||
1241 | # CONFIG_NLS_KOI8_U is not set | ||
1242 | # CONFIG_NLS_UTF8 is not set | ||
1243 | |||
1244 | # | ||
1245 | # Distributed Lock Manager | ||
1246 | # | ||
1247 | CONFIG_DLM=m | ||
1248 | CONFIG_DLM_TCP=y | ||
1249 | # CONFIG_DLM_SCTP is not set | ||
1250 | # CONFIG_DLM_DEBUG is not set | ||
1251 | |||
1252 | # | ||
1253 | # Profiling support | ||
1254 | # | ||
1255 | # CONFIG_PROFILING is not set | ||
1256 | |||
1257 | # | ||
1258 | # Kernel hacking | ||
1259 | # | ||
1260 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
1261 | # CONFIG_PRINTK_TIME is not set | ||
1262 | CONFIG_ENABLE_MUST_CHECK=y | ||
1263 | # CONFIG_MAGIC_SYSRQ is not set | ||
1264 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1265 | # CONFIG_DEBUG_FS is not set | ||
1266 | # CONFIG_HEADERS_CHECK is not set | ||
1267 | # CONFIG_DEBUG_KERNEL is not set | ||
1268 | CONFIG_LOG_BUF_SHIFT=14 | ||
1269 | CONFIG_CROSSCOMPILE=y | ||
1270 | CONFIG_CMDLINE="" | ||
1271 | |||
1272 | # | ||
1273 | # Security options | ||
1274 | # | ||
1275 | # CONFIG_KEYS is not set | ||
1276 | # CONFIG_SECURITY is not set | ||
1277 | |||
1278 | # | ||
1279 | # Cryptographic options | ||
1280 | # | ||
1281 | CONFIG_CRYPTO=y | ||
1282 | CONFIG_CRYPTO_ALGAPI=y | ||
1283 | CONFIG_CRYPTO_BLKCIPHER=m | ||
1284 | CONFIG_CRYPTO_HASH=m | ||
1285 | CONFIG_CRYPTO_MANAGER=m | ||
1286 | # CONFIG_CRYPTO_HMAC is not set | ||
1287 | CONFIG_CRYPTO_XCBC=m | ||
1288 | # CONFIG_CRYPTO_NULL is not set | ||
1289 | # CONFIG_CRYPTO_MD4 is not set | ||
1290 | CONFIG_CRYPTO_MD5=y | ||
1291 | # CONFIG_CRYPTO_SHA1 is not set | ||
1292 | # CONFIG_CRYPTO_SHA256 is not set | ||
1293 | # CONFIG_CRYPTO_SHA512 is not set | ||
1294 | # CONFIG_CRYPTO_WP512 is not set | ||
1295 | # CONFIG_CRYPTO_TGR192 is not set | ||
1296 | CONFIG_CRYPTO_GF128MUL=m | ||
1297 | CONFIG_CRYPTO_ECB=m | ||
1298 | CONFIG_CRYPTO_CBC=m | ||
1299 | CONFIG_CRYPTO_PCBC=m | ||
1300 | CONFIG_CRYPTO_LRW=m | ||
1301 | # CONFIG_CRYPTO_DES is not set | ||
1302 | CONFIG_CRYPTO_FCRYPT=m | ||
1303 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1304 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1305 | # CONFIG_CRYPTO_SERPENT is not set | ||
1306 | # CONFIG_CRYPTO_AES is not set | ||
1307 | # CONFIG_CRYPTO_CAST5 is not set | ||
1308 | # CONFIG_CRYPTO_CAST6 is not set | ||
1309 | # CONFIG_CRYPTO_TEA is not set | ||
1310 | # CONFIG_CRYPTO_ARC4 is not set | ||
1311 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1312 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1313 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1314 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1315 | # CONFIG_CRYPTO_CRC32C is not set | ||
1316 | CONFIG_CRYPTO_CAMELLIA=m | ||
1317 | # CONFIG_CRYPTO_TEST is not set | ||
1318 | |||
1319 | # | ||
1320 | # Hardware crypto devices | ||
1321 | # | ||
1322 | |||
1323 | # | ||
1324 | # Library routines | ||
1325 | # | ||
1326 | CONFIG_BITREVERSE=y | ||
1327 | # CONFIG_CRC_CCITT is not set | ||
1328 | # CONFIG_CRC16 is not set | ||
1329 | CONFIG_CRC32=y | ||
1330 | # CONFIG_LIBCRC32C is not set | ||
1331 | CONFIG_ZLIB_INFLATE=y | ||
1332 | CONFIG_ZLIB_DEFLATE=y | ||
1333 | CONFIG_PLIST=y | ||
1334 | CONFIG_HAS_IOMEM=y | ||
1335 | CONFIG_HAS_IOPORT=y | ||
diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig index b3626deb018d..17341a0b4695 100644 --- a/arch/mips/configs/fuloong2e_defconfig +++ b/arch/mips/configs/fuloong2e_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_AR7 is not set | 12 | # CONFIG_AR7 is not set |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_BCM63XX is not set | 14 | # CONFIG_BCM63XX is not set |
16 | # CONFIG_MIPS_COBALT is not set | 15 | # CONFIG_MIPS_COBALT is not set |
diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig index f14d38ba6034..3471ac9ab9db 100644 --- a/arch/mips/configs/ip22_defconfig +++ b/arch/mips/configs/ip22_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig index 1fc73aa7b509..26127a8dd25d 100644 --- a/arch/mips/configs/ip27_defconfig +++ b/arch/mips/configs/ip27_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/ip28_defconfig b/arch/mips/configs/ip28_defconfig index 539dccb0345d..ac6c850957f3 100644 --- a/arch/mips/configs/ip28_defconfig +++ b/arch/mips/configs/ip28_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/ip32_defconfig b/arch/mips/configs/ip32_defconfig index d934bdefb393..56553b1a821c 100644 --- a/arch/mips/configs/ip32_defconfig +++ b/arch/mips/configs/ip32_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig index d22df61833a8..9db23fdffd9e 100644 --- a/arch/mips/configs/jazz_defconfig +++ b/arch/mips/configs/jazz_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | CONFIG_MACH_JAZZ=y | 27 | CONFIG_MACH_JAZZ=y |
diff --git a/arch/mips/configs/jmr3927_defconfig b/arch/mips/configs/jmr3927_defconfig index 5380f1f582d9..11fec0e8a792 100644 --- a/arch/mips/configs/jmr3927_defconfig +++ b/arch/mips/configs/jmr3927_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/lasat_defconfig b/arch/mips/configs/lasat_defconfig index 044074db7e55..2fe15a5bfed8 100644 --- a/arch/mips/configs/lasat_defconfig +++ b/arch/mips/configs/lasat_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/lemote2f_defconfig b/arch/mips/configs/lemote2f_defconfig index 89e88a0753dc..ddb1c92b6f06 100644 --- a/arch/mips/configs/lemote2f_defconfig +++ b/arch/mips/configs/lemote2f_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_AR7 is not set | 12 | # CONFIG_AR7 is not set |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_BCM63XX is not set | 14 | # CONFIG_BCM63XX is not set |
16 | # CONFIG_MIPS_COBALT is not set | 15 | # CONFIG_MIPS_COBALT is not set |
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index 3f01870b4d65..38d98739b165 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
12 | # CONFIG_MACH_ALCHEMY is not set | 12 | # CONFIG_MACH_ALCHEMY is not set |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_MIPS_COBALT is not set | 14 | # CONFIG_MIPS_COBALT is not set |
16 | # CONFIG_MACH_DECSTATION is not set | 15 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/markeins_defconfig b/arch/mips/configs/markeins_defconfig index d001f7e87418..91375718082d 100644 --- a/arch/mips/configs/markeins_defconfig +++ b/arch/mips/configs/markeins_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/mipssim_defconfig b/arch/mips/configs/mipssim_defconfig index 7358454deaa6..513e9a416fee 100644 --- a/arch/mips/configs/mipssim_defconfig +++ b/arch/mips/configs/mipssim_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/mpc30x_defconfig b/arch/mips/configs/mpc30x_defconfig index 8c720e51795b..b893f9d13790 100644 --- a/arch/mips/configs/mpc30x_defconfig +++ b/arch/mips/configs/mpc30x_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/msp71xx_defconfig b/arch/mips/configs/msp71xx_defconfig index ecbc030b7b6c..89d2b6a9475c 100644 --- a/arch/mips/configs/msp71xx_defconfig +++ b/arch/mips/configs/msp71xx_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/mtx1_defconfig b/arch/mips/configs/mtx1_defconfig index 9477f040796d..319966898555 100644 --- a/arch/mips/configs/mtx1_defconfig +++ b/arch/mips/configs/mtx1_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | CONFIG_MACH_ALCHEMY=y | 11 | CONFIG_MACH_ALCHEMY=y |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/pb1100_defconfig b/arch/mips/configs/pb1100_defconfig index be8091ef0a79..c36e859ad811 100644 --- a/arch/mips/configs/pb1100_defconfig +++ b/arch/mips/configs/pb1100_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_PB1100=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/pb1500_defconfig b/arch/mips/configs/pb1500_defconfig index e74ba794c789..4b43e36fa1fe 100644 --- a/arch/mips/configs/pb1500_defconfig +++ b/arch/mips/configs/pb1500_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_PB1500=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/pb1550_defconfig b/arch/mips/configs/pb1550_defconfig index 1d896fd830da..7c8d351ad1cc 100644 --- a/arch/mips/configs/pb1550_defconfig +++ b/arch/mips/configs/pb1550_defconfig | |||
@@ -23,7 +23,6 @@ CONFIG_MIPS_PB1550=y | |||
23 | # CONFIG_MIPS_DB1550 is not set | 23 | # CONFIG_MIPS_DB1550 is not set |
24 | # CONFIG_MIPS_DB1200 is not set | 24 | # CONFIG_MIPS_DB1200 is not set |
25 | # CONFIG_MIPS_MIRAGE is not set | 25 | # CONFIG_MIPS_MIRAGE is not set |
26 | # CONFIG_BASLER_EXCITE is not set | ||
27 | # CONFIG_MIPS_COBALT is not set | 26 | # CONFIG_MIPS_COBALT is not set |
28 | # CONFIG_MACH_DECSTATION is not set | 27 | # CONFIG_MACH_DECSTATION is not set |
29 | # CONFIG_MACH_JAZZ is not set | 28 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/pnx8335-stb225_defconfig b/arch/mips/configs/pnx8335-stb225_defconfig index fef4d31c2055..77a75f011973 100644 --- a/arch/mips/configs/pnx8335-stb225_defconfig +++ b/arch/mips/configs/pnx8335-stb225_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/pnx8550-jbs_defconfig b/arch/mips/configs/pnx8550-jbs_defconfig index e10c7116c3c2..945b27e13324 100644 --- a/arch/mips/configs/pnx8550-jbs_defconfig +++ b/arch/mips/configs/pnx8550-jbs_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/pnx8550-stb810_defconfig b/arch/mips/configs/pnx8550-stb810_defconfig index 5ed3c8dfa0a1..ff0fc0bedb2f 100644 --- a/arch/mips/configs/pnx8550-stb810_defconfig +++ b/arch/mips/configs/pnx8550-stb810_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/powertv_defconfig b/arch/mips/configs/powertv_defconfig index 3aff69ab6c32..86c8007c1743 100644 --- a/arch/mips/configs/powertv_defconfig +++ b/arch/mips/configs/powertv_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_AR7 is not set | 12 | # CONFIG_AR7 is not set |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_MIPS_COBALT is not set | 14 | # CONFIG_MIPS_COBALT is not set |
16 | # CONFIG_MACH_DECSTATION is not set | 15 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/rb532_defconfig b/arch/mips/configs/rb532_defconfig index f40c3a04739d..a9408dbe0d2a 100644 --- a/arch/mips/configs/rb532_defconfig +++ b/arch/mips/configs/rb532_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/rbtx49xx_defconfig b/arch/mips/configs/rbtx49xx_defconfig index 4f3b970006fc..1c9a5428aeab 100644 --- a/arch/mips/configs/rbtx49xx_defconfig +++ b/arch/mips/configs/rbtx49xx_defconfig | |||
@@ -10,7 +10,6 @@ CONFIG_MIPS=y | |||
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_AR7 is not set | 12 | # CONFIG_AR7 is not set |
13 | # CONFIG_BASLER_EXCITE is not set | ||
14 | # CONFIG_BCM47XX is not set | 13 | # CONFIG_BCM47XX is not set |
15 | # CONFIG_BCM63XX is not set | 14 | # CONFIG_BCM63XX is not set |
16 | # CONFIG_MIPS_COBALT is not set | 15 | # CONFIG_MIPS_COBALT is not set |
diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig index e53b8d096cfc..5873fc50005e 100644 --- a/arch/mips/configs/rm200_defconfig +++ b/arch/mips/configs/rm200_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/sb1250-swarm_defconfig b/arch/mips/configs/sb1250-swarm_defconfig index 7f38c0b956f3..5244716b67fc 100644 --- a/arch/mips/configs/sb1250-swarm_defconfig +++ b/arch/mips/configs/sb1250-swarm_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/tb0219_defconfig b/arch/mips/configs/tb0219_defconfig index b5059881bc7e..937b47cbb4a8 100644 --- a/arch/mips/configs/tb0219_defconfig +++ b/arch/mips/configs/tb0219_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/tb0226_defconfig b/arch/mips/configs/tb0226_defconfig index b06a716bf23f..da7358404904 100644 --- a/arch/mips/configs/tb0226_defconfig +++ b/arch/mips/configs/tb0226_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/tb0287_defconfig b/arch/mips/configs/tb0287_defconfig index 46512cf7ce04..99a0d21b8b22 100644 --- a/arch/mips/configs/tb0287_defconfig +++ b/arch/mips/configs/tb0287_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_BCM47XX is not set | 12 | # CONFIG_BCM47XX is not set |
14 | # CONFIG_MIPS_COBALT is not set | 13 | # CONFIG_MIPS_COBALT is not set |
15 | # CONFIG_MACH_DECSTATION is not set | 14 | # CONFIG_MACH_DECSTATION is not set |
diff --git a/arch/mips/configs/workpad_defconfig b/arch/mips/configs/workpad_defconfig index b437eb7f8672..d3646ea51c21 100644 --- a/arch/mips/configs/workpad_defconfig +++ b/arch/mips/configs/workpad_defconfig | |||
@@ -9,7 +9,6 @@ CONFIG_MIPS=y | |||
9 | # Machine selection | 9 | # Machine selection |
10 | # | 10 | # |
11 | # CONFIG_MACH_ALCHEMY is not set | 11 | # CONFIG_MACH_ALCHEMY is not set |
12 | # CONFIG_BASLER_EXCITE is not set | ||
13 | # CONFIG_MIPS_COBALT is not set | 12 | # CONFIG_MIPS_COBALT is not set |
14 | # CONFIG_MACH_DECSTATION is not set | 13 | # CONFIG_MACH_DECSTATION is not set |
15 | # CONFIG_MACH_JAZZ is not set | 14 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/wrppmc_defconfig b/arch/mips/configs/wrppmc_defconfig index 06acc7482e4c..c137831cc6a1 100644 --- a/arch/mips/configs/wrppmc_defconfig +++ b/arch/mips/configs/wrppmc_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/configs/yosemite_defconfig b/arch/mips/configs/yosemite_defconfig index 69feaf88b510..4a04f0c1fa86 100644 --- a/arch/mips/configs/yosemite_defconfig +++ b/arch/mips/configs/yosemite_defconfig | |||
@@ -22,7 +22,6 @@ CONFIG_ZONE_DMA=y | |||
22 | # CONFIG_MIPS_DB1550 is not set | 22 | # CONFIG_MIPS_DB1550 is not set |
23 | # CONFIG_MIPS_DB1200 is not set | 23 | # CONFIG_MIPS_DB1200 is not set |
24 | # CONFIG_MIPS_MIRAGE is not set | 24 | # CONFIG_MIPS_MIRAGE is not set |
25 | # CONFIG_BASLER_EXCITE is not set | ||
26 | # CONFIG_MIPS_COBALT is not set | 25 | # CONFIG_MIPS_COBALT is not set |
27 | # CONFIG_MACH_DECSTATION is not set | 26 | # CONFIG_MACH_DECSTATION is not set |
28 | # CONFIG_MACH_JAZZ is not set | 27 | # CONFIG_MACH_JAZZ is not set |
diff --git a/arch/mips/include/asm/mach-excite/cpu-feature-overrides.h b/arch/mips/include/asm/mach-excite/cpu-feature-overrides.h deleted file mode 100644 index 107104c3cd12..000000000000 --- a/arch/mips/include/asm/mach-excite/cpu-feature-overrides.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 2004 Thomas Koeller <thomas.koeller@baslerweb.com> | ||
7 | * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) | ||
8 | */ | ||
9 | #ifndef __ASM_MACH_EXCITE_CPU_FEATURE_OVERRIDES_H | ||
10 | #define __ASM_MACH_EXCITE_CPU_FEATURE_OVERRIDES_H | ||
11 | |||
12 | /* | ||
13 | * Basler eXcite has an RM9122 processor. | ||
14 | */ | ||
15 | #define cpu_has_watch 1 | ||
16 | #define cpu_has_mips16 0 | ||
17 | #define cpu_has_divec 0 | ||
18 | #define cpu_has_vce 0 | ||
19 | #define cpu_has_cache_cdex_p 0 | ||
20 | #define cpu_has_cache_cdex_s 0 | ||
21 | #define cpu_has_prefetch 1 | ||
22 | #define cpu_has_mcheck 0 | ||
23 | #define cpu_has_ejtag 0 | ||
24 | |||
25 | #define cpu_has_llsc 1 | ||
26 | #define cpu_has_vtag_icache 0 | ||
27 | #define cpu_has_dc_aliases 0 | ||
28 | #define cpu_has_ic_fills_f_dc 0 | ||
29 | #define cpu_has_dsp 0 | ||
30 | #define cpu_icache_snoops_remote_store 0 | ||
31 | #define cpu_has_mipsmt 0 | ||
32 | #define cpu_has_userlocal 0 | ||
33 | |||
34 | #define cpu_has_nofpuex 0 | ||
35 | #define cpu_has_64bits 1 | ||
36 | |||
37 | #define cpu_has_mips32r1 0 | ||
38 | #define cpu_has_mips32r2 0 | ||
39 | #define cpu_has_mips64r1 0 | ||
40 | #define cpu_has_mips64r2 0 | ||
41 | |||
42 | #define cpu_has_inclusive_pcaches 0 | ||
43 | |||
44 | #define cpu_dcache_line_size() 32 | ||
45 | #define cpu_icache_line_size() 32 | ||
46 | #define cpu_scache_line_size() 32 | ||
47 | |||
48 | #endif /* __ASM_MACH_EXCITE_CPU_FEATURE_OVERRIDES_H */ | ||
diff --git a/arch/mips/include/asm/mach-excite/excite.h b/arch/mips/include/asm/mach-excite/excite.h deleted file mode 100644 index 4c29ba44992c..000000000000 --- a/arch/mips/include/asm/mach-excite/excite.h +++ /dev/null | |||
@@ -1,154 +0,0 @@ | |||
1 | #ifndef __EXCITE_H__ | ||
2 | #define __EXCITE_H__ | ||
3 | |||
4 | #include <linux/init.h> | ||
5 | #include <asm/addrspace.h> | ||
6 | #include <asm/types.h> | ||
7 | |||
8 | #define EXCITE_CPU_EXT_CLOCK 100000000 | ||
9 | |||
10 | #if !defined(__ASSEMBLY__) | ||
11 | void __init excite_kgdb_init(void); | ||
12 | void excite_procfs_init(void); | ||
13 | extern unsigned long memsize; | ||
14 | extern char modetty[]; | ||
15 | extern u32 unit_id; | ||
16 | #endif | ||
17 | |||
18 | /* Base name for XICAP devices */ | ||
19 | #define XICAP_NAME "xicap_gpi" | ||
20 | |||
21 | /* OCD register offsets */ | ||
22 | #define LKB0 0x0038 | ||
23 | #define LKB5 0x0128 | ||
24 | #define LKM5 0x012C | ||
25 | #define LKB7 0x0138 | ||
26 | #define LKM7 0x013c | ||
27 | #define LKB8 0x0140 | ||
28 | #define LKM8 0x0144 | ||
29 | #define LKB9 0x0148 | ||
30 | #define LKM9 0x014c | ||
31 | #define LKB10 0x0150 | ||
32 | #define LKM10 0x0154 | ||
33 | #define LKB11 0x0158 | ||
34 | #define LKM11 0x015c | ||
35 | #define LKB12 0x0160 | ||
36 | #define LKM12 0x0164 | ||
37 | #define LKB13 0x0168 | ||
38 | #define LKM13 0x016c | ||
39 | #define LDP0 0x0200 | ||
40 | #define LDP1 0x0210 | ||
41 | #define LDP2 0x0220 | ||
42 | #define LDP3 0x0230 | ||
43 | #define INTPIN0 0x0A40 | ||
44 | #define INTPIN1 0x0A44 | ||
45 | #define INTPIN2 0x0A48 | ||
46 | #define INTPIN3 0x0A4C | ||
47 | #define INTPIN4 0x0A50 | ||
48 | #define INTPIN5 0x0A54 | ||
49 | #define INTPIN6 0x0A58 | ||
50 | #define INTPIN7 0x0A5C | ||
51 | |||
52 | |||
53 | |||
54 | |||
55 | /* TITAN register offsets */ | ||
56 | #define CPRR 0x0004 | ||
57 | #define CPDSR 0x0008 | ||
58 | #define CPTC0R 0x000c | ||
59 | #define CPTC1R 0x0010 | ||
60 | #define CPCFG0 0x0020 | ||
61 | #define CPCFG1 0x0024 | ||
62 | #define CPDST0A 0x0028 | ||
63 | #define CPDST0B 0x002c | ||
64 | #define CPDST1A 0x0030 | ||
65 | #define CPDST1B 0x0034 | ||
66 | #define CPXDSTA 0x0038 | ||
67 | #define CPXDSTB 0x003c | ||
68 | #define CPXCISRA 0x0048 | ||
69 | #define CPXCISRB 0x004c | ||
70 | #define CPGIG0ER 0x0050 | ||
71 | #define CPGIG1ER 0x0054 | ||
72 | #define CPGRWL 0x0068 | ||
73 | #define CPURSLMT 0x00f8 | ||
74 | #define UACFG 0x0200 | ||
75 | #define UAINTS 0x0204 | ||
76 | #define SDRXFCIE 0x4828 | ||
77 | #define SDTXFCIE 0x4928 | ||
78 | #define INTP0Status0 0x1B00 | ||
79 | #define INTP0Mask0 0x1B04 | ||
80 | #define INTP0Set0 0x1B08 | ||
81 | #define INTP0Clear0 0x1B0C | ||
82 | #define GXCFG 0x5000 | ||
83 | #define GXDMADRPFX 0x5018 | ||
84 | #define GXDMA_DESCADR 0x501c | ||
85 | #define GXCH0TDESSTRT 0x5054 | ||
86 | |||
87 | /* IRQ definitions */ | ||
88 | #define NMICONFIG 0xac0 | ||
89 | #define TITAN_MSGINT 0xc4 | ||
90 | #define TITAN_IRQ ((TITAN_MSGINT / 0x20) + 2) | ||
91 | #define FPGA0_MSGINT 0x5a | ||
92 | #define FPGA0_IRQ ((FPGA0_MSGINT / 0x20) + 2) | ||
93 | #define FPGA1_MSGINT 0x7b | ||
94 | #define FPGA1_IRQ ((FPGA1_MSGINT / 0x20) + 2) | ||
95 | #define PHY_MSGINT 0x9c | ||
96 | #define PHY_IRQ ((PHY_MSGINT / 0x20) + 2) | ||
97 | |||
98 | #if defined(CONFIG_BASLER_EXCITE_PROTOTYPE) | ||
99 | /* Pre-release units used interrupt pin #9 */ | ||
100 | #define USB_IRQ 11 | ||
101 | #else | ||
102 | /* Re-designed units use interrupt pin #1 */ | ||
103 | #define USB_MSGINT 0x39 | ||
104 | #define USB_IRQ ((USB_MSGINT / 0x20) + 2) | ||
105 | #endif | ||
106 | #define TIMER_IRQ 12 | ||
107 | |||
108 | |||
109 | /* Device address ranges */ | ||
110 | #define EXCITE_OFFS_OCD 0x1fffc000 | ||
111 | #define EXCITE_SIZE_OCD (16 * 1024) | ||
112 | #define EXCITE_PHYS_OCD CPHYSADDR(EXCITE_OFFS_OCD) | ||
113 | #define EXCITE_ADDR_OCD CKSEG1ADDR(EXCITE_OFFS_OCD) | ||
114 | |||
115 | #define EXCITE_OFFS_SCRAM 0x1fffa000 | ||
116 | #define EXCITE_SIZE_SCRAM (8 << 10) | ||
117 | #define EXCITE_PHYS_SCRAM CPHYSADDR(EXCITE_OFFS_SCRAM) | ||
118 | #define EXCITE_ADDR_SCRAM CKSEG1ADDR(EXCITE_OFFS_SCRAM) | ||
119 | |||
120 | #define EXCITE_OFFS_PCI_IO 0x1fff8000 | ||
121 | #define EXCITE_SIZE_PCI_IO (8 << 10) | ||
122 | #define EXCITE_PHYS_PCI_IO CPHYSADDR(EXCITE_OFFS_PCI_IO) | ||
123 | #define EXCITE_ADDR_PCI_IO CKSEG1ADDR(EXCITE_OFFS_PCI_IO) | ||
124 | |||
125 | #define EXCITE_OFFS_TITAN 0x1fff0000 | ||
126 | #define EXCITE_SIZE_TITAN (32 << 10) | ||
127 | #define EXCITE_PHYS_TITAN CPHYSADDR(EXCITE_OFFS_TITAN) | ||
128 | #define EXCITE_ADDR_TITAN CKSEG1ADDR(EXCITE_OFFS_TITAN) | ||
129 | |||
130 | #define EXCITE_OFFS_PCI_MEM 0x1ffe0000 | ||
131 | #define EXCITE_SIZE_PCI_MEM (64 << 10) | ||
132 | #define EXCITE_PHYS_PCI_MEM CPHYSADDR(EXCITE_OFFS_PCI_MEM) | ||
133 | #define EXCITE_ADDR_PCI_MEM CKSEG1ADDR(EXCITE_OFFS_PCI_MEM) | ||
134 | |||
135 | #define EXCITE_OFFS_FPGA 0x1ffdc000 | ||
136 | #define EXCITE_SIZE_FPGA (16 << 10) | ||
137 | #define EXCITE_PHYS_FPGA CPHYSADDR(EXCITE_OFFS_FPGA) | ||
138 | #define EXCITE_ADDR_FPGA CKSEG1ADDR(EXCITE_OFFS_FPGA) | ||
139 | |||
140 | #define EXCITE_OFFS_NAND 0x1ffd8000 | ||
141 | #define EXCITE_SIZE_NAND (16 << 10) | ||
142 | #define EXCITE_PHYS_NAND CPHYSADDR(EXCITE_OFFS_NAND) | ||
143 | #define EXCITE_ADDR_NAND CKSEG1ADDR(EXCITE_OFFS_NAND) | ||
144 | |||
145 | #define EXCITE_OFFS_BOOTROM 0x1f000000 | ||
146 | #define EXCITE_SIZE_BOOTROM (8 << 20) | ||
147 | #define EXCITE_PHYS_BOOTROM CPHYSADDR(EXCITE_OFFS_BOOTROM) | ||
148 | #define EXCITE_ADDR_BOOTROM CKSEG1ADDR(EXCITE_OFFS_BOOTROM) | ||
149 | |||
150 | /* FPGA address offsets */ | ||
151 | #define EXCITE_FPGA_DPR 0x0104 /* dual-ported ram */ | ||
152 | #define EXCITE_FPGA_SYSCTL 0x0200 /* system control register block */ | ||
153 | |||
154 | #endif /* __EXCITE_H__ */ | ||
diff --git a/arch/mips/include/asm/mach-excite/excite_fpga.h b/arch/mips/include/asm/mach-excite/excite_fpga.h deleted file mode 100644 index 0a1ef69bece7..000000000000 --- a/arch/mips/include/asm/mach-excite/excite_fpga.h +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | #ifndef EXCITE_FPGA_H_INCLUDED | ||
2 | #define EXCITE_FPGA_H_INCLUDED | ||
3 | |||
4 | |||
5 | /** | ||
6 | * Address alignment of the individual FPGA bytes. | ||
7 | * The address arrangement of the individual bytes of the FPGA is two | ||
8 | * byte aligned at the embedded MK2 platform. | ||
9 | */ | ||
10 | #ifdef EXCITE_CCI_FPGA_MK2 | ||
11 | typedef unsigned char excite_cci_fpga_align_t __attribute__ ((aligned(2))); | ||
12 | #else | ||
13 | typedef unsigned char excite_cci_fpga_align_t; | ||
14 | #endif | ||
15 | |||
16 | |||
17 | /** | ||
18 | * Size of Dual Ported RAM. | ||
19 | */ | ||
20 | #define EXCITE_DPR_SIZE 263 | ||
21 | |||
22 | |||
23 | /** | ||
24 | * Size of Reserved Status Fields in Dual Ported RAM. | ||
25 | */ | ||
26 | #define EXCITE_DPR_STATUS_SIZE 7 | ||
27 | |||
28 | |||
29 | |||
30 | /** | ||
31 | * FPGA. | ||
32 | * Hardware register layout of the FPGA interface. The FPGA must accessed | ||
33 | * byte wise solely. | ||
34 | * @see EXCITE_CCI_DPR_MK2 | ||
35 | */ | ||
36 | typedef struct excite_fpga { | ||
37 | |||
38 | /** | ||
39 | * Dual Ported RAM. | ||
40 | */ | ||
41 | excite_cci_fpga_align_t dpr[EXCITE_DPR_SIZE]; | ||
42 | |||
43 | /** | ||
44 | * Status. | ||
45 | */ | ||
46 | excite_cci_fpga_align_t status[EXCITE_DPR_STATUS_SIZE]; | ||
47 | |||
48 | #ifdef EXCITE_CCI_FPGA_MK2 | ||
49 | /** | ||
50 | * RM9000 Interrupt. | ||
51 | * Write access initiates interrupt at the RM9000 (MIPS) processor of the eXcite. | ||
52 | */ | ||
53 | excite_cci_fpga_align_t rm9k_int; | ||
54 | #else | ||
55 | /** | ||
56 | * MK2 Interrupt. | ||
57 | * Write access initiates interrupt at the ARM processor of the MK2. | ||
58 | */ | ||
59 | excite_cci_fpga_align_t mk2_int; | ||
60 | |||
61 | excite_cci_fpga_align_t gap[0x1000-0x10f]; | ||
62 | |||
63 | /** | ||
64 | * IRQ Source/Acknowledge. | ||
65 | */ | ||
66 | excite_cci_fpga_align_t rm9k_irq_src; | ||
67 | |||
68 | /** | ||
69 | * IRQ Mask. | ||
70 | * Set bits enable the related interrupt. | ||
71 | */ | ||
72 | excite_cci_fpga_align_t rm9k_irq_mask; | ||
73 | #endif | ||
74 | |||
75 | |||
76 | } excite_fpga; | ||
77 | |||
78 | |||
79 | |||
80 | #endif /* ndef EXCITE_FPGA_H_INCLUDED */ | ||
diff --git a/arch/mips/include/asm/mach-excite/excite_nandflash.h b/arch/mips/include/asm/mach-excite/excite_nandflash.h deleted file mode 100644 index c4cf6140622e..000000000000 --- a/arch/mips/include/asm/mach-excite/excite_nandflash.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __EXCITE_NANDFLASH_H__ | ||
2 | #define __EXCITE_NANDFLASH_H__ | ||
3 | |||
4 | /* Resource names */ | ||
5 | #define EXCITE_NANDFLASH_RESOURCE_REGS "excite_nandflash_regs" | ||
6 | |||
7 | #endif /* __EXCITE_NANDFLASH_H__ */ | ||
diff --git a/arch/mips/include/asm/mach-excite/rm9k_eth.h b/arch/mips/include/asm/mach-excite/rm9k_eth.h deleted file mode 100644 index 94705a46f72e..000000000000 --- a/arch/mips/include/asm/mach-excite/rm9k_eth.h +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | #if !defined(__RM9K_ETH_H__) | ||
2 | #define __RM9K_ETH_H__ | ||
3 | |||
4 | #define RM9K_GE_NAME "rm9k_ge" | ||
5 | |||
6 | /* Resource names */ | ||
7 | #define RM9K_GE_RESOURCE_MAC "rm9k_ge_mac" | ||
8 | #define RM9K_GE_RESOURCE_MSTAT "rm9k_ge_mstat" | ||
9 | #define RM9K_GE_RESOURCE_PKTPROC "rm9k_ge_pktproc" | ||
10 | #define RM9K_GE_RESOURCE_XDMA "rm9k_ge_xdma" | ||
11 | #define RM9K_GE_RESOURCE_FIFO_RX "rm9k_ge_fifo_rx" | ||
12 | #define RM9K_GE_RESOURCE_FIFO_TX "rm9k_ge_fifo_tx" | ||
13 | #define RM9K_GE_RESOURCE_FIFOMEM_RX "rm9k_ge_fifo_memory_rx" | ||
14 | #define RM9K_GE_RESOURCE_FIFOMEM_TX "rm9k_ge_fifo_memory_tx" | ||
15 | #define RM9K_GE_RESOURCE_PHY "rm9k_ge_phy" | ||
16 | #define RM9K_GE_RESOURCE_DMADESC_RX "rm9k_ge_dmadesc_rx" | ||
17 | #define RM9K_GE_RESOURCE_DMADESC_TX "rm9k_ge_dmadesc_tx" | ||
18 | #define RM9K_GE_RESOURCE_IRQ_MAIN "rm9k_ge_irq_main" | ||
19 | #define RM9K_GE_RESOURCE_IRQ_PHY "rm9k_ge_irq_phy" | ||
20 | #define RM9K_GE_RESOURCE_GPI_SLICE "rm9k_ge_gpi_slice" | ||
21 | #define RM9K_GE_RESOURCE_MDIO_CHANNEL "rm9k_ge_mdio_channel" | ||
22 | |||
23 | #endif /* !defined(__RM9K_ETH_H__) */ | ||
diff --git a/arch/mips/include/asm/mach-excite/rm9k_wdt.h b/arch/mips/include/asm/mach-excite/rm9k_wdt.h deleted file mode 100644 index 3fa3c08d2da7..000000000000 --- a/arch/mips/include/asm/mach-excite/rm9k_wdt.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifndef __RM9K_WDT_H__ | ||
2 | #define __RM9K_WDT_H__ | ||
3 | |||
4 | /* Device name */ | ||
5 | #define WDT_NAME "wdt_gpi" | ||
6 | |||
7 | /* Resource names */ | ||
8 | #define WDT_RESOURCE_REGS "excite_watchdog_regs" | ||
9 | #define WDT_RESOURCE_IRQ "excite_watchdog_irq" | ||
10 | #define WDT_RESOURCE_COUNTER "excite_watchdog_counter" | ||
11 | |||
12 | #endif /* __RM9K_WDT_H__ */ | ||
diff --git a/arch/mips/include/asm/mach-excite/rm9k_xicap.h b/arch/mips/include/asm/mach-excite/rm9k_xicap.h deleted file mode 100644 index 009577734a8d..000000000000 --- a/arch/mips/include/asm/mach-excite/rm9k_xicap.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #ifndef __EXCITE_XICAP_H__ | ||
2 | #define __EXCITE_XICAP_H__ | ||
3 | |||
4 | |||
5 | /* Resource names */ | ||
6 | #define XICAP_RESOURCE_FIFO_RX "xicap_fifo_rx" | ||
7 | #define XICAP_RESOURCE_FIFO_TX "xicap_fifo_tx" | ||
8 | #define XICAP_RESOURCE_XDMA "xicap_xdma" | ||
9 | #define XICAP_RESOURCE_DMADESC "xicap_dmadesc" | ||
10 | #define XICAP_RESOURCE_PKTPROC "xicap_pktproc" | ||
11 | #define XICAP_RESOURCE_IRQ "xicap_irq" | ||
12 | #define XICAP_RESOURCE_GPI_SLICE "xicap_gpi_slice" | ||
13 | #define XICAP_RESOURCE_FIFO_BLK "xicap_fifo_blocks" | ||
14 | #define XICAP_RESOURCE_PKT_STREAM "xicap_pkt_stream" | ||
15 | |||
16 | #endif /* __EXCITE_XICAP_H__ */ | ||
diff --git a/arch/mips/include/asm/mach-excite/war.h b/arch/mips/include/asm/mach-excite/war.h deleted file mode 100644 index 1f82180c1598..000000000000 --- a/arch/mips/include/asm/mach-excite/war.h +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 2002, 2004, 2007 by Ralf Baechle <ralf@linux-mips.org> | ||
7 | */ | ||
8 | #ifndef __ASM_MIPS_MACH_EXCITE_WAR_H | ||
9 | #define __ASM_MIPS_MACH_EXCITE_WAR_H | ||
10 | |||
11 | #define R4600_V1_INDEX_ICACHEOP_WAR 0 | ||
12 | #define R4600_V1_HIT_CACHEOP_WAR 0 | ||
13 | #define R4600_V2_HIT_CACHEOP_WAR 0 | ||
14 | #define R5432_CP0_INTERRUPT_WAR 0 | ||
15 | #define BCM1250_M3_WAR 0 | ||
16 | #define SIBYTE_1956_WAR 0 | ||
17 | #define MIPS4K_ICACHE_REFILL_WAR 0 | ||
18 | #define MIPS_CACHE_SYNC_WAR 0 | ||
19 | #define TX49XX_ICACHE_INDEX_INV_WAR 0 | ||
20 | #define RM9000_CDEX_SMP_WAR 1 | ||
21 | #define ICACHE_REFILLS_WORKAROUND_WAR 1 | ||
22 | #define R10000_LLSC_WAR 0 | ||
23 | #define MIPS34K_MISSED_ITLB_WAR 0 | ||
24 | |||
25 | #endif /* __ASM_MIPS_MACH_EXCITE_WAR_H */ | ||
diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile index c9a0dc122237..c9209ca6c8e7 100644 --- a/arch/mips/pci/Makefile +++ b/arch/mips/pci/Makefile | |||
@@ -22,7 +22,6 @@ obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \ | |||
22 | # | 22 | # |
23 | # These are still pretty much in the old state, watch, go blind. | 23 | # These are still pretty much in the old state, watch, go blind. |
24 | # | 24 | # |
25 | obj-$(CONFIG_BASLER_EXCITE) += ops-titan.o pci-excite.o fixup-excite.o | ||
26 | obj-$(CONFIG_LASAT) += pci-lasat.o | 25 | obj-$(CONFIG_LASAT) += pci-lasat.o |
27 | obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o | 26 | obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o |
28 | obj-$(CONFIG_SOC_AU1500) += fixup-au1000.o ops-au1000.o | 27 | obj-$(CONFIG_SOC_AU1500) += fixup-au1000.o ops-au1000.o |
diff --git a/arch/mips/pci/fixup-excite.c b/arch/mips/pci/fixup-excite.c deleted file mode 100644 index cd64d9f177c4..000000000000 --- a/arch/mips/pci/fixup-excite.c +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | #include <linux/kernel.h> | ||
20 | #include <linux/init.h> | ||
21 | #include <linux/pci.h> | ||
22 | #include <excite.h> | ||
23 | |||
24 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | ||
25 | { | ||
26 | if (pin == 0) | ||
27 | return -1; | ||
28 | |||
29 | return USB_IRQ; /* USB controller is the only PCI device */ | ||
30 | } | ||
31 | |||
32 | /* Do platform specific device initialization at pci_enable_device() time */ | ||
33 | int pcibios_plat_dev_init(struct pci_dev *dev) | ||
34 | { | ||
35 | return 0; | ||
36 | } | ||
diff --git a/arch/mips/pci/pci-excite.c b/arch/mips/pci/pci-excite.c deleted file mode 100644 index 8a56876afcc6..000000000000 --- a/arch/mips/pci/pci-excite.c +++ /dev/null | |||
@@ -1,149 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2004 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
4 | * Based on the PMC-Sierra Yosemite board support by Ralf Baechle. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | ||
20 | #include <linux/init.h> | ||
21 | #include <linux/kernel.h> | ||
22 | #include <linux/types.h> | ||
23 | #include <linux/pci.h> | ||
24 | #include <linux/bitops.h> | ||
25 | #include <asm/rm9k-ocd.h> | ||
26 | #include <excite.h> | ||
27 | |||
28 | |||
29 | extern struct pci_ops titan_pci_ops; | ||
30 | |||
31 | |||
32 | static struct resource | ||
33 | mem_resource = { | ||
34 | .name = "PCI memory", | ||
35 | .start = EXCITE_PHYS_PCI_MEM, | ||
36 | .end = EXCITE_PHYS_PCI_MEM + EXCITE_SIZE_PCI_MEM - 1, | ||
37 | .flags = IORESOURCE_MEM | ||
38 | }, | ||
39 | io_resource = { | ||
40 | .name = "PCI I/O", | ||
41 | .start = EXCITE_PHYS_PCI_IO, | ||
42 | .end = EXCITE_PHYS_PCI_IO + EXCITE_SIZE_PCI_IO - 1, | ||
43 | .flags = IORESOURCE_IO | ||
44 | }; | ||
45 | |||
46 | |||
47 | static struct pci_controller bx_controller = { | ||
48 | .pci_ops = &titan_pci_ops, | ||
49 | .mem_resource = &mem_resource, | ||
50 | .mem_offset = 0x00000000UL, | ||
51 | .io_resource = &io_resource, | ||
52 | .io_offset = 0x00000000UL | ||
53 | }; | ||
54 | |||
55 | |||
56 | static char | ||
57 | iopage_failed[] __initdata = "Cannot allocate PCI I/O page", | ||
58 | modebits_no_pci[] __initdata = "PCI is not configured in mode bits"; | ||
59 | |||
60 | #define RM9000x2_OCD_HTSC 0x0604 | ||
61 | #define RM9000x2_OCD_HTBHL 0x060c | ||
62 | #define RM9000x2_OCD_PCIHRST 0x078c | ||
63 | |||
64 | #define RM9K_OCD_MODEBIT1 0x00d4 /* (MODEBIT1) Mode Bit 1 */ | ||
65 | #define RM9K_OCD_CPHDCR 0x00f4 /* CPU-PCI/HT Data Control. */ | ||
66 | |||
67 | #define PCISC_FB2B 0x00000200 | ||
68 | #define PCISC_MWICG 0x00000010 | ||
69 | #define PCISC_EMC 0x00000004 | ||
70 | #define PCISC_ERMA 0x00000002 | ||
71 | |||
72 | |||
73 | |||
74 | static int __init basler_excite_pci_setup(void) | ||
75 | { | ||
76 | const unsigned int fullbars = memsize / (256 << 20); | ||
77 | unsigned int i; | ||
78 | |||
79 | /* Check modebits to see if PCI is really enabled. */ | ||
80 | if (!((ocd_readl(RM9K_OCD_MODEBIT1) >> (47-32)) & 0x1)) | ||
81 | panic(modebits_no_pci); | ||
82 | |||
83 | if (NULL == request_mem_region(EXCITE_PHYS_PCI_IO, EXCITE_SIZE_PCI_IO, | ||
84 | "Memory-mapped PCI I/O page")) | ||
85 | panic(iopage_failed); | ||
86 | |||
87 | /* Enable PCI 0 as master for config cycles */ | ||
88 | ocd_writel(PCISC_EMC | PCISC_ERMA, RM9000x2_OCD_HTSC); | ||
89 | |||
90 | |||
91 | /* Set up latency timer */ | ||
92 | ocd_writel(0x8008, RM9000x2_OCD_HTBHL); | ||
93 | |||
94 | /* Setup host IO and Memory space */ | ||
95 | ocd_writel((EXCITE_PHYS_PCI_IO >> 4) | 1, LKB7); | ||
96 | ocd_writel(((EXCITE_SIZE_PCI_IO >> 4) & 0x7fffff00) - 0x100, LKM7); | ||
97 | ocd_writel((EXCITE_PHYS_PCI_MEM >> 4) | 1, LKB8); | ||
98 | ocd_writel(((EXCITE_SIZE_PCI_MEM >> 4) & 0x7fffff00) - 0x100, LKM8); | ||
99 | |||
100 | /* Set up PCI BARs to map all installed memory */ | ||
101 | for (i = 0; i < 6; i++) { | ||
102 | const unsigned int bar = 0x610 + i * 4; | ||
103 | |||
104 | if (i < fullbars) { | ||
105 | ocd_writel(0x10000000 * i, bar); | ||
106 | ocd_writel(0x01000000 * i, bar + 0x140); | ||
107 | ocd_writel(0x0ffff029, bar + 0x100); | ||
108 | continue; | ||
109 | } | ||
110 | |||
111 | if (i == fullbars) { | ||
112 | int o; | ||
113 | u32 mask; | ||
114 | |||
115 | const unsigned long rem = memsize - i * 0x10000000; | ||
116 | if (!rem) { | ||
117 | ocd_writel(0x00000000, bar + 0x100); | ||
118 | continue; | ||
119 | } | ||
120 | |||
121 | o = ffs(rem) - 1; | ||
122 | if (rem & ~(0x1 << o)) | ||
123 | o++; | ||
124 | mask = ((0x1 << o) & 0x0ffff000) - 0x1000; | ||
125 | ocd_writel(0x10000000 * i, bar); | ||
126 | ocd_writel(0x01000000 * i, bar + 0x140); | ||
127 | ocd_writel(0x00000029 | mask, bar + 0x100); | ||
128 | continue; | ||
129 | } | ||
130 | |||
131 | ocd_writel(0x00000000, bar + 0x100); | ||
132 | } | ||
133 | |||
134 | /* Finally, enable the PCI interrupt */ | ||
135 | #if USB_IRQ > 7 | ||
136 | set_c0_intcontrol(1 << USB_IRQ); | ||
137 | #else | ||
138 | set_c0_status(1 << (USB_IRQ + 8)); | ||
139 | #endif | ||
140 | |||
141 | ioport_resource.start = EXCITE_PHYS_PCI_IO; | ||
142 | ioport_resource.end = EXCITE_PHYS_PCI_IO + EXCITE_SIZE_PCI_IO - 1; | ||
143 | set_io_port_base((unsigned long) ioremap_nocache(EXCITE_PHYS_PCI_IO, EXCITE_SIZE_PCI_IO)); | ||
144 | register_pci_controller(&bx_controller); | ||
145 | return 0; | ||
146 | } | ||
147 | |||
148 | |||
149 | arch_initcall(basler_excite_pci_setup); | ||
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 7678538344f4..677cd53f18c3 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -291,14 +291,6 @@ config MTD_NAND_SHARPSL | |||
291 | tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" | 291 | tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" |
292 | depends on ARCH_PXA | 292 | depends on ARCH_PXA |
293 | 293 | ||
294 | config MTD_NAND_BASLER_EXCITE | ||
295 | tristate "Support for NAND Flash on Basler eXcite" | ||
296 | depends on BASLER_EXCITE | ||
297 | help | ||
298 | This enables the driver for the NAND flash device found on the | ||
299 | Basler eXcite Smart Camera. If built as a module, the driver | ||
300 | will be named excite_nandflash. | ||
301 | |||
302 | config MTD_NAND_CAFE | 294 | config MTD_NAND_CAFE |
303 | tristate "NAND support for OLPC CAFÉ chip" | 295 | tristate "NAND support for OLPC CAFÉ chip" |
304 | depends on PCI | 296 | depends on PCI |
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 460a1f39a8d1..1407bd144015 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile | |||
@@ -27,7 +27,6 @@ obj-$(CONFIG_MTD_NAND_ATMEL) += atmel_nand.o | |||
27 | obj-$(CONFIG_MTD_NAND_GPIO) += gpio.o | 27 | obj-$(CONFIG_MTD_NAND_GPIO) += gpio.o |
28 | obj-$(CONFIG_MTD_NAND_OMAP2) += omap2.o | 28 | obj-$(CONFIG_MTD_NAND_OMAP2) += omap2.o |
29 | obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o | 29 | obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o |
30 | obj-$(CONFIG_MTD_NAND_BASLER_EXCITE) += excite_nandflash.o | ||
31 | obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o | 30 | obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o |
32 | obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o | 31 | obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o |
33 | obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o | 32 | obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o |
diff --git a/drivers/mtd/nand/excite_nandflash.c b/drivers/mtd/nand/excite_nandflash.c deleted file mode 100644 index af6a6a5399e1..000000000000 --- a/drivers/mtd/nand/excite_nandflash.c +++ /dev/null | |||
@@ -1,248 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2007 by Basler Vision Technologies AG | ||
3 | * Author: Thomas Koeller <thomas.koeller.qbaslerweb.com> | ||
4 | * Original code by Thies Moeller <thies.moeller@baslerweb.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | ||
20 | |||
21 | #include <linux/module.h> | ||
22 | #include <linux/types.h> | ||
23 | #include <linux/init.h> | ||
24 | #include <linux/kernel.h> | ||
25 | #include <linux/string.h> | ||
26 | #include <linux/ioport.h> | ||
27 | #include <linux/platform_device.h> | ||
28 | #include <linux/delay.h> | ||
29 | #include <linux/err.h> | ||
30 | |||
31 | #include <linux/mtd/mtd.h> | ||
32 | #include <linux/mtd/nand.h> | ||
33 | #include <linux/mtd/nand_ecc.h> | ||
34 | #include <linux/mtd/partitions.h> | ||
35 | |||
36 | #include <asm/io.h> | ||
37 | #include <asm/rm9k-ocd.h> | ||
38 | |||
39 | #include <excite_nandflash.h> | ||
40 | |||
41 | #define EXCITE_NANDFLASH_VERSION "0.1" | ||
42 | |||
43 | /* I/O register offsets */ | ||
44 | #define EXCITE_NANDFLASH_DATA_BYTE 0x00 | ||
45 | #define EXCITE_NANDFLASH_STATUS_BYTE 0x0c | ||
46 | #define EXCITE_NANDFLASH_ADDR_BYTE 0x10 | ||
47 | #define EXCITE_NANDFLASH_CMD_BYTE 0x14 | ||
48 | |||
49 | /* prefix for debug output */ | ||
50 | static const char module_id[] = "excite_nandflash"; | ||
51 | |||
52 | /* | ||
53 | * partition definition | ||
54 | */ | ||
55 | static const struct mtd_partition partition_info[] = { | ||
56 | { | ||
57 | .name = "eXcite RootFS", | ||
58 | .offset = 0, | ||
59 | .size = MTDPART_SIZ_FULL | ||
60 | } | ||
61 | }; | ||
62 | |||
63 | static inline const struct resource * | ||
64 | excite_nand_get_resource(struct platform_device *d, unsigned long flags, | ||
65 | const char *basename) | ||
66 | { | ||
67 | char buf[80]; | ||
68 | |||
69 | if (snprintf(buf, sizeof buf, "%s_%u", basename, d->id) >= sizeof buf) | ||
70 | return NULL; | ||
71 | return platform_get_resource_byname(d, flags, buf); | ||
72 | } | ||
73 | |||
74 | static inline void __iomem * | ||
75 | excite_nand_map_regs(struct platform_device *d, const char *basename) | ||
76 | { | ||
77 | void *result = NULL; | ||
78 | const struct resource *const r = | ||
79 | excite_nand_get_resource(d, IORESOURCE_MEM, basename); | ||
80 | |||
81 | if (r) | ||
82 | result = ioremap_nocache(r->start, r->end + 1 - r->start); | ||
83 | return result; | ||
84 | } | ||
85 | |||
86 | /* controller and mtd information */ | ||
87 | struct excite_nand_drvdata { | ||
88 | struct mtd_info board_mtd; | ||
89 | struct nand_chip board_chip; | ||
90 | void __iomem *regs; | ||
91 | void __iomem *tgt; | ||
92 | }; | ||
93 | |||
94 | /* Control function */ | ||
95 | static void excite_nand_control(struct mtd_info *mtd, int cmd, | ||
96 | unsigned int ctrl) | ||
97 | { | ||
98 | struct excite_nand_drvdata * const d = | ||
99 | container_of(mtd, struct excite_nand_drvdata, board_mtd); | ||
100 | |||
101 | switch (ctrl) { | ||
102 | case NAND_CTRL_CHANGE | NAND_CTRL_CLE: | ||
103 | d->tgt = d->regs + EXCITE_NANDFLASH_CMD_BYTE; | ||
104 | break; | ||
105 | case NAND_CTRL_CHANGE | NAND_CTRL_ALE: | ||
106 | d->tgt = d->regs + EXCITE_NANDFLASH_ADDR_BYTE; | ||
107 | break; | ||
108 | case NAND_CTRL_CHANGE | NAND_NCE: | ||
109 | d->tgt = d->regs + EXCITE_NANDFLASH_DATA_BYTE; | ||
110 | break; | ||
111 | } | ||
112 | |||
113 | if (cmd != NAND_CMD_NONE) | ||
114 | __raw_writeb(cmd, d->tgt); | ||
115 | } | ||
116 | |||
117 | /* Return 0 if flash is busy, 1 if ready */ | ||
118 | static int excite_nand_devready(struct mtd_info *mtd) | ||
119 | { | ||
120 | struct excite_nand_drvdata * const drvdata = | ||
121 | container_of(mtd, struct excite_nand_drvdata, board_mtd); | ||
122 | |||
123 | return __raw_readb(drvdata->regs + EXCITE_NANDFLASH_STATUS_BYTE); | ||
124 | } | ||
125 | |||
126 | /* | ||
127 | * Called by device layer to remove the driver. | ||
128 | * The binding to the mtd and all allocated | ||
129 | * resources are released. | ||
130 | */ | ||
131 | static int __devexit excite_nand_remove(struct platform_device *dev) | ||
132 | { | ||
133 | struct excite_nand_drvdata * const this = platform_get_drvdata(dev); | ||
134 | |||
135 | platform_set_drvdata(dev, NULL); | ||
136 | |||
137 | if (unlikely(!this)) { | ||
138 | printk(KERN_ERR "%s: called %s without private data!!", | ||
139 | module_id, __func__); | ||
140 | return -EINVAL; | ||
141 | } | ||
142 | |||
143 | /* first thing we need to do is release our mtd | ||
144 | * then go through freeing the resource used | ||
145 | */ | ||
146 | nand_release(&this->board_mtd); | ||
147 | |||
148 | /* free the common resources */ | ||
149 | iounmap(this->regs); | ||
150 | kfree(this); | ||
151 | |||
152 | DEBUG(MTD_DEBUG_LEVEL1, "%s: removed\n", module_id); | ||
153 | return 0; | ||
154 | } | ||
155 | |||
156 | /* | ||
157 | * Called by device layer when it finds a device matching | ||
158 | * one our driver can handle. This code checks to see if | ||
159 | * it can allocate all necessary resources then calls the | ||
160 | * nand layer to look for devices. | ||
161 | */ | ||
162 | static int __init excite_nand_probe(struct platform_device *pdev) | ||
163 | { | ||
164 | struct excite_nand_drvdata *drvdata; /* private driver data */ | ||
165 | struct nand_chip *board_chip; /* private flash chip data */ | ||
166 | struct mtd_info *board_mtd; /* mtd info for this board */ | ||
167 | int scan_res; | ||
168 | |||
169 | drvdata = kzalloc(sizeof(*drvdata), GFP_KERNEL); | ||
170 | if (unlikely(!drvdata)) { | ||
171 | printk(KERN_ERR "%s: no memory for drvdata\n", | ||
172 | module_id); | ||
173 | return -ENOMEM; | ||
174 | } | ||
175 | |||
176 | /* bind private data into driver */ | ||
177 | platform_set_drvdata(pdev, drvdata); | ||
178 | |||
179 | /* allocate and map the resource */ | ||
180 | drvdata->regs = | ||
181 | excite_nand_map_regs(pdev, EXCITE_NANDFLASH_RESOURCE_REGS); | ||
182 | |||
183 | if (unlikely(!drvdata->regs)) { | ||
184 | printk(KERN_ERR "%s: cannot reserve register region\n", | ||
185 | module_id); | ||
186 | kfree(drvdata); | ||
187 | return -ENXIO; | ||
188 | } | ||
189 | |||
190 | drvdata->tgt = drvdata->regs + EXCITE_NANDFLASH_DATA_BYTE; | ||
191 | |||
192 | /* initialise our chip */ | ||
193 | board_chip = &drvdata->board_chip; | ||
194 | board_chip->IO_ADDR_R = board_chip->IO_ADDR_W = | ||
195 | drvdata->regs + EXCITE_NANDFLASH_DATA_BYTE; | ||
196 | board_chip->cmd_ctrl = excite_nand_control; | ||
197 | board_chip->dev_ready = excite_nand_devready; | ||
198 | board_chip->chip_delay = 25; | ||
199 | board_chip->ecc.mode = NAND_ECC_SOFT; | ||
200 | |||
201 | /* link chip to mtd */ | ||
202 | board_mtd = &drvdata->board_mtd; | ||
203 | board_mtd->priv = board_chip; | ||
204 | |||
205 | DEBUG(MTD_DEBUG_LEVEL2, "%s: device scan\n", module_id); | ||
206 | scan_res = nand_scan(&drvdata->board_mtd, 1); | ||
207 | |||
208 | if (likely(!scan_res)) { | ||
209 | DEBUG(MTD_DEBUG_LEVEL2, "%s: register partitions\n", module_id); | ||
210 | add_mtd_partitions(&drvdata->board_mtd, partition_info, | ||
211 | ARRAY_SIZE(partition_info)); | ||
212 | } else { | ||
213 | iounmap(drvdata->regs); | ||
214 | kfree(drvdata); | ||
215 | printk(KERN_ERR "%s: device scan failed\n", module_id); | ||
216 | return -EIO; | ||
217 | } | ||
218 | return 0; | ||
219 | } | ||
220 | |||
221 | static struct platform_driver excite_nand_driver = { | ||
222 | .driver = { | ||
223 | .name = "excite_nand", | ||
224 | .owner = THIS_MODULE, | ||
225 | }, | ||
226 | .probe = excite_nand_probe, | ||
227 | .remove = __devexit_p(excite_nand_remove) | ||
228 | }; | ||
229 | |||
230 | static int __init excite_nand_init(void) | ||
231 | { | ||
232 | pr_info("Basler eXcite nand flash driver Version " | ||
233 | EXCITE_NANDFLASH_VERSION "\n"); | ||
234 | return platform_driver_register(&excite_nand_driver); | ||
235 | } | ||
236 | |||
237 | static void __exit excite_nand_exit(void) | ||
238 | { | ||
239 | platform_driver_unregister(&excite_nand_driver); | ||
240 | } | ||
241 | |||
242 | module_init(excite_nand_init); | ||
243 | module_exit(excite_nand_exit); | ||
244 | |||
245 | MODULE_AUTHOR("Thomas Koeller <thomas.koeller@baslerweb.com>"); | ||
246 | MODULE_DESCRIPTION("Basler eXcite NAND-Flash driver"); | ||
247 | MODULE_LICENSE("GPL"); | ||
248 | MODULE_VERSION(EXCITE_NANDFLASH_VERSION) | ||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index d958b76430a2..da84fd03850f 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -815,16 +815,6 @@ config PNX833X_WDT | |||
815 | timer has expired and no process has written to /dev/watchdog during | 815 | timer has expired and no process has written to /dev/watchdog during |
816 | that time. | 816 | that time. |
817 | 817 | ||
818 | config WDT_RM9K_GPI | ||
819 | tristate "RM9000/GPI hardware watchdog" | ||
820 | depends on CPU_RM9000 | ||
821 | help | ||
822 | Watchdog implementation using the GPI hardware found on | ||
823 | PMC-Sierra RM9xxx CPUs. | ||
824 | |||
825 | To compile this driver as a module, choose M here: the | ||
826 | module will be called rm9k_wdt. | ||
827 | |||
828 | config SIBYTE_WDOG | 818 | config SIBYTE_WDOG |
829 | tristate "Sibyte SoC hardware watchdog" | 819 | tristate "Sibyte SoC hardware watchdog" |
830 | depends on CPU_SB1 | 820 | depends on CPU_SB1 |
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index 89c045dc468e..475c61100069 100644 --- a/drivers/watchdog/Makefile +++ b/drivers/watchdog/Makefile | |||
@@ -109,7 +109,6 @@ obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o | |||
109 | obj-$(CONFIG_INDYDOG) += indydog.o | 109 | obj-$(CONFIG_INDYDOG) += indydog.o |
110 | obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o | 110 | obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o |
111 | obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o | 111 | obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o |
112 | obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o | ||
113 | obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o | 112 | obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o |
114 | obj-$(CONFIG_AR7_WDT) += ar7_wdt.o | 113 | obj-$(CONFIG_AR7_WDT) += ar7_wdt.o |
115 | obj-$(CONFIG_TXX9_WDT) += txx9wdt.o | 114 | obj-$(CONFIG_TXX9_WDT) += txx9wdt.o |
diff --git a/drivers/watchdog/rm9k_wdt.c b/drivers/watchdog/rm9k_wdt.c deleted file mode 100644 index bb66958b9433..000000000000 --- a/drivers/watchdog/rm9k_wdt.c +++ /dev/null | |||
@@ -1,419 +0,0 @@ | |||
1 | /* | ||
2 | * Watchdog implementation for GPI h/w found on PMC-Sierra RM9xxx | ||
3 | * chips. | ||
4 | * | ||
5 | * Copyright (C) 2004 by Basler Vision Technologies AG | ||
6 | * Author: Thomas Koeller <thomas.koeller@baslerweb.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | */ | ||
22 | |||
23 | #include <linux/platform_device.h> | ||
24 | #include <linux/module.h> | ||
25 | #include <linux/moduleparam.h> | ||
26 | #include <linux/interrupt.h> | ||
27 | #include <linux/fs.h> | ||
28 | #include <linux/reboot.h> | ||
29 | #include <linux/notifier.h> | ||
30 | #include <linux/miscdevice.h> | ||
31 | #include <linux/watchdog.h> | ||
32 | #include <linux/io.h> | ||
33 | #include <linux/uaccess.h> | ||
34 | #include <asm/atomic.h> | ||
35 | #include <asm/processor.h> | ||
36 | #include <asm/system.h> | ||
37 | #include <asm/rm9k-ocd.h> | ||
38 | |||
39 | #include <rm9k_wdt.h> | ||
40 | |||
41 | |||
42 | #define CLOCK 125000000 | ||
43 | #define MAX_TIMEOUT_SECONDS 32 | ||
44 | #define CPCCR 0x0080 | ||
45 | #define CPGIG1SR 0x0044 | ||
46 | #define CPGIG1ER 0x0054 | ||
47 | |||
48 | |||
49 | /* Function prototypes */ | ||
50 | static irqreturn_t wdt_gpi_irqhdl(int, void *); | ||
51 | static void wdt_gpi_start(void); | ||
52 | static void wdt_gpi_stop(void); | ||
53 | static void wdt_gpi_set_timeout(unsigned int); | ||
54 | static int wdt_gpi_open(struct inode *, struct file *); | ||
55 | static int wdt_gpi_release(struct inode *, struct file *); | ||
56 | static ssize_t wdt_gpi_write(struct file *, const char __user *, size_t, | ||
57 | loff_t *); | ||
58 | static long wdt_gpi_ioctl(struct file *, unsigned int, unsigned long); | ||
59 | static int wdt_gpi_notify(struct notifier_block *, unsigned long, void *); | ||
60 | static const struct resource *wdt_gpi_get_resource(struct platform_device *, | ||
61 | const char *, unsigned int); | ||
62 | static int __init wdt_gpi_probe(struct platform_device *); | ||
63 | static int __exit wdt_gpi_remove(struct platform_device *); | ||
64 | |||
65 | |||
66 | static const char wdt_gpi_name[] = "wdt_gpi"; | ||
67 | static atomic_t opencnt; | ||
68 | static int expect_close; | ||
69 | static int locked; | ||
70 | |||
71 | |||
72 | /* These are set from device resources */ | ||
73 | static void __iomem *wd_regs; | ||
74 | static unsigned int wd_irq, wd_ctr; | ||
75 | |||
76 | |||
77 | /* Module arguments */ | ||
78 | static int timeout = MAX_TIMEOUT_SECONDS; | ||
79 | module_param(timeout, int, 0444); | ||
80 | MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds"); | ||
81 | |||
82 | static unsigned long resetaddr = 0xbffdc200; | ||
83 | module_param(resetaddr, ulong, 0444); | ||
84 | MODULE_PARM_DESC(resetaddr, "Address to write to to force a reset"); | ||
85 | |||
86 | static unsigned long flagaddr = 0xbffdc104; | ||
87 | module_param(flagaddr, ulong, 0444); | ||
88 | MODULE_PARM_DESC(flagaddr, "Address to write to boot flags to"); | ||
89 | |||
90 | static int powercycle; | ||
91 | module_param(powercycle, bool, 0444); | ||
92 | MODULE_PARM_DESC(powercycle, "Cycle power if watchdog expires"); | ||
93 | |||
94 | static int nowayout = WATCHDOG_NOWAYOUT; | ||
95 | module_param(nowayout, bool, 0444); | ||
96 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be disabled once started"); | ||
97 | |||
98 | |||
99 | /* Kernel interfaces */ | ||
100 | static const struct file_operations fops = { | ||
101 | .owner = THIS_MODULE, | ||
102 | .open = wdt_gpi_open, | ||
103 | .release = wdt_gpi_release, | ||
104 | .write = wdt_gpi_write, | ||
105 | .unlocked_ioctl = wdt_gpi_ioctl, | ||
106 | }; | ||
107 | |||
108 | static struct miscdevice miscdev = { | ||
109 | .minor = WATCHDOG_MINOR, | ||
110 | .name = wdt_gpi_name, | ||
111 | .fops = &fops, | ||
112 | }; | ||
113 | |||
114 | static struct notifier_block wdt_gpi_shutdown = { | ||
115 | .notifier_call = wdt_gpi_notify, | ||
116 | }; | ||
117 | |||
118 | |||
119 | /* Interrupt handler */ | ||
120 | static irqreturn_t wdt_gpi_irqhdl(int irq, void *ctxt) | ||
121 | { | ||
122 | if (!unlikely(__raw_readl(wd_regs + 0x0008) & 0x1)) | ||
123 | return IRQ_NONE; | ||
124 | __raw_writel(0x1, wd_regs + 0x0008); | ||
125 | |||
126 | |||
127 | printk(KERN_CRIT "%s: watchdog expired - resetting system\n", | ||
128 | wdt_gpi_name); | ||
129 | |||
130 | *(volatile char *) flagaddr |= 0x01; | ||
131 | *(volatile char *) resetaddr = powercycle ? 0x01 : 0x2; | ||
132 | iob(); | ||
133 | while (1) | ||
134 | cpu_relax(); | ||
135 | } | ||
136 | |||
137 | |||
138 | /* Watchdog functions */ | ||
139 | static void wdt_gpi_start(void) | ||
140 | { | ||
141 | u32 reg; | ||
142 | |||
143 | lock_titan_regs(); | ||
144 | reg = titan_readl(CPGIG1ER); | ||
145 | titan_writel(reg | (0x100 << wd_ctr), CPGIG1ER); | ||
146 | iob(); | ||
147 | unlock_titan_regs(); | ||
148 | } | ||
149 | |||
150 | static void wdt_gpi_stop(void) | ||
151 | { | ||
152 | u32 reg; | ||
153 | |||
154 | lock_titan_regs(); | ||
155 | reg = titan_readl(CPCCR) & ~(0xf << (wd_ctr * 4)); | ||
156 | titan_writel(reg, CPCCR); | ||
157 | reg = titan_readl(CPGIG1ER); | ||
158 | titan_writel(reg & ~(0x100 << wd_ctr), CPGIG1ER); | ||
159 | iob(); | ||
160 | unlock_titan_regs(); | ||
161 | } | ||
162 | |||
163 | static void wdt_gpi_set_timeout(unsigned int to) | ||
164 | { | ||
165 | u32 reg; | ||
166 | const u32 wdval = (to * CLOCK) & ~0x0000000f; | ||
167 | |||
168 | lock_titan_regs(); | ||
169 | reg = titan_readl(CPCCR) & ~(0xf << (wd_ctr * 4)); | ||
170 | titan_writel(reg, CPCCR); | ||
171 | wmb(); | ||
172 | __raw_writel(wdval, wd_regs + 0x0000); | ||
173 | wmb(); | ||
174 | titan_writel(reg | (0x2 << (wd_ctr * 4)), CPCCR); | ||
175 | wmb(); | ||
176 | titan_writel(reg | (0x5 << (wd_ctr * 4)), CPCCR); | ||
177 | iob(); | ||
178 | unlock_titan_regs(); | ||
179 | } | ||
180 | |||
181 | |||
182 | /* /dev/watchdog operations */ | ||
183 | static int wdt_gpi_open(struct inode *inode, struct file *file) | ||
184 | { | ||
185 | int res; | ||
186 | |||
187 | if (unlikely(atomic_dec_if_positive(&opencnt) < 0)) | ||
188 | return -EBUSY; | ||
189 | |||
190 | expect_close = 0; | ||
191 | if (locked) { | ||
192 | module_put(THIS_MODULE); | ||
193 | free_irq(wd_irq, &miscdev); | ||
194 | locked = 0; | ||
195 | } | ||
196 | |||
197 | res = request_irq(wd_irq, wdt_gpi_irqhdl, IRQF_SHARED | IRQF_DISABLED, | ||
198 | wdt_gpi_name, &miscdev); | ||
199 | if (unlikely(res)) | ||
200 | return res; | ||
201 | |||
202 | wdt_gpi_set_timeout(timeout); | ||
203 | wdt_gpi_start(); | ||
204 | |||
205 | printk(KERN_INFO "%s: watchdog started, timeout = %u seconds\n", | ||
206 | wdt_gpi_name, timeout); | ||
207 | return nonseekable_open(inode, file); | ||
208 | } | ||
209 | |||
210 | static int wdt_gpi_release(struct inode *inode, struct file *file) | ||
211 | { | ||
212 | if (nowayout) { | ||
213 | printk(KERN_INFO "%s: no way out - watchdog left running\n", | ||
214 | wdt_gpi_name); | ||
215 | __module_get(THIS_MODULE); | ||
216 | locked = 1; | ||
217 | } else { | ||
218 | if (expect_close) { | ||
219 | wdt_gpi_stop(); | ||
220 | free_irq(wd_irq, &miscdev); | ||
221 | printk(KERN_INFO "%s: watchdog stopped\n", | ||
222 | wdt_gpi_name); | ||
223 | } else { | ||
224 | printk(KERN_CRIT "%s: unexpected close() -" | ||
225 | " watchdog left running\n", | ||
226 | wdt_gpi_name); | ||
227 | wdt_gpi_set_timeout(timeout); | ||
228 | __module_get(THIS_MODULE); | ||
229 | locked = 1; | ||
230 | } | ||
231 | } | ||
232 | |||
233 | atomic_inc(&opencnt); | ||
234 | return 0; | ||
235 | } | ||
236 | |||
237 | static ssize_t wdt_gpi_write(struct file *f, const char __user *d, size_t s, | ||
238 | loff_t *o) | ||
239 | { | ||
240 | char val; | ||
241 | |||
242 | wdt_gpi_set_timeout(timeout); | ||
243 | expect_close = (s > 0) && !get_user(val, d) && (val == 'V'); | ||
244 | return s ? 1 : 0; | ||
245 | } | ||
246 | |||
247 | static long wdt_gpi_ioctl(struct file *f, unsigned int cmd, unsigned long arg) | ||
248 | { | ||
249 | long res = -ENOTTY; | ||
250 | const long size = _IOC_SIZE(cmd); | ||
251 | int stat; | ||
252 | void __user *argp = (void __user *)arg; | ||
253 | static struct watchdog_info wdinfo = { | ||
254 | .identity = "RM9xxx/GPI watchdog", | ||
255 | .firmware_version = 0, | ||
256 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | ||
257 | }; | ||
258 | |||
259 | if (unlikely(_IOC_TYPE(cmd) != WATCHDOG_IOCTL_BASE)) | ||
260 | return -ENOTTY; | ||
261 | |||
262 | if ((_IOC_DIR(cmd) & _IOC_READ) | ||
263 | && !access_ok(VERIFY_WRITE, arg, size)) | ||
264 | return -EFAULT; | ||
265 | |||
266 | if ((_IOC_DIR(cmd) & _IOC_WRITE) | ||
267 | && !access_ok(VERIFY_READ, arg, size)) | ||
268 | return -EFAULT; | ||
269 | |||
270 | expect_close = 0; | ||
271 | |||
272 | switch (cmd) { | ||
273 | case WDIOC_GETSUPPORT: | ||
274 | wdinfo.options = nowayout ? | ||
275 | WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING : | ||
276 | WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | | ||
277 | WDIOF_MAGICCLOSE; | ||
278 | res = __copy_to_user(argp, &wdinfo, size) ? -EFAULT : size; | ||
279 | break; | ||
280 | |||
281 | case WDIOC_GETSTATUS: | ||
282 | break; | ||
283 | |||
284 | case WDIOC_GETBOOTSTATUS: | ||
285 | stat = (*(volatile char *) flagaddr & 0x01) | ||
286 | ? WDIOF_CARDRESET : 0; | ||
287 | res = __copy_to_user(argp, &stat, size) ? | ||
288 | -EFAULT : size; | ||
289 | break; | ||
290 | |||
291 | case WDIOC_SETOPTIONS: | ||
292 | break; | ||
293 | |||
294 | case WDIOC_KEEPALIVE: | ||
295 | wdt_gpi_set_timeout(timeout); | ||
296 | res = size; | ||
297 | break; | ||
298 | |||
299 | case WDIOC_SETTIMEOUT: | ||
300 | { | ||
301 | int val; | ||
302 | if (unlikely(__copy_from_user(&val, argp, size))) { | ||
303 | res = -EFAULT; | ||
304 | break; | ||
305 | } | ||
306 | |||
307 | if (val > MAX_TIMEOUT_SECONDS) | ||
308 | val = MAX_TIMEOUT_SECONDS; | ||
309 | timeout = val; | ||
310 | wdt_gpi_set_timeout(val); | ||
311 | res = size; | ||
312 | printk(KERN_INFO "%s: timeout set to %u seconds\n", | ||
313 | wdt_gpi_name, timeout); | ||
314 | } | ||
315 | break; | ||
316 | |||
317 | case WDIOC_GETTIMEOUT: | ||
318 | res = __copy_to_user(argp, &timeout, size) ? | ||
319 | -EFAULT : size; | ||
320 | break; | ||
321 | } | ||
322 | |||
323 | return res; | ||
324 | } | ||
325 | |||
326 | |||
327 | /* Shutdown notifier */ | ||
328 | static int wdt_gpi_notify(struct notifier_block *this, unsigned long code, | ||
329 | void *unused) | ||
330 | { | ||
331 | if (code == SYS_DOWN || code == SYS_HALT) | ||
332 | wdt_gpi_stop(); | ||
333 | |||
334 | return NOTIFY_DONE; | ||
335 | } | ||
336 | |||
337 | |||
338 | /* Init & exit procedures */ | ||
339 | static const struct resource *wdt_gpi_get_resource(struct platform_device *pdv, | ||
340 | const char *name, unsigned int type) | ||
341 | { | ||
342 | char buf[80]; | ||
343 | if (snprintf(buf, sizeof(buf), "%s_0", name) >= sizeof(buf)) | ||
344 | return NULL; | ||
345 | return platform_get_resource_byname(pdv, type, buf); | ||
346 | } | ||
347 | |||
348 | /* No hotplugging on the platform bus - use __devinit */ | ||
349 | static int __devinit wdt_gpi_probe(struct platform_device *pdv) | ||
350 | { | ||
351 | int res; | ||
352 | const struct resource | ||
353 | * const rr = wdt_gpi_get_resource(pdv, WDT_RESOURCE_REGS, | ||
354 | IORESOURCE_MEM), | ||
355 | * const ri = wdt_gpi_get_resource(pdv, WDT_RESOURCE_IRQ, | ||
356 | IORESOURCE_IRQ), | ||
357 | * const rc = wdt_gpi_get_resource(pdv, WDT_RESOURCE_COUNTER, | ||
358 | 0); | ||
359 | |||
360 | if (unlikely(!rr || !ri || !rc)) | ||
361 | return -ENXIO; | ||
362 | |||
363 | wd_regs = ioremap_nocache(rr->start, rr->end + 1 - rr->start); | ||
364 | if (unlikely(!wd_regs)) | ||
365 | return -ENOMEM; | ||
366 | wd_irq = ri->start; | ||
367 | wd_ctr = rc->start; | ||
368 | res = misc_register(&miscdev); | ||
369 | if (res) | ||
370 | iounmap(wd_regs); | ||
371 | else | ||
372 | register_reboot_notifier(&wdt_gpi_shutdown); | ||
373 | return res; | ||
374 | } | ||
375 | |||
376 | static int __devexit wdt_gpi_remove(struct platform_device *dev) | ||
377 | { | ||
378 | int res; | ||
379 | |||
380 | unregister_reboot_notifier(&wdt_gpi_shutdown); | ||
381 | res = misc_deregister(&miscdev); | ||
382 | iounmap(wd_regs); | ||
383 | wd_regs = NULL; | ||
384 | return res; | ||
385 | } | ||
386 | |||
387 | |||
388 | /* Device driver init & exit */ | ||
389 | static struct platform_driver wgt_gpi_driver = { | ||
390 | .driver = { | ||
391 | .name = wdt_gpi_name, | ||
392 | .owner = THIS_MODULE, | ||
393 | }, | ||
394 | .probe = wdt_gpi_probe, | ||
395 | .remove = __devexit_p(wdt_gpi_remove), | ||
396 | }; | ||
397 | |||
398 | static int __init wdt_gpi_init_module(void) | ||
399 | { | ||
400 | atomic_set(&opencnt, 1); | ||
401 | if (timeout > MAX_TIMEOUT_SECONDS) | ||
402 | timeout = MAX_TIMEOUT_SECONDS; | ||
403 | return platform_driver_register(&wdt_gpi_driver); | ||
404 | } | ||
405 | |||
406 | static void __exit wdt_gpi_cleanup_module(void) | ||
407 | { | ||
408 | platform_driver_unregister(&wdt_gpi_driver); | ||
409 | } | ||
410 | |||
411 | module_init(wdt_gpi_init_module); | ||
412 | module_exit(wdt_gpi_cleanup_module); | ||
413 | |||
414 | MODULE_AUTHOR("Thomas Koeller <thomas.koeller@baslerweb.com>"); | ||
415 | MODULE_DESCRIPTION("Basler eXcite watchdog driver for gpi devices"); | ||
416 | MODULE_VERSION("0.1"); | ||
417 | MODULE_LICENSE("GPL"); | ||
418 | MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); | ||
419 | |||