diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-08 17:37:46 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-08 17:37:46 -0500 |
commit | 0fec53a24a5e5f7ba68d891b68f568b6aeafaca6 (patch) | |
tree | c16976218b4f9bd1632ffea9619d209392c1a213 /arch/arm | |
parent | b9abaa3fb7328851bdeaad19e694048f0ff71d9a (diff) |
[ARM] Remove EPXA10DB machine support
EPXA10DB seems to be uncared for:
- the "PLD" code has never been merged
- no one has reported that this platform has been broken since
at least 2.6.10
- interest seems to have dried up around March 2003.
Therefore, remove EPXA10DB support.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 9 | ||||
-rw-r--r-- | arch/arm/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/boot/compressed/head-epxa10db.S | 5 | ||||
-rw-r--r-- | arch/arm/configs/epxa10db_defconfig | 644 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/Kconfig | 23 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/Makefile | 11 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/Makefile.boot | 2 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/arch.c | 74 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/irq.c | 82 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/mm.c | 71 | ||||
-rw-r--r-- | arch/arm/mach-epxa10db/time.c | 78 | ||||
-rw-r--r-- | arch/arm/mm/Kconfig | 4 |
13 files changed, 2 insertions, 1006 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 16a5d522b2f2..70f388d168db 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -103,13 +103,6 @@ config ARCH_EBSA110 | |||
103 | Ethernet interface, two PCMCIA sockets, two serial ports and a | 103 | Ethernet interface, two PCMCIA sockets, two serial ports and a |
104 | parallel port. | 104 | parallel port. |
105 | 105 | ||
106 | config ARCH_CAMELOT | ||
107 | bool "Epxa10db" | ||
108 | help | ||
109 | This enables support for Altera's Excalibur XA10 development board. | ||
110 | If you would like to build your kernel to run on one of these boards | ||
111 | then you must say 'Y' here. Otherwise say 'N' | ||
112 | |||
113 | config ARCH_FOOTBRIDGE | 106 | config ARCH_FOOTBRIDGE |
114 | bool "FootBridge" | 107 | bool "FootBridge" |
115 | select FOOTBRIDGE | 108 | select FOOTBRIDGE |
@@ -221,8 +214,6 @@ endchoice | |||
221 | 214 | ||
222 | source "arch/arm/mach-clps711x/Kconfig" | 215 | source "arch/arm/mach-clps711x/Kconfig" |
223 | 216 | ||
224 | source "arch/arm/mach-epxa10db/Kconfig" | ||
225 | |||
226 | source "arch/arm/mach-footbridge/Kconfig" | 217 | source "arch/arm/mach-footbridge/Kconfig" |
227 | 218 | ||
228 | source "arch/arm/mach-integrator/Kconfig" | 219 | source "arch/arm/mach-integrator/Kconfig" |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index afaf3a1e903c..1c056d631153 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -84,7 +84,6 @@ endif | |||
84 | machine-$(CONFIG_ARCH_PXA) := pxa | 84 | machine-$(CONFIG_ARCH_PXA) := pxa |
85 | machine-$(CONFIG_ARCH_L7200) := l7200 | 85 | machine-$(CONFIG_ARCH_L7200) := l7200 |
86 | machine-$(CONFIG_ARCH_INTEGRATOR) := integrator | 86 | machine-$(CONFIG_ARCH_INTEGRATOR) := integrator |
87 | machine-$(CONFIG_ARCH_CAMELOT) := epxa10db | ||
88 | textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 | 87 | textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 |
89 | machine-$(CONFIG_ARCH_CLPS711X) := clps711x | 88 | machine-$(CONFIG_ARCH_CLPS711X) := clps711x |
90 | machine-$(CONFIG_ARCH_IOP3XX) := iop3xx | 89 | machine-$(CONFIG_ARCH_IOP3XX) := iop3xx |
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 6b505ce41a75..0009a80498cc 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -21,10 +21,6 @@ ifeq ($(CONFIG_ARCH_SHARK),y) | |||
21 | OBJS += head-shark.o ofw-shark.o | 21 | OBJS += head-shark.o ofw-shark.o |
22 | endif | 22 | endif |
23 | 23 | ||
24 | ifeq ($(CONFIG_ARCH_CAMELOT),y) | ||
25 | OBJS += head-epxa10db.o | ||
26 | endif | ||
27 | |||
28 | ifeq ($(CONFIG_ARCH_L7200),y) | 24 | ifeq ($(CONFIG_ARCH_L7200),y) |
29 | OBJS += head-l7200.o | 25 | OBJS += head-l7200.o |
30 | endif | 26 | endif |
diff --git a/arch/arm/boot/compressed/head-epxa10db.S b/arch/arm/boot/compressed/head-epxa10db.S deleted file mode 100644 index 757681f12a39..000000000000 --- a/arch/arm/boot/compressed/head-epxa10db.S +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #include <asm/mach-types.h> | ||
2 | #include <asm/arch/excalibur.h> | ||
3 | |||
4 | .section ".start", "ax" | ||
5 | mov r7, #MACH_TYPE_CAMELOT | ||
diff --git a/arch/arm/configs/epxa10db_defconfig b/arch/arm/configs/epxa10db_defconfig deleted file mode 100644 index 9fb8b58c4954..000000000000 --- a/arch/arm/configs/epxa10db_defconfig +++ /dev/null | |||
@@ -1,644 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc1-bk2 | ||
4 | # Sun Mar 27 22:46:51 2005 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_MMU=y | ||
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
11 | CONFIG_GENERIC_IOMAP=y | ||
12 | |||
13 | # | ||
14 | # Code maturity level options | ||
15 | # | ||
16 | CONFIG_EXPERIMENTAL=y | ||
17 | CONFIG_CLEAN_COMPILE=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | |||
20 | # | ||
21 | # General setup | ||
22 | # | ||
23 | CONFIG_LOCALVERSION="" | ||
24 | CONFIG_SWAP=y | ||
25 | CONFIG_SYSVIPC=y | ||
26 | # CONFIG_POSIX_MQUEUE is not set | ||
27 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
28 | CONFIG_SYSCTL=y | ||
29 | # CONFIG_AUDIT is not set | ||
30 | # CONFIG_HOTPLUG is not set | ||
31 | CONFIG_KOBJECT_UEVENT=y | ||
32 | # CONFIG_IKCONFIG is not set | ||
33 | # CONFIG_EMBEDDED is not set | ||
34 | CONFIG_KALLSYMS=y | ||
35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
36 | CONFIG_BASE_FULL=y | ||
37 | CONFIG_FUTEX=y | ||
38 | CONFIG_EPOLL=y | ||
39 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
40 | CONFIG_SHMEM=y | ||
41 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
42 | CONFIG_CC_ALIGN_LABELS=0 | ||
43 | CONFIG_CC_ALIGN_LOOPS=0 | ||
44 | CONFIG_CC_ALIGN_JUMPS=0 | ||
45 | # CONFIG_TINY_SHMEM is not set | ||
46 | CONFIG_BASE_SMALL=0 | ||
47 | |||
48 | # | ||
49 | # Loadable module support | ||
50 | # | ||
51 | CONFIG_MODULES=y | ||
52 | CONFIG_MODULE_UNLOAD=y | ||
53 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
54 | CONFIG_OBSOLETE_MODPARM=y | ||
55 | # CONFIG_MODVERSIONS is not set | ||
56 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
57 | # CONFIG_KMOD is not set | ||
58 | |||
59 | # | ||
60 | # System Type | ||
61 | # | ||
62 | # CONFIG_ARCH_CLPS7500 is not set | ||
63 | # CONFIG_ARCH_CLPS711X is not set | ||
64 | # CONFIG_ARCH_CO285 is not set | ||
65 | # CONFIG_ARCH_EBSA110 is not set | ||
66 | CONFIG_ARCH_CAMELOT=y | ||
67 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
68 | # CONFIG_ARCH_INTEGRATOR is not set | ||
69 | # CONFIG_ARCH_IOP3XX is not set | ||
70 | # CONFIG_ARCH_IXP4XX is not set | ||
71 | # CONFIG_ARCH_IXP2000 is not set | ||
72 | # CONFIG_ARCH_L7200 is not set | ||
73 | # CONFIG_ARCH_PXA is not set | ||
74 | # CONFIG_ARCH_RPC is not set | ||
75 | # CONFIG_ARCH_SA1100 is not set | ||
76 | # CONFIG_ARCH_S3C2410 is not set | ||
77 | # CONFIG_ARCH_SHARK is not set | ||
78 | # CONFIG_ARCH_LH7A40X is not set | ||
79 | # CONFIG_ARCH_OMAP is not set | ||
80 | # CONFIG_ARCH_VERSATILE is not set | ||
81 | # CONFIG_ARCH_IMX is not set | ||
82 | # CONFIG_ARCH_H720X is not set | ||
83 | |||
84 | # | ||
85 | # Epxa10db | ||
86 | # | ||
87 | |||
88 | # | ||
89 | # PLD hotswap support | ||
90 | # | ||
91 | CONFIG_PLD=y | ||
92 | # CONFIG_PLD_HOTSWAP is not set | ||
93 | |||
94 | # | ||
95 | # Processor Type | ||
96 | # | ||
97 | CONFIG_CPU_32=y | ||
98 | CONFIG_CPU_ARM922T=y | ||
99 | CONFIG_CPU_32v4=y | ||
100 | CONFIG_CPU_ABRT_EV4T=y | ||
101 | CONFIG_CPU_CACHE_V4WT=y | ||
102 | CONFIG_CPU_CACHE_VIVT=y | ||
103 | CONFIG_CPU_COPY_V4WB=y | ||
104 | CONFIG_CPU_TLB_V4WBI=y | ||
105 | |||
106 | # | ||
107 | # Processor Features | ||
108 | # | ||
109 | # CONFIG_ARM_THUMB is not set | ||
110 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
111 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
112 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
113 | |||
114 | # | ||
115 | # Bus support | ||
116 | # | ||
117 | |||
118 | # | ||
119 | # PCCARD (PCMCIA/CardBus) support | ||
120 | # | ||
121 | # CONFIG_PCCARD is not set | ||
122 | |||
123 | # | ||
124 | # Kernel Features | ||
125 | # | ||
126 | # CONFIG_PREEMPT is not set | ||
127 | CONFIG_ALIGNMENT_TRAP=y | ||
128 | |||
129 | # | ||
130 | # Boot options | ||
131 | # | ||
132 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
133 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
134 | CONFIG_CMDLINE="mem=32M console=ttyUA0,115200 initrd=0x00200000,8M root=/dev/ram0 rw" | ||
135 | # CONFIG_XIP_KERNEL is not set | ||
136 | |||
137 | # | ||
138 | # Floating point emulation | ||
139 | # | ||
140 | |||
141 | # | ||
142 | # At least one emulation must be selected | ||
143 | # | ||
144 | CONFIG_FPE_NWFPE=y | ||
145 | # CONFIG_FPE_NWFPE_XP is not set | ||
146 | # CONFIG_FPE_FASTFPE is not set | ||
147 | |||
148 | # | ||
149 | # Userspace binary formats | ||
150 | # | ||
151 | CONFIG_BINFMT_ELF=y | ||
152 | # CONFIG_BINFMT_AOUT is not set | ||
153 | # CONFIG_BINFMT_MISC is not set | ||
154 | # CONFIG_ARTHUR is not set | ||
155 | |||
156 | # | ||
157 | # Power management options | ||
158 | # | ||
159 | # CONFIG_PM is not set | ||
160 | |||
161 | # | ||
162 | # Device Drivers | ||
163 | # | ||
164 | |||
165 | # | ||
166 | # Generic Driver Options | ||
167 | # | ||
168 | CONFIG_STANDALONE=y | ||
169 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
170 | # CONFIG_FW_LOADER is not set | ||
171 | |||
172 | # | ||
173 | # Memory Technology Devices (MTD) | ||
174 | # | ||
175 | # CONFIG_MTD is not set | ||
176 | |||
177 | # | ||
178 | # Parallel port support | ||
179 | # | ||
180 | # CONFIG_PARPORT is not set | ||
181 | |||
182 | # | ||
183 | # Plug and Play support | ||
184 | # | ||
185 | |||
186 | # | ||
187 | # Block devices | ||
188 | # | ||
189 | # CONFIG_BLK_DEV_FD is not set | ||
190 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
191 | CONFIG_BLK_DEV_LOOP=y | ||
192 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
193 | # CONFIG_BLK_DEV_NBD is not set | ||
194 | CONFIG_BLK_DEV_RAM=y | ||
195 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
196 | CONFIG_BLK_DEV_RAM_SIZE=8192 | ||
197 | CONFIG_BLK_DEV_INITRD=y | ||
198 | CONFIG_INITRAMFS_SOURCE="" | ||
199 | # CONFIG_CDROM_PKTCDVD is not set | ||
200 | |||
201 | # | ||
202 | # IO Schedulers | ||
203 | # | ||
204 | CONFIG_IOSCHED_NOOP=y | ||
205 | CONFIG_IOSCHED_AS=y | ||
206 | CONFIG_IOSCHED_DEADLINE=y | ||
207 | CONFIG_IOSCHED_CFQ=y | ||
208 | # CONFIG_ATA_OVER_ETH is not set | ||
209 | |||
210 | # | ||
211 | # SCSI device support | ||
212 | # | ||
213 | # CONFIG_SCSI is not set | ||
214 | |||
215 | # | ||
216 | # Multi-device support (RAID and LVM) | ||
217 | # | ||
218 | # CONFIG_MD is not set | ||
219 | |||
220 | # | ||
221 | # Fusion MPT device support | ||
222 | # | ||
223 | |||
224 | # | ||
225 | # IEEE 1394 (FireWire) support | ||
226 | # | ||
227 | |||
228 | # | ||
229 | # I2O device support | ||
230 | # | ||
231 | |||
232 | # | ||
233 | # Networking support | ||
234 | # | ||
235 | CONFIG_NET=y | ||
236 | |||
237 | # | ||
238 | # Networking options | ||
239 | # | ||
240 | CONFIG_PACKET=y | ||
241 | # CONFIG_PACKET_MMAP is not set | ||
242 | # CONFIG_NETLINK_DEV is not set | ||
243 | CONFIG_UNIX=y | ||
244 | # CONFIG_NET_KEY is not set | ||
245 | CONFIG_INET=y | ||
246 | CONFIG_IP_MULTICAST=y | ||
247 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
248 | CONFIG_IP_PNP=y | ||
249 | # CONFIG_IP_PNP_DHCP is not set | ||
250 | # CONFIG_IP_PNP_BOOTP is not set | ||
251 | # CONFIG_IP_PNP_RARP is not set | ||
252 | # CONFIG_NET_IPIP is not set | ||
253 | # CONFIG_NET_IPGRE is not set | ||
254 | # CONFIG_IP_MROUTE is not set | ||
255 | # CONFIG_ARPD is not set | ||
256 | # CONFIG_SYN_COOKIES is not set | ||
257 | # CONFIG_INET_AH is not set | ||
258 | # CONFIG_INET_ESP is not set | ||
259 | # CONFIG_INET_IPCOMP is not set | ||
260 | # CONFIG_INET_TUNNEL is not set | ||
261 | # CONFIG_IP_TCPDIAG is not set | ||
262 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
263 | # CONFIG_IPV6 is not set | ||
264 | # CONFIG_NETFILTER is not set | ||
265 | |||
266 | # | ||
267 | # SCTP Configuration (EXPERIMENTAL) | ||
268 | # | ||
269 | # CONFIG_IP_SCTP is not set | ||
270 | # CONFIG_ATM is not set | ||
271 | # CONFIG_BRIDGE is not set | ||
272 | # CONFIG_VLAN_8021Q is not set | ||
273 | # CONFIG_DECNET is not set | ||
274 | # CONFIG_LLC2 is not set | ||
275 | # CONFIG_IPX is not set | ||
276 | # CONFIG_ATALK is not set | ||
277 | # CONFIG_X25 is not set | ||
278 | # CONFIG_LAPB is not set | ||
279 | # CONFIG_NET_DIVERT is not set | ||
280 | # CONFIG_ECONET is not set | ||
281 | # CONFIG_WAN_ROUTER is not set | ||
282 | |||
283 | # | ||
284 | # QoS and/or fair queueing | ||
285 | # | ||
286 | # CONFIG_NET_SCHED is not set | ||
287 | # CONFIG_NET_CLS_ROUTE is not set | ||
288 | |||
289 | # | ||
290 | # Network testing | ||
291 | # | ||
292 | # CONFIG_NET_PKTGEN is not set | ||
293 | # CONFIG_NETPOLL is not set | ||
294 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
295 | # CONFIG_HAMRADIO is not set | ||
296 | # CONFIG_IRDA is not set | ||
297 | # CONFIG_BT is not set | ||
298 | CONFIG_NETDEVICES=y | ||
299 | # CONFIG_DUMMY is not set | ||
300 | # CONFIG_BONDING is not set | ||
301 | # CONFIG_EQUALIZER is not set | ||
302 | # CONFIG_TUN is not set | ||
303 | |||
304 | # | ||
305 | # Ethernet (10 or 100Mbit) | ||
306 | # | ||
307 | # CONFIG_NET_ETHERNET is not set | ||
308 | |||
309 | # | ||
310 | # Ethernet (1000 Mbit) | ||
311 | # | ||
312 | |||
313 | # | ||
314 | # Ethernet (10000 Mbit) | ||
315 | # | ||
316 | |||
317 | # | ||
318 | # Token Ring devices | ||
319 | # | ||
320 | |||
321 | # | ||
322 | # Wireless LAN (non-hamradio) | ||
323 | # | ||
324 | # CONFIG_NET_RADIO is not set | ||
325 | |||
326 | # | ||
327 | # Wan interfaces | ||
328 | # | ||
329 | # CONFIG_WAN is not set | ||
330 | CONFIG_PPP=y | ||
331 | CONFIG_PPP_MULTILINK=y | ||
332 | # CONFIG_PPP_FILTER is not set | ||
333 | CONFIG_PPP_ASYNC=y | ||
334 | CONFIG_PPP_SYNC_TTY=y | ||
335 | CONFIG_PPP_DEFLATE=y | ||
336 | # CONFIG_PPP_BSDCOMP is not set | ||
337 | # CONFIG_PPPOE is not set | ||
338 | # CONFIG_SLIP is not set | ||
339 | # CONFIG_SHAPER is not set | ||
340 | # CONFIG_NETCONSOLE is not set | ||
341 | |||
342 | # | ||
343 | # ISDN subsystem | ||
344 | # | ||
345 | # CONFIG_ISDN is not set | ||
346 | |||
347 | # | ||
348 | # Input device support | ||
349 | # | ||
350 | CONFIG_INPUT=y | ||
351 | |||
352 | # | ||
353 | # Userland interfaces | ||
354 | # | ||
355 | CONFIG_INPUT_MOUSEDEV=y | ||
356 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
357 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
358 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
359 | # CONFIG_INPUT_JOYDEV is not set | ||
360 | # CONFIG_INPUT_TSDEV is not set | ||
361 | # CONFIG_INPUT_EVDEV is not set | ||
362 | # CONFIG_INPUT_EVBUG is not set | ||
363 | |||
364 | # | ||
365 | # Input Device Drivers | ||
366 | # | ||
367 | # CONFIG_INPUT_KEYBOARD is not set | ||
368 | # CONFIG_INPUT_MOUSE is not set | ||
369 | # CONFIG_INPUT_JOYSTICK is not set | ||
370 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
371 | # CONFIG_INPUT_MISC is not set | ||
372 | |||
373 | # | ||
374 | # Hardware I/O ports | ||
375 | # | ||
376 | CONFIG_SERIO=y | ||
377 | CONFIG_SERIO_SERPORT=y | ||
378 | # CONFIG_SERIO_RAW is not set | ||
379 | # CONFIG_GAMEPORT is not set | ||
380 | CONFIG_SOUND_GAMEPORT=y | ||
381 | |||
382 | # | ||
383 | # Character devices | ||
384 | # | ||
385 | CONFIG_VT=y | ||
386 | CONFIG_VT_CONSOLE=y | ||
387 | CONFIG_HW_CONSOLE=y | ||
388 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
389 | |||
390 | # | ||
391 | # Serial drivers | ||
392 | # | ||
393 | # CONFIG_SERIAL_8250 is not set | ||
394 | |||
395 | # | ||
396 | # Non-8250 serial port support | ||
397 | # | ||
398 | CONFIG_SERIAL_UART00=y | ||
399 | CONFIG_SERIAL_UART00_CONSOLE=y | ||
400 | CONFIG_SERIAL_CORE=y | ||
401 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
402 | CONFIG_UNIX98_PTYS=y | ||
403 | CONFIG_LEGACY_PTYS=y | ||
404 | CONFIG_LEGACY_PTY_COUNT=256 | ||
405 | |||
406 | # | ||
407 | # IPMI | ||
408 | # | ||
409 | # CONFIG_IPMI_HANDLER is not set | ||
410 | |||
411 | # | ||
412 | # Watchdog Cards | ||
413 | # | ||
414 | # CONFIG_WATCHDOG is not set | ||
415 | # CONFIG_NVRAM is not set | ||
416 | # CONFIG_RTC is not set | ||
417 | # CONFIG_DTLK is not set | ||
418 | # CONFIG_R3964 is not set | ||
419 | |||
420 | # | ||
421 | # Ftape, the floppy tape device driver | ||
422 | # | ||
423 | # CONFIG_DRM is not set | ||
424 | # CONFIG_RAW_DRIVER is not set | ||
425 | |||
426 | # | ||
427 | # TPM devices | ||
428 | # | ||
429 | # CONFIG_TCG_TPM is not set | ||
430 | |||
431 | # | ||
432 | # I2C support | ||
433 | # | ||
434 | # CONFIG_I2C is not set | ||
435 | |||
436 | # | ||
437 | # Misc devices | ||
438 | # | ||
439 | |||
440 | # | ||
441 | # Multimedia devices | ||
442 | # | ||
443 | # CONFIG_VIDEO_DEV is not set | ||
444 | |||
445 | # | ||
446 | # Digital Video Broadcasting Devices | ||
447 | # | ||
448 | # CONFIG_DVB is not set | ||
449 | |||
450 | # | ||
451 | # Graphics support | ||
452 | # | ||
453 | # CONFIG_FB is not set | ||
454 | |||
455 | # | ||
456 | # Console display driver support | ||
457 | # | ||
458 | # CONFIG_VGA_CONSOLE is not set | ||
459 | CONFIG_DUMMY_CONSOLE=y | ||
460 | |||
461 | # | ||
462 | # Sound | ||
463 | # | ||
464 | # CONFIG_SOUND is not set | ||
465 | |||
466 | # | ||
467 | # USB support | ||
468 | # | ||
469 | CONFIG_USB_ARCH_HAS_HCD=y | ||
470 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
471 | # CONFIG_USB is not set | ||
472 | |||
473 | # | ||
474 | # USB Gadget Support | ||
475 | # | ||
476 | # CONFIG_USB_GADGET is not set | ||
477 | |||
478 | # | ||
479 | # MMC/SD Card support | ||
480 | # | ||
481 | # CONFIG_MMC is not set | ||
482 | |||
483 | # | ||
484 | # File systems | ||
485 | # | ||
486 | CONFIG_EXT2_FS=y | ||
487 | # CONFIG_EXT2_FS_XATTR is not set | ||
488 | # CONFIG_EXT3_FS is not set | ||
489 | # CONFIG_JBD is not set | ||
490 | # CONFIG_REISERFS_FS is not set | ||
491 | # CONFIG_JFS_FS is not set | ||
492 | |||
493 | # | ||
494 | # XFS support | ||
495 | # | ||
496 | # CONFIG_XFS_FS is not set | ||
497 | # CONFIG_MINIX_FS is not set | ||
498 | # CONFIG_ROMFS_FS is not set | ||
499 | # CONFIG_QUOTA is not set | ||
500 | CONFIG_DNOTIFY=y | ||
501 | CONFIG_AUTOFS_FS=y | ||
502 | CONFIG_AUTOFS4_FS=y | ||
503 | |||
504 | # | ||
505 | # CD-ROM/DVD Filesystems | ||
506 | # | ||
507 | # CONFIG_ISO9660_FS is not set | ||
508 | # CONFIG_UDF_FS is not set | ||
509 | |||
510 | # | ||
511 | # DOS/FAT/NT Filesystems | ||
512 | # | ||
513 | # CONFIG_MSDOS_FS is not set | ||
514 | # CONFIG_VFAT_FS is not set | ||
515 | # CONFIG_NTFS_FS is not set | ||
516 | |||
517 | # | ||
518 | # Pseudo filesystems | ||
519 | # | ||
520 | CONFIG_PROC_FS=y | ||
521 | CONFIG_SYSFS=y | ||
522 | # CONFIG_DEVFS_FS is not set | ||
523 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
524 | # CONFIG_TMPFS is not set | ||
525 | # CONFIG_HUGETLB_PAGE is not set | ||
526 | CONFIG_RAMFS=y | ||
527 | |||
528 | # | ||
529 | # Miscellaneous filesystems | ||
530 | # | ||
531 | # CONFIG_ADFS_FS is not set | ||
532 | # CONFIG_AFFS_FS is not set | ||
533 | # CONFIG_HFS_FS is not set | ||
534 | # CONFIG_HFSPLUS_FS is not set | ||
535 | # CONFIG_BEFS_FS is not set | ||
536 | # CONFIG_BFS_FS is not set | ||
537 | # CONFIG_EFS_FS is not set | ||
538 | # CONFIG_CRAMFS is not set | ||
539 | # CONFIG_VXFS_FS is not set | ||
540 | # CONFIG_HPFS_FS is not set | ||
541 | # CONFIG_QNX4FS_FS is not set | ||
542 | # CONFIG_SYSV_FS is not set | ||
543 | # CONFIG_UFS_FS is not set | ||
544 | |||
545 | # | ||
546 | # Network File Systems | ||
547 | # | ||
548 | # CONFIG_NFS_FS is not set | ||
549 | # CONFIG_NFSD is not set | ||
550 | CONFIG_SMB_FS=y | ||
551 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
552 | # CONFIG_CIFS is not set | ||
553 | # CONFIG_NCP_FS is not set | ||
554 | # CONFIG_CODA_FS is not set | ||
555 | # CONFIG_AFS_FS is not set | ||
556 | |||
557 | # | ||
558 | # Partition Types | ||
559 | # | ||
560 | # CONFIG_PARTITION_ADVANCED is not set | ||
561 | CONFIG_MSDOS_PARTITION=y | ||
562 | |||
563 | # | ||
564 | # Native Language Support | ||
565 | # | ||
566 | CONFIG_NLS=y | ||
567 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
568 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
569 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
570 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
571 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
572 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
573 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
574 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
575 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
576 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
577 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
578 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
579 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
580 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
581 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
582 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
583 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
584 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
585 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
586 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
587 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
588 | # CONFIG_NLS_ISO8859_8 is not set | ||
589 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
590 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
591 | # CONFIG_NLS_ASCII is not set | ||
592 | # CONFIG_NLS_ISO8859_1 is not set | ||
593 | # CONFIG_NLS_ISO8859_2 is not set | ||
594 | # CONFIG_NLS_ISO8859_3 is not set | ||
595 | # CONFIG_NLS_ISO8859_4 is not set | ||
596 | # CONFIG_NLS_ISO8859_5 is not set | ||
597 | # CONFIG_NLS_ISO8859_6 is not set | ||
598 | # CONFIG_NLS_ISO8859_7 is not set | ||
599 | # CONFIG_NLS_ISO8859_9 is not set | ||
600 | # CONFIG_NLS_ISO8859_13 is not set | ||
601 | # CONFIG_NLS_ISO8859_14 is not set | ||
602 | # CONFIG_NLS_ISO8859_15 is not set | ||
603 | # CONFIG_NLS_KOI8_R is not set | ||
604 | # CONFIG_NLS_KOI8_U is not set | ||
605 | # CONFIG_NLS_UTF8 is not set | ||
606 | |||
607 | # | ||
608 | # Profiling support | ||
609 | # | ||
610 | # CONFIG_PROFILING is not set | ||
611 | |||
612 | # | ||
613 | # Kernel hacking | ||
614 | # | ||
615 | # CONFIG_PRINTK_TIME is not set | ||
616 | # CONFIG_DEBUG_KERNEL is not set | ||
617 | CONFIG_LOG_BUF_SHIFT=14 | ||
618 | CONFIG_DEBUG_BUGVERBOSE=y | ||
619 | CONFIG_FRAME_POINTER=y | ||
620 | # CONFIG_DEBUG_USER is not set | ||
621 | |||
622 | # | ||
623 | # Security options | ||
624 | # | ||
625 | # CONFIG_KEYS is not set | ||
626 | # CONFIG_SECURITY is not set | ||
627 | |||
628 | # | ||
629 | # Cryptographic options | ||
630 | # | ||
631 | # CONFIG_CRYPTO is not set | ||
632 | |||
633 | # | ||
634 | # Hardware crypto devices | ||
635 | # | ||
636 | |||
637 | # | ||
638 | # Library routines | ||
639 | # | ||
640 | CONFIG_CRC_CCITT=y | ||
641 | CONFIG_CRC32=y | ||
642 | # CONFIG_LIBCRC32C is not set | ||
643 | CONFIG_ZLIB_INFLATE=y | ||
644 | CONFIG_ZLIB_DEFLATE=y | ||
diff --git a/arch/arm/mach-epxa10db/Kconfig b/arch/arm/mach-epxa10db/Kconfig deleted file mode 100644 index 55d896dd4950..000000000000 --- a/arch/arm/mach-epxa10db/Kconfig +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | if ARCH_CAMELOT | ||
2 | |||
3 | menu "Epxa10db" | ||
4 | |||
5 | comment "PLD hotswap support" | ||
6 | |||
7 | config PLD | ||
8 | bool | ||
9 | default y | ||
10 | |||
11 | config PLD_HOTSWAP | ||
12 | bool "Support for PLD device hotplugging (experimental)" | ||
13 | depends on EXPERIMENTAL | ||
14 | help | ||
15 | This enables support for the dynamic loading and configuration of | ||
16 | compatible drivers when the contents of the PLD are changed. This | ||
17 | is still experimental and requires configuration tools which are | ||
18 | not yet generally available. Say N here. You must enable the kernel | ||
19 | module loader for this feature to work. | ||
20 | |||
21 | endmenu | ||
22 | |||
23 | endif | ||
diff --git a/arch/arm/mach-epxa10db/Makefile b/arch/arm/mach-epxa10db/Makefile deleted file mode 100644 index 24fbd7d3a3c1..000000000000 --- a/arch/arm/mach-epxa10db/Makefile +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | # Object file lists. | ||
6 | |||
7 | obj-y := arch.o irq.o mm.o time.o | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
diff --git a/arch/arm/mach-epxa10db/Makefile.boot b/arch/arm/mach-epxa10db/Makefile.boot deleted file mode 100644 index 28bec7d3fc88..000000000000 --- a/arch/arm/mach-epxa10db/Makefile.boot +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | zreladdr-y := 0x00008000 | ||
2 | |||
diff --git a/arch/arm/mach-epxa10db/arch.c b/arch/arm/mach-epxa10db/arch.c deleted file mode 100644 index 44c56571d183..000000000000 --- a/arch/arm/mach-epxa10db/arch.c +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-epxa10db/arch.c | ||
3 | * | ||
4 | * Copyright (C) 2000 Deep Blue Solutions Ltd | ||
5 | * Copyright (C) 2001 Altera Corporation | ||
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/types.h> | ||
22 | #include <linux/init.h> | ||
23 | #include <linux/serial_8250.h> | ||
24 | |||
25 | #include <asm/hardware.h> | ||
26 | #include <asm/setup.h> | ||
27 | #include <asm/mach-types.h> | ||
28 | |||
29 | #include <asm/mach/arch.h> | ||
30 | |||
31 | static struct plat_serial8250_port serial_platform_data[] = { | ||
32 | { | ||
33 | .iobase = 0x3f8, | ||
34 | .irq = IRQ_UARTINT0, | ||
35 | #error FIXME | ||
36 | .uartclk = 0, | ||
37 | .regshift = 0, | ||
38 | .iotype = UPIO_PORT, | ||
39 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
40 | }, | ||
41 | { | ||
42 | .iobase = 0x2f8, | ||
43 | .irq = IRQ_UARTINT1, | ||
44 | #error FIXME | ||
45 | .uartclk = 0, | ||
46 | .regshift = 0, | ||
47 | .iotype = UPIO_PORT, | ||
48 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
49 | }, | ||
50 | { }, | ||
51 | }; | ||
52 | |||
53 | static struct platform_device serial_device = { | ||
54 | .name = "serial8250", | ||
55 | .id = PLAT8250_DEV_PLATFORM, | ||
56 | .dev = { | ||
57 | .platform_data = serial_platform_data, | ||
58 | }, | ||
59 | }; | ||
60 | |||
61 | extern void epxa10db_map_io(void); | ||
62 | extern void epxa10db_init_irq(void); | ||
63 | extern struct sys_timer epxa10db_timer; | ||
64 | |||
65 | MACHINE_START(CAMELOT, "Altera Epxa10db") | ||
66 | /* Maintainer: Altera Corporation */ | ||
67 | .phys_ram = 0x00000000, | ||
68 | .phys_io = 0x7fffc000, | ||
69 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
70 | .map_io = epxa10db_map_io, | ||
71 | .init_irq = epxa10db_init_irq, | ||
72 | .timer = &epxa10db_timer, | ||
73 | MACHINE_END | ||
74 | |||
diff --git a/arch/arm/mach-epxa10db/irq.c b/arch/arm/mach-epxa10db/irq.c deleted file mode 100644 index 9bf927e13309..000000000000 --- a/arch/arm/mach-epxa10db/irq.c +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-epxa10db/irq.c | ||
3 | * | ||
4 | * Copyright (C) 2001 Altera Corporation | ||
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/ioport.h> | ||
22 | #include <linux/stddef.h> | ||
23 | #include <linux/timer.h> | ||
24 | #include <linux/list.h> | ||
25 | #include <asm/io.h> | ||
26 | #include <asm/hardware.h> | ||
27 | #include <asm/irq.h> | ||
28 | #include <asm/mach/irq.h> | ||
29 | #include <asm/arch/platform.h> | ||
30 | #include <asm/arch/int_ctrl00.h> | ||
31 | |||
32 | |||
33 | static void epxa_mask_irq(unsigned int irq) | ||
34 | { | ||
35 | writel(1 << irq, INT_MC(IO_ADDRESS(EXC_INT_CTRL00_BASE))); | ||
36 | } | ||
37 | |||
38 | static void epxa_unmask_irq(unsigned int irq) | ||
39 | { | ||
40 | writel(1 << irq, INT_MS(IO_ADDRESS(EXC_INT_CTRL00_BASE))); | ||
41 | } | ||
42 | |||
43 | |||
44 | static struct irqchip epxa_irq_chip = { | ||
45 | .ack = epxa_mask_irq, | ||
46 | .mask = epxa_mask_irq, | ||
47 | .unmask = epxa_unmask_irq, | ||
48 | }; | ||
49 | |||
50 | static struct resource irq_resource = { | ||
51 | .name = "irq_handler", | ||
52 | .start = IO_ADDRESS(EXC_INT_CTRL00_BASE), | ||
53 | .end = IO_ADDRESS(INT_PRIORITY_FC(EXC_INT_CTRL00_BASE))+4, | ||
54 | }; | ||
55 | |||
56 | void __init epxa10db_init_irq(void) | ||
57 | { | ||
58 | unsigned int i; | ||
59 | |||
60 | request_resource(&iomem_resource, &irq_resource); | ||
61 | |||
62 | /* | ||
63 | * This bit sets up the interrupt controller using | ||
64 | * the 6 PLD interrupts mode (the default) each | ||
65 | * irqs is assigned a priority which is the same | ||
66 | * as its interrupt number. This scheme is used because | ||
67 | * its easy, but you may want to change it depending | ||
68 | * on the contents of your PLD | ||
69 | */ | ||
70 | |||
71 | writel(3,INT_MODE(IO_ADDRESS(EXC_INT_CTRL00_BASE))); | ||
72 | for (i = 0; i < NR_IRQS; i++){ | ||
73 | writel(i+1, INT_PRIORITY_P0(IO_ADDRESS(EXC_INT_CTRL00_BASE)) + (4*i)); | ||
74 | set_irq_chip(i,&epxa_irq_chip); | ||
75 | set_irq_handler(i,do_level_IRQ); | ||
76 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); | ||
77 | } | ||
78 | |||
79 | /* Disable all interrupts */ | ||
80 | writel(-1,INT_MC(IO_ADDRESS(EXC_INT_CTRL00_BASE))); | ||
81 | |||
82 | } | ||
diff --git a/arch/arm/mach-epxa10db/mm.c b/arch/arm/mach-epxa10db/mm.c deleted file mode 100644 index cfd0d2182d44..000000000000 --- a/arch/arm/mach-epxa10db/mm.c +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-epxa10db/mm.c | ||
3 | * | ||
4 | * MM routines for Altera'a Epxa10db board | ||
5 | * | ||
6 | * Copyright (C) 2001 Altera Corporation | ||
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 | #include <linux/kernel.h> | ||
23 | #include <linux/init.h> | ||
24 | |||
25 | #include <asm/hardware.h> | ||
26 | #include <asm/io.h> | ||
27 | #include <asm/sizes.h> | ||
28 | #include <asm/page.h> | ||
29 | |||
30 | #include <asm/mach/map.h> | ||
31 | |||
32 | /* Page table mapping for I/O region */ | ||
33 | |||
34 | static struct map_desc epxa10db_io_desc[] __initdata = { | ||
35 | { | ||
36 | .virtual = IO_ADDRESS(EXC_REGISTERS_BASE), | ||
37 | .pfn = __phys_to_pfn(EXC_REGISTERS_BASE), | ||
38 | .length = SZ_16K, | ||
39 | .type = MT_DEVICE | ||
40 | }, { | ||
41 | .virtual = IO_ADDRESS(EXC_PLD_BLOCK0_BASE), | ||
42 | .pfn = __phys_to_pfn(EXC_PLD_BLOCK0_BASE), | ||
43 | .length = SZ_16K, | ||
44 | .type = MT_DEVICE | ||
45 | }, { | ||
46 | .virtual = IO_ADDRESS(EXC_PLD_BLOCK1_BASE), | ||
47 | .pfn =__phys_to_pfn(EXC_PLD_BLOCK1_BASE), | ||
48 | .length = SZ_16K, | ||
49 | .type = MT_DEVICE | ||
50 | }, { | ||
51 | .virtual = IO_ADDRESS(EXC_PLD_BLOCK2_BASE), | ||
52 | .physical = __phys_to_pfn(EXC_PLD_BLOCK2_BASE), | ||
53 | .length = SZ_16K, | ||
54 | .type = MT_DEVICE | ||
55 | }, { | ||
56 | .virtual = IO_ADDRESS(EXC_PLD_BLOCK3_BASE), | ||
57 | .pfn = __phys_to_pfn(EXC_PLD_BLOCK3_BASE), | ||
58 | .length = SZ_16K, | ||
59 | .type = MT_DEVICE | ||
60 | }, { | ||
61 | .virtual = FLASH_VADDR(EXC_EBI_BLOCK0_BASE), | ||
62 | .pfn = __phys_to_pfn(EXC_EBI_BLOCK0_BASE), | ||
63 | .length = SZ_16M, | ||
64 | .type = MT_DEVICE | ||
65 | } | ||
66 | }; | ||
67 | |||
68 | void __init epxa10db_map_io(void) | ||
69 | { | ||
70 | iotable_init(epxa10db_io_desc, ARRAY_SIZE(epxa10db_io_desc)); | ||
71 | } | ||
diff --git a/arch/arm/mach-epxa10db/time.c b/arch/arm/mach-epxa10db/time.c deleted file mode 100644 index 4b1084dde8dd..000000000000 --- a/arch/arm/mach-epxa10db/time.c +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-epxa10db/time.c | ||
3 | * | ||
4 | * Copyright (C) 2000 Deep Blue Solutions | ||
5 | * Copyright (C) 2001 Altera Corporation | ||
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/interrupt.h> | ||
14 | #include <linux/sched.h> | ||
15 | |||
16 | #include <asm/hardware.h> | ||
17 | #include <asm/system.h> | ||
18 | #include <asm/leds.h> | ||
19 | |||
20 | #include <asm/mach/time.h> | ||
21 | |||
22 | #define TIMER00_TYPE (volatile unsigned int*) | ||
23 | #include <asm/arch/timer00.h> | ||
24 | |||
25 | static int epxa10db_set_rtc(void) | ||
26 | { | ||
27 | return 1; | ||
28 | } | ||
29 | |||
30 | static int epxa10db_rtc_init(void) | ||
31 | { | ||
32 | set_rtc = epxa10db_set_rtc; | ||
33 | |||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | __initcall(epxa10db_rtc_init); | ||
38 | |||
39 | |||
40 | /* | ||
41 | * IRQ handler for the timer | ||
42 | */ | ||
43 | static irqreturn_t | ||
44 | epxa10db_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | ||
45 | { | ||
46 | write_seqlock(&xtime_lock); | ||
47 | |||
48 | // ...clear the interrupt | ||
49 | *TIMER0_CR(IO_ADDRESS(EXC_TIMER00_BASE))|=TIMER0_CR_CI_MSK; | ||
50 | |||
51 | timer_tick(regs); | ||
52 | write_sequnlock(&xtime_lock); | ||
53 | |||
54 | return IRQ_HANDLED; | ||
55 | } | ||
56 | |||
57 | static struct irqaction epxa10db_timer_irq = { | ||
58 | .name = "Excalibur Timer Tick", | ||
59 | .flags = SA_INTERRUPT | SA_TIMER, | ||
60 | .handler = epxa10db_timer_interrupt, | ||
61 | }; | ||
62 | |||
63 | /* | ||
64 | * Set up timer interrupt, and return the current time in seconds. | ||
65 | */ | ||
66 | static void __init epxa10db_timer_init(void) | ||
67 | { | ||
68 | /* Start the timer */ | ||
69 | *TIMER0_LIMIT(IO_ADDRESS(EXC_TIMER00_BASE))=(unsigned int)(EXC_AHB2_CLK_FREQUENCY/200); | ||
70 | *TIMER0_PRESCALE(IO_ADDRESS(EXC_TIMER00_BASE))=1; | ||
71 | *TIMER0_CR(IO_ADDRESS(EXC_TIMER00_BASE))=TIMER0_CR_IE_MSK | TIMER0_CR_S_MSK; | ||
72 | |||
73 | setup_irq(IRQ_TIMER0, &epxa10db_timer_irq); | ||
74 | } | ||
75 | |||
76 | struct sys_timer epxa10db_timer = { | ||
77 | .init = epxa10db_timer_init, | ||
78 | }; | ||
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index e84fdde6edf8..04cf0557e54b 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -83,8 +83,8 @@ config CPU_ARM920T | |||
83 | # ARM922T | 83 | # ARM922T |
84 | config CPU_ARM922T | 84 | config CPU_ARM922T |
85 | bool "Support ARM922T processor" if ARCH_INTEGRATOR | 85 | bool "Support ARM922T processor" if ARCH_INTEGRATOR |
86 | depends on ARCH_CAMELOT || ARCH_LH7A40X || ARCH_INTEGRATOR | 86 | depends on ARCH_LH7A40X || ARCH_INTEGRATOR |
87 | default y if ARCH_CAMELOT || ARCH_LH7A40X | 87 | default y if ARCH_LH7A40X |
88 | select CPU_32v4 | 88 | select CPU_32v4 |
89 | select CPU_ABRT_EV4T | 89 | select CPU_ABRT_EV4T |
90 | select CPU_CACHE_V4WT | 90 | select CPU_CACHE_V4WT |