Added initial support for at91 plaform (HCG)
[openwrt/svn-archive/archive.git] / target / linux / at91-2.6 / patches / 000-at91patches.patch
1 diff -urN -x CVS linux-2.6.19-final/arch/arm/Kconfig linux-2.6.19/arch/arm/Kconfig
2 --- linux-2.6.19-final/arch/arm/Kconfig Mon Dec 4 16:39:27 2006
3 +++ linux-2.6.19/arch/arm/Kconfig Thu Nov 30 09:08:02 2006
4 @@ -583,7 +591,7 @@
5 ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
6 ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
7 ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
8 - ARCH_AT91RM9200 || MACH_TRIZEPS4
9 + ARCH_AT91 || MACH_TRIZEPS4
10 help
11 If you say Y here, the LEDs on your machine will be used
12 to provide useful information about your current system status.
13 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/at91rm9200dk_defconfig linux-2.6.19/arch/arm/configs/at91rm9200dk_defconfig
14 --- linux-2.6.19-final/arch/arm/configs/at91rm9200dk_defconfig Mon Dec 4 16:39:28 2006
15 +++ linux-2.6.19/arch/arm/configs/at91rm9200dk_defconfig Mon Nov 20 10:46:02 2006
16 @@ -357,9 +357,9 @@
17 #
18 # CONFIG_MTD_COMPLEX_MAPPINGS is not set
19 CONFIG_MTD_PHYSMAP=y
20 -CONFIG_MTD_PHYSMAP_START=0x10000000
21 -CONFIG_MTD_PHYSMAP_LEN=0x200000
22 -CONFIG_MTD_PHYSMAP_BANKWIDTH=2
23 +CONFIG_MTD_PHYSMAP_START=0
24 +CONFIG_MTD_PHYSMAP_LEN=0
25 +CONFIG_MTD_PHYSMAP_BANKWIDTH=0
26 # CONFIG_MTD_ARM_INTEGRATOR is not set
27 # CONFIG_MTD_IMPA7 is not set
28 # CONFIG_MTD_PLATRAM is not set
29 @@ -585,7 +585,9 @@
30 # CONFIG_USBPCWATCHDOG is not set
31 # CONFIG_NVRAM is not set
32 # CONFIG_RTC is not set
33 -CONFIG_AT91_RTC=y
34 +CONFIG_RTC_LIB=y
35 +CONFIG_RTC_CLASS=y
36 +CONFIG_RTC_DRV_AT91RM9200=y
37 # CONFIG_DTLK is not set
38 # CONFIG_R3964 is not set
39
40 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/at91rm9200ek_defconfig linux-2.6.19/arch/arm/configs/at91rm9200ek_defconfig
41 --- linux-2.6.19-final/arch/arm/configs/at91rm9200ek_defconfig Mon Dec 4 16:39:28 2006
42 +++ linux-2.6.19/arch/arm/configs/at91rm9200ek_defconfig Mon Nov 20 10:45:49 2006
43 @@ -348,9 +348,9 @@
44 #
45 # CONFIG_MTD_COMPLEX_MAPPINGS is not set
46 CONFIG_MTD_PHYSMAP=y
47 -CONFIG_MTD_PHYSMAP_START=0x10000000
48 -CONFIG_MTD_PHYSMAP_LEN=0x800000
49 -CONFIG_MTD_PHYSMAP_BANKWIDTH=2
50 +CONFIG_MTD_PHYSMAP_START=0
51 +CONFIG_MTD_PHYSMAP_LEN=0
52 +CONFIG_MTD_PHYSMAP_BANKWIDTH=0
53 # CONFIG_MTD_ARM_INTEGRATOR is not set
54 # CONFIG_MTD_IMPA7 is not set
55 # CONFIG_MTD_PLATRAM is not set
56 @@ -566,7 +566,9 @@
57 # CONFIG_USBPCWATCHDOG is not set
58 # CONFIG_NVRAM is not set
59 # CONFIG_RTC is not set
60 -CONFIG_AT91_RTC=y
61 +CONFIG_RTC_LIB=y
62 +CONFIG_RTC_CLASS=y
63 +CONFIG_RTC_DRV_AT91RM9200=y
64 # CONFIG_DTLK is not set
65 # CONFIG_R3964 is not set
66
67 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/at91sam9260ek_defconfig linux-2.6.19/arch/arm/configs/at91sam9260ek_defconfig
68 --- linux-2.6.19-final/arch/arm/configs/at91sam9260ek_defconfig Thu Jan 1 02:00:00 1970
69 +++ linux-2.6.19/arch/arm/configs/at91sam9260ek_defconfig Mon Nov 20 10:51:08 2006
70 @@ -0,0 +1,950 @@
71 +#
72 +# Automatically generated make config: don't edit
73 +# Linux kernel version: 2.6.19-rc6
74 +# Fri Nov 17 18:42:21 2006
75 +#
76 +CONFIG_ARM=y
77 +# CONFIG_GENERIC_TIME is not set
78 +CONFIG_MMU=y
79 +CONFIG_GENERIC_HARDIRQS=y
80 +CONFIG_TRACE_IRQFLAGS_SUPPORT=y
81 +CONFIG_HARDIRQS_SW_RESEND=y
82 +CONFIG_GENERIC_IRQ_PROBE=y
83 +CONFIG_RWSEM_GENERIC_SPINLOCK=y
84 +CONFIG_GENERIC_HWEIGHT=y
85 +CONFIG_GENERIC_CALIBRATE_DELAY=y
86 +CONFIG_VECTORS_BASE=0xffff0000
87 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
88 +
89 +#
90 +# Code maturity level options
91 +#
92 +CONFIG_EXPERIMENTAL=y
93 +CONFIG_BROKEN_ON_SMP=y
94 +CONFIG_INIT_ENV_ARG_LIMIT=32
95 +
96 +#
97 +# General setup
98 +#
99 +CONFIG_LOCALVERSION=""
100 +# CONFIG_LOCALVERSION_AUTO is not set
101 +# CONFIG_SWAP is not set
102 +CONFIG_SYSVIPC=y
103 +# CONFIG_IPC_NS is not set
104 +# CONFIG_POSIX_MQUEUE is not set
105 +# CONFIG_BSD_PROCESS_ACCT is not set
106 +# CONFIG_TASKSTATS is not set
107 +# CONFIG_UTS_NS is not set
108 +# CONFIG_AUDIT is not set
109 +# CONFIG_IKCONFIG is not set
110 +# CONFIG_RELAY is not set
111 +CONFIG_INITRAMFS_SOURCE=""
112 +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
113 +CONFIG_SYSCTL=y
114 +# CONFIG_EMBEDDED is not set
115 +CONFIG_UID16=y
116 +CONFIG_SYSCTL_SYSCALL=y
117 +CONFIG_KALLSYMS=y
118 +# CONFIG_KALLSYMS_ALL is not set
119 +# CONFIG_KALLSYMS_EXTRA_PASS is not set
120 +CONFIG_HOTPLUG=y
121 +CONFIG_PRINTK=y
122 +CONFIG_BUG=y
123 +CONFIG_ELF_CORE=y
124 +CONFIG_BASE_FULL=y
125 +CONFIG_FUTEX=y
126 +CONFIG_EPOLL=y
127 +CONFIG_SHMEM=y
128 +CONFIG_SLAB=y
129 +CONFIG_VM_EVENT_COUNTERS=y
130 +CONFIG_RT_MUTEXES=y
131 +# CONFIG_TINY_SHMEM is not set
132 +CONFIG_BASE_SMALL=0
133 +# CONFIG_SLOB is not set
134 +
135 +#
136 +# Loadable module support
137 +#
138 +CONFIG_MODULES=y
139 +CONFIG_MODULE_UNLOAD=y
140 +# CONFIG_MODULE_FORCE_UNLOAD is not set
141 +# CONFIG_MODVERSIONS is not set
142 +# CONFIG_MODULE_SRCVERSION_ALL is not set
143 +CONFIG_KMOD=y
144 +
145 +#
146 +# Block layer
147 +#
148 +CONFIG_BLOCK=y
149 +# CONFIG_BLK_DEV_IO_TRACE is not set
150 +
151 +#
152 +# IO Schedulers
153 +#
154 +CONFIG_IOSCHED_NOOP=y
155 +CONFIG_IOSCHED_AS=y
156 +# CONFIG_IOSCHED_DEADLINE is not set
157 +# CONFIG_IOSCHED_CFQ is not set
158 +CONFIG_DEFAULT_AS=y
159 +# CONFIG_DEFAULT_DEADLINE is not set
160 +# CONFIG_DEFAULT_CFQ is not set
161 +# CONFIG_DEFAULT_NOOP is not set
162 +CONFIG_DEFAULT_IOSCHED="anticipatory"
163 +
164 +#
165 +# System Type
166 +#
167 +# CONFIG_ARCH_AAEC2000 is not set
168 +# CONFIG_ARCH_INTEGRATOR is not set
169 +# CONFIG_ARCH_REALVIEW is not set
170 +# CONFIG_ARCH_VERSATILE is not set
171 +CONFIG_ARCH_AT91=y
172 +# CONFIG_ARCH_CLPS7500 is not set
173 +# CONFIG_ARCH_CLPS711X is not set
174 +# CONFIG_ARCH_CO285 is not set
175 +# CONFIG_ARCH_EBSA110 is not set
176 +# CONFIG_ARCH_EP93XX is not set
177 +# CONFIG_ARCH_FOOTBRIDGE is not set
178 +# CONFIG_ARCH_NETX is not set
179 +# CONFIG_ARCH_H720X is not set
180 +# CONFIG_ARCH_IMX is not set
181 +# CONFIG_ARCH_IOP32X is not set
182 +# CONFIG_ARCH_IOP33X is not set
183 +# CONFIG_ARCH_IXP4XX is not set
184 +# CONFIG_ARCH_IXP2000 is not set
185 +# CONFIG_ARCH_IXP23XX is not set
186 +# CONFIG_ARCH_L7200 is not set
187 +# CONFIG_ARCH_PNX4008 is not set
188 +# CONFIG_ARCH_PXA is not set
189 +# CONFIG_ARCH_RPC is not set
190 +# CONFIG_ARCH_SA1100 is not set
191 +# CONFIG_ARCH_S3C2410 is not set
192 +# CONFIG_ARCH_SHARK is not set
193 +# CONFIG_ARCH_LH7A40X is not set
194 +# CONFIG_ARCH_OMAP is not set
195 +
196 +#
197 +# Atmel AT91 System-on-Chip
198 +#
199 +# CONFIG_ARCH_AT91RM9200 is not set
200 +CONFIG_ARCH_AT91SAM9260=y
201 +# CONFIG_ARCH_AT91SAM9261 is not set
202 +
203 +#
204 +# AT91SAM9260 Board Type
205 +#
206 +CONFIG_MACH_AT91SAM9260EK=y
207 +
208 +#
209 +# AT91 Board Options
210 +#
211 +# CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set
212 +
213 +#
214 +# AT91 Feature Selections
215 +#
216 +# CONFIG_AT91_PROGRAMMABLE_CLOCKS is not set
217 +
218 +#
219 +# Processor Type
220 +#
221 +CONFIG_CPU_32=y
222 +CONFIG_CPU_ARM926T=y
223 +CONFIG_CPU_32v5=y
224 +CONFIG_CPU_ABRT_EV5TJ=y
225 +CONFIG_CPU_CACHE_VIVT=y
226 +CONFIG_CPU_COPY_V4WB=y
227 +CONFIG_CPU_TLB_V4WBI=y
228 +CONFIG_CPU_CP15=y
229 +CONFIG_CPU_CP15_MMU=y
230 +
231 +#
232 +# Processor Features
233 +#
234 +# CONFIG_ARM_THUMB is not set
235 +# CONFIG_CPU_ICACHE_DISABLE is not set
236 +# CONFIG_CPU_DCACHE_DISABLE is not set
237 +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
238 +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
239 +
240 +#
241 +# Bus support
242 +#
243 +
244 +#
245 +# PCCARD (PCMCIA/CardBus) support
246 +#
247 +# CONFIG_PCCARD is not set
248 +
249 +#
250 +# Kernel Features
251 +#
252 +# CONFIG_PREEMPT is not set
253 +# CONFIG_NO_IDLE_HZ is not set
254 +CONFIG_HZ=100
255 +# CONFIG_AEABI is not set
256 +# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
257 +CONFIG_SELECT_MEMORY_MODEL=y
258 +CONFIG_FLATMEM_MANUAL=y
259 +# CONFIG_DISCONTIGMEM_MANUAL is not set
260 +# CONFIG_SPARSEMEM_MANUAL is not set
261 +CONFIG_FLATMEM=y
262 +CONFIG_FLAT_NODE_MEM_MAP=y
263 +# CONFIG_SPARSEMEM_STATIC is not set
264 +CONFIG_SPLIT_PTLOCK_CPUS=4096
265 +# CONFIG_RESOURCES_64BIT is not set
266 +# CONFIG_LEDS is not set
267 +CONFIG_ALIGNMENT_TRAP=y
268 +
269 +#
270 +# Boot options
271 +#
272 +CONFIG_ZBOOT_ROM_TEXT=0x0
273 +CONFIG_ZBOOT_ROM_BSS=0x0
274 +CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw"
275 +# CONFIG_XIP_KERNEL is not set
276 +
277 +#
278 +# Floating point emulation
279 +#
280 +
281 +#
282 +# At least one emulation must be selected
283 +#
284 +CONFIG_FPE_NWFPE=y
285 +# CONFIG_FPE_NWFPE_XP is not set
286 +# CONFIG_FPE_FASTFPE is not set
287 +# CONFIG_VFP is not set
288 +
289 +#
290 +# Userspace binary formats
291 +#
292 +CONFIG_BINFMT_ELF=y
293 +# CONFIG_BINFMT_AOUT is not set
294 +# CONFIG_BINFMT_MISC is not set
295 +# CONFIG_ARTHUR is not set
296 +
297 +#
298 +# Power management options
299 +#
300 +# CONFIG_PM is not set
301 +# CONFIG_APM is not set
302 +
303 +#
304 +# Networking
305 +#
306 +CONFIG_NET=y
307 +
308 +#
309 +# Networking options
310 +#
311 +# CONFIG_NETDEBUG is not set
312 +CONFIG_PACKET=y
313 +# CONFIG_PACKET_MMAP is not set
314 +CONFIG_UNIX=y
315 +CONFIG_XFRM=y
316 +# CONFIG_XFRM_USER is not set
317 +# CONFIG_XFRM_SUB_POLICY is not set
318 +# CONFIG_NET_KEY is not set
319 +CONFIG_INET=y
320 +# CONFIG_IP_MULTICAST is not set
321 +# CONFIG_IP_ADVANCED_ROUTER is not set
322 +CONFIG_IP_FIB_HASH=y
323 +CONFIG_IP_PNP=y
324 +# CONFIG_IP_PNP_DHCP is not set
325 +CONFIG_IP_PNP_BOOTP=y
326 +# CONFIG_IP_PNP_RARP is not set
327 +# CONFIG_NET_IPIP is not set
328 +# CONFIG_NET_IPGRE is not set
329 +# CONFIG_ARPD is not set
330 +# CONFIG_SYN_COOKIES is not set
331 +# CONFIG_INET_AH is not set
332 +# CONFIG_INET_ESP is not set
333 +# CONFIG_INET_IPCOMP is not set
334 +# CONFIG_INET_XFRM_TUNNEL is not set
335 +# CONFIG_INET_TUNNEL is not set
336 +CONFIG_INET_XFRM_MODE_TRANSPORT=y
337 +CONFIG_INET_XFRM_MODE_TUNNEL=y
338 +CONFIG_INET_XFRM_MODE_BEET=y
339 +CONFIG_INET_DIAG=y
340 +CONFIG_INET_TCP_DIAG=y
341 +# CONFIG_TCP_CONG_ADVANCED is not set
342 +CONFIG_TCP_CONG_CUBIC=y
343 +CONFIG_DEFAULT_TCP_CONG="cubic"
344 +# CONFIG_IPV6 is not set
345 +# CONFIG_INET6_XFRM_TUNNEL is not set
346 +# CONFIG_INET6_TUNNEL is not set
347 +# CONFIG_NETWORK_SECMARK is not set
348 +# CONFIG_NETFILTER is not set
349 +
350 +#
351 +# DCCP Configuration (EXPERIMENTAL)
352 +#
353 +# CONFIG_IP_DCCP is not set
354 +
355 +#
356 +# SCTP Configuration (EXPERIMENTAL)
357 +#
358 +# CONFIG_IP_SCTP is not set
359 +
360 +#
361 +# TIPC Configuration (EXPERIMENTAL)
362 +#
363 +# CONFIG_TIPC is not set
364 +# CONFIG_ATM is not set
365 +# CONFIG_BRIDGE is not set
366 +# CONFIG_VLAN_8021Q is not set
367 +# CONFIG_DECNET is not set
368 +# CONFIG_LLC2 is not set
369 +# CONFIG_IPX is not set
370 +# CONFIG_ATALK is not set
371 +# CONFIG_X25 is not set
372 +# CONFIG_LAPB is not set
373 +# CONFIG_ECONET is not set
374 +# CONFIG_WAN_ROUTER is not set
375 +
376 +#
377 +# QoS and/or fair queueing
378 +#
379 +# CONFIG_NET_SCHED is not set
380 +
381 +#
382 +# Network testing
383 +#
384 +# CONFIG_NET_PKTGEN is not set
385 +# CONFIG_HAMRADIO is not set
386 +# CONFIG_IRDA is not set
387 +# CONFIG_BT is not set
388 +# CONFIG_IEEE80211 is not set
389 +
390 +#
391 +# Device Drivers
392 +#
393 +
394 +#
395 +# Generic Driver Options
396 +#
397 +CONFIG_STANDALONE=y
398 +CONFIG_PREVENT_FIRMWARE_BUILD=y
399 +# CONFIG_FW_LOADER is not set
400 +# CONFIG_DEBUG_DRIVER is not set
401 +# CONFIG_SYS_HYPERVISOR is not set
402 +
403 +#
404 +# Connector - unified userspace <-> kernelspace linker
405 +#
406 +# CONFIG_CONNECTOR is not set
407 +
408 +#
409 +# Memory Technology Devices (MTD)
410 +#
411 +# CONFIG_MTD is not set
412 +
413 +#
414 +# Parallel port support
415 +#
416 +# CONFIG_PARPORT is not set
417 +
418 +#
419 +# Plug and Play support
420 +#
421 +
422 +#
423 +# Block devices
424 +#
425 +# CONFIG_BLK_DEV_COW_COMMON is not set
426 +# CONFIG_BLK_DEV_LOOP is not set
427 +# CONFIG_BLK_DEV_NBD is not set
428 +# CONFIG_BLK_DEV_UB is not set
429 +CONFIG_BLK_DEV_RAM=y
430 +CONFIG_BLK_DEV_RAM_COUNT=16
431 +CONFIG_BLK_DEV_RAM_SIZE=8192
432 +CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
433 +CONFIG_BLK_DEV_INITRD=y
434 +# CONFIG_CDROM_PKTCDVD is not set
435 +# CONFIG_ATA_OVER_ETH is not set
436 +
437 +#
438 +# SCSI device support
439 +#
440 +# CONFIG_RAID_ATTRS is not set
441 +CONFIG_SCSI=y
442 +# CONFIG_SCSI_NETLINK is not set
443 +CONFIG_SCSI_PROC_FS=y
444 +
445 +#
446 +# SCSI support type (disk, tape, CD-ROM)
447 +#
448 +CONFIG_BLK_DEV_SD=y
449 +# CONFIG_CHR_DEV_ST is not set
450 +# CONFIG_CHR_DEV_OSST is not set
451 +# CONFIG_BLK_DEV_SR is not set
452 +# CONFIG_CHR_DEV_SG is not set
453 +# CONFIG_CHR_DEV_SCH is not set
454 +
455 +#
456 +# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
457 +#
458 +CONFIG_SCSI_MULTI_LUN=y
459 +# CONFIG_SCSI_CONSTANTS is not set
460 +# CONFIG_SCSI_LOGGING is not set
461 +
462 +#
463 +# SCSI Transports
464 +#
465 +# CONFIG_SCSI_SPI_ATTRS is not set
466 +# CONFIG_SCSI_FC_ATTRS is not set
467 +# CONFIG_SCSI_ISCSI_ATTRS is not set
468 +# CONFIG_SCSI_SAS_ATTRS is not set
469 +# CONFIG_SCSI_SAS_LIBSAS is not set
470 +
471 +#
472 +# SCSI low-level drivers
473 +#
474 +# CONFIG_ISCSI_TCP is not set
475 +# CONFIG_SCSI_DEBUG is not set
476 +
477 +#
478 +# Multi-device support (RAID and LVM)
479 +#
480 +# CONFIG_MD is not set
481 +
482 +#
483 +# Fusion MPT device support
484 +#
485 +# CONFIG_FUSION is not set
486 +
487 +#
488 +# IEEE 1394 (FireWire) support
489 +#
490 +
491 +#
492 +# I2O device support
493 +#
494 +
495 +#
496 +# Network device support
497 +#
498 +# CONFIG_NETDEVICES is not set
499 +# CONFIG_NETPOLL is not set
500 +# CONFIG_NET_POLL_CONTROLLER is not set
501 +
502 +#
503 +# ISDN subsystem
504 +#
505 +# CONFIG_ISDN is not set
506 +
507 +#
508 +# Input device support
509 +#
510 +CONFIG_INPUT=y
511 +# CONFIG_INPUT_FF_MEMLESS is not set
512 +
513 +#
514 +# Userland interfaces
515 +#
516 +CONFIG_INPUT_MOUSEDEV=y
517 +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
518 +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
519 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
520 +# CONFIG_INPUT_JOYDEV is not set
521 +# CONFIG_INPUT_TSDEV is not set
522 +# CONFIG_INPUT_EVDEV is not set
523 +# CONFIG_INPUT_EVBUG is not set
524 +
525 +#
526 +# Input Device Drivers
527 +#
528 +# CONFIG_INPUT_KEYBOARD is not set
529 +# CONFIG_INPUT_MOUSE is not set
530 +# CONFIG_INPUT_JOYSTICK is not set
531 +# CONFIG_INPUT_TOUCHSCREEN is not set
532 +# CONFIG_INPUT_MISC is not set
533 +
534 +#
535 +# Hardware I/O ports
536 +#
537 +# CONFIG_SERIO is not set
538 +# CONFIG_GAMEPORT is not set
539 +
540 +#
541 +# Character devices
542 +#
543 +CONFIG_VT=y
544 +CONFIG_VT_CONSOLE=y
545 +CONFIG_HW_CONSOLE=y
546 +# CONFIG_VT_HW_CONSOLE_BINDING is not set
547 +# CONFIG_SERIAL_NONSTANDARD is not set
548 +
549 +#
550 +# Serial drivers
551 +#
552 +# CONFIG_SERIAL_8250 is not set
553 +
554 +#
555 +# Non-8250 serial port support
556 +#
557 +CONFIG_SERIAL_ATMEL=y
558 +CONFIG_SERIAL_ATMEL_CONSOLE=y
559 +# CONFIG_SERIAL_ATMEL_TTYAT is not set
560 +CONFIG_SERIAL_CORE=y
561 +CONFIG_SERIAL_CORE_CONSOLE=y
562 +CONFIG_UNIX98_PTYS=y
563 +CONFIG_LEGACY_PTYS=y
564 +CONFIG_LEGACY_PTY_COUNT=256
565 +
566 +#
567 +# IPMI
568 +#
569 +# CONFIG_IPMI_HANDLER is not set
570 +
571 +#
572 +# Watchdog Cards
573 +#
574 +CONFIG_WATCHDOG=y
575 +CONFIG_WATCHDOG_NOWAYOUT=y
576 +
577 +#
578 +# Watchdog Device Drivers
579 +#
580 +# CONFIG_SOFT_WATCHDOG is not set
581 +
582 +#
583 +# USB-based Watchdog Cards
584 +#
585 +# CONFIG_USBPCWATCHDOG is not set
586 +CONFIG_HW_RANDOM=y
587 +# CONFIG_NVRAM is not set
588 +# CONFIG_DTLK is not set
589 +# CONFIG_R3964 is not set
590 +
591 +#
592 +# Ftape, the floppy tape device driver
593 +#
594 +# CONFIG_RAW_DRIVER is not set
595 +
596 +#
597 +# TPM devices
598 +#
599 +# CONFIG_TCG_TPM is not set
600 +
601 +#
602 +# I2C support
603 +#
604 +# CONFIG_I2C is not set
605 +
606 +#
607 +# SPI support
608 +#
609 +# CONFIG_SPI is not set
610 +# CONFIG_SPI_MASTER is not set
611 +
612 +#
613 +# Dallas's 1-wire bus
614 +#
615 +# CONFIG_W1 is not set
616 +
617 +#
618 +# Hardware Monitoring support
619 +#
620 +# CONFIG_HWMON is not set
621 +# CONFIG_HWMON_VID is not set
622 +
623 +#
624 +# Misc devices
625 +#
626 +# CONFIG_TIFM_CORE is not set
627 +
628 +#
629 +# LED devices
630 +#
631 +# CONFIG_NEW_LEDS is not set
632 +
633 +#
634 +# LED drivers
635 +#
636 +
637 +#
638 +# LED Triggers
639 +#
640 +
641 +#
642 +# Multimedia devices
643 +#
644 +# CONFIG_VIDEO_DEV is not set
645 +
646 +#
647 +# Digital Video Broadcasting Devices
648 +#
649 +# CONFIG_DVB is not set
650 +# CONFIG_USB_DABUSB is not set
651 +
652 +#
653 +# Graphics support
654 +#
655 +# CONFIG_FIRMWARE_EDID is not set
656 +# CONFIG_FB is not set
657 +
658 +#
659 +# Console display driver support
660 +#
661 +# CONFIG_VGA_CONSOLE is not set
662 +CONFIG_DUMMY_CONSOLE=y
663 +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
664 +
665 +#
666 +# Sound
667 +#
668 +# CONFIG_SOUND is not set
669 +
670 +#
671 +# USB support
672 +#
673 +CONFIG_USB_ARCH_HAS_HCD=y
674 +CONFIG_USB_ARCH_HAS_OHCI=y
675 +# CONFIG_USB_ARCH_HAS_EHCI is not set
676 +CONFIG_USB=y
677 +# CONFIG_USB_DEBUG is not set
678 +
679 +#
680 +# Miscellaneous USB options
681 +#
682 +CONFIG_USB_DEVICEFS=y
683 +# CONFIG_USB_BANDWIDTH is not set
684 +# CONFIG_USB_DYNAMIC_MINORS is not set
685 +# CONFIG_USB_OTG is not set
686 +
687 +#
688 +# USB Host Controller Drivers
689 +#
690 +# CONFIG_USB_ISP116X_HCD is not set
691 +CONFIG_USB_OHCI_HCD=y
692 +# CONFIG_USB_OHCI_BIG_ENDIAN is not set
693 +CONFIG_USB_OHCI_LITTLE_ENDIAN=y
694 +# CONFIG_USB_SL811_HCD is not set
695 +
696 +#
697 +# USB Device Class drivers
698 +#
699 +# CONFIG_USB_ACM is not set
700 +# CONFIG_USB_PRINTER is not set
701 +
702 +#
703 +# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
704 +#
705 +
706 +#
707 +# may also be needed; see USB_STORAGE Help for more information
708 +#
709 +CONFIG_USB_STORAGE=y
710 +CONFIG_USB_STORAGE_DEBUG=y
711 +# CONFIG_USB_STORAGE_DATAFAB is not set
712 +# CONFIG_USB_STORAGE_FREECOM is not set
713 +# CONFIG_USB_STORAGE_DPCM is not set
714 +# CONFIG_USB_STORAGE_USBAT is not set
715 +# CONFIG_USB_STORAGE_SDDR09 is not set
716 +# CONFIG_USB_STORAGE_SDDR55 is not set
717 +# CONFIG_USB_STORAGE_JUMPSHOT is not set
718 +# CONFIG_USB_STORAGE_ALAUDA is not set
719 +# CONFIG_USB_STORAGE_KARMA is not set
720 +# CONFIG_USB_LIBUSUAL is not set
721 +
722 +#
723 +# USB Input Devices
724 +#
725 +# CONFIG_USB_HID is not set
726 +
727 +#
728 +# USB HID Boot Protocol drivers
729 +#
730 +# CONFIG_USB_KBD is not set
731 +# CONFIG_USB_MOUSE is not set
732 +# CONFIG_USB_AIPTEK is not set
733 +# CONFIG_USB_WACOM is not set
734 +# CONFIG_USB_ACECAD is not set
735 +# CONFIG_USB_KBTAB is not set
736 +# CONFIG_USB_POWERMATE is not set
737 +# CONFIG_USB_TOUCHSCREEN is not set
738 +# CONFIG_USB_YEALINK is not set
739 +# CONFIG_USB_XPAD is not set
740 +# CONFIG_USB_ATI_REMOTE is not set
741 +# CONFIG_USB_ATI_REMOTE2 is not set
742 +# CONFIG_USB_KEYSPAN_REMOTE is not set
743 +# CONFIG_USB_APPLETOUCH is not set
744 +
745 +#
746 +# USB Imaging devices
747 +#
748 +# CONFIG_USB_MDC800 is not set
749 +# CONFIG_USB_MICROTEK is not set
750 +
751 +#
752 +# USB Network Adapters
753 +#
754 +# CONFIG_USB_CATC is not set
755 +# CONFIG_USB_KAWETH is not set
756 +# CONFIG_USB_PEGASUS is not set
757 +# CONFIG_USB_RTL8150 is not set
758 +# CONFIG_USB_USBNET_MII is not set
759 +# CONFIG_USB_USBNET is not set
760 +CONFIG_USB_MON=y
761 +
762 +#
763 +# USB port drivers
764 +#
765 +
766 +#
767 +# USB Serial Converter support
768 +#
769 +# CONFIG_USB_SERIAL is not set
770 +
771 +#
772 +# USB Miscellaneous drivers
773 +#
774 +# CONFIG_USB_EMI62 is not set
775 +# CONFIG_USB_EMI26 is not set
776 +# CONFIG_USB_ADUTUX is not set
777 +# CONFIG_USB_AUERSWALD is not set
778 +# CONFIG_USB_RIO500 is not set
779 +# CONFIG_USB_LEGOTOWER is not set
780 +# CONFIG_USB_LCD is not set
781 +# CONFIG_USB_LED is not set
782 +# CONFIG_USB_CYPRESS_CY7C63 is not set
783 +# CONFIG_USB_CYTHERM is not set
784 +# CONFIG_USB_PHIDGET is not set
785 +# CONFIG_USB_IDMOUSE is not set
786 +# CONFIG_USB_FTDI_ELAN is not set
787 +# CONFIG_USB_APPLEDISPLAY is not set
788 +# CONFIG_USB_LD is not set
789 +# CONFIG_USB_TRANCEVIBRATOR is not set
790 +# CONFIG_USB_TEST is not set
791 +
792 +#
793 +# USB DSL modem support
794 +#
795 +
796 +#
797 +# USB Gadget Support
798 +#
799 +CONFIG_USB_GADGET=y
800 +# CONFIG_USB_GADGET_DEBUG_FILES is not set
801 +CONFIG_USB_GADGET_SELECTED=y
802 +# CONFIG_USB_GADGET_NET2280 is not set
803 +# CONFIG_USB_GADGET_PXA2XX is not set
804 +# CONFIG_USB_GADGET_GOKU is not set
805 +# CONFIG_USB_GADGET_LH7A40X is not set
806 +# CONFIG_USB_GADGET_OMAP is not set
807 +CONFIG_USB_GADGET_AT91=y
808 +CONFIG_USB_AT91=y
809 +# CONFIG_USB_GADGET_DUMMY_HCD is not set
810 +# CONFIG_USB_GADGET_DUALSPEED is not set
811 +CONFIG_USB_ZERO=m
812 +# CONFIG_USB_ETH is not set
813 +CONFIG_USB_GADGETFS=m
814 +CONFIG_USB_FILE_STORAGE=m
815 +# CONFIG_USB_FILE_STORAGE_TEST is not set
816 +CONFIG_USB_G_SERIAL=m
817 +# CONFIG_USB_MIDI_GADGET is not set
818 +
819 +#
820 +# MMC/SD Card support
821 +#
822 +# CONFIG_MMC is not set
823 +
824 +#
825 +# Real Time Clock
826 +#
827 +CONFIG_RTC_LIB=y
828 +# CONFIG_RTC_CLASS is not set
829 +
830 +#
831 +# File systems
832 +#
833 +CONFIG_EXT2_FS=y
834 +# CONFIG_EXT2_FS_XATTR is not set
835 +# CONFIG_EXT2_FS_XIP is not set
836 +# CONFIG_EXT3_FS is not set
837 +# CONFIG_EXT4DEV_FS is not set
838 +# CONFIG_REISERFS_FS is not set
839 +# CONFIG_JFS_FS is not set
840 +# CONFIG_FS_POSIX_ACL is not set
841 +# CONFIG_XFS_FS is not set
842 +# CONFIG_GFS2_FS is not set
843 +# CONFIG_OCFS2_FS is not set
844 +# CONFIG_MINIX_FS is not set
845 +# CONFIG_ROMFS_FS is not set
846 +CONFIG_INOTIFY=y
847 +CONFIG_INOTIFY_USER=y
848 +# CONFIG_QUOTA is not set
849 +CONFIG_DNOTIFY=y
850 +# CONFIG_AUTOFS_FS is not set
851 +# CONFIG_AUTOFS4_FS is not set
852 +# CONFIG_FUSE_FS is not set
853 +
854 +#
855 +# CD-ROM/DVD Filesystems
856 +#
857 +# CONFIG_ISO9660_FS is not set
858 +# CONFIG_UDF_FS is not set
859 +
860 +#
861 +# DOS/FAT/NT Filesystems
862 +#
863 +CONFIG_FAT_FS=y
864 +# CONFIG_MSDOS_FS is not set
865 +CONFIG_VFAT_FS=y
866 +CONFIG_FAT_DEFAULT_CODEPAGE=437
867 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
868 +# CONFIG_NTFS_FS is not set
869 +
870 +#
871 +# Pseudo filesystems
872 +#
873 +CONFIG_PROC_FS=y
874 +CONFIG_PROC_SYSCTL=y
875 +CONFIG_SYSFS=y
876 +CONFIG_TMPFS=y
877 +# CONFIG_TMPFS_POSIX_ACL is not set
878 +# CONFIG_HUGETLB_PAGE is not set
879 +CONFIG_RAMFS=y
880 +# CONFIG_CONFIGFS_FS is not set
881 +
882 +#
883 +# Miscellaneous filesystems
884 +#
885 +# CONFIG_ADFS_FS is not set
886 +# CONFIG_AFFS_FS is not set
887 +# CONFIG_HFS_FS is not set
888 +# CONFIG_HFSPLUS_FS is not set
889 +# CONFIG_BEFS_FS is not set
890 +# CONFIG_BFS_FS is not set
891 +# CONFIG_EFS_FS is not set
892 +CONFIG_CRAMFS=y
893 +# CONFIG_VXFS_FS is not set
894 +# CONFIG_HPFS_FS is not set
895 +# CONFIG_QNX4FS_FS is not set
896 +# CONFIG_SYSV_FS is not set
897 +# CONFIG_UFS_FS is not set
898 +
899 +#
900 +# Network File Systems
901 +#
902 +# CONFIG_NFS_FS is not set
903 +# CONFIG_NFSD is not set
904 +# CONFIG_SMB_FS is not set
905 +# CONFIG_CIFS is not set
906 +# CONFIG_NCP_FS is not set
907 +# CONFIG_CODA_FS is not set
908 +# CONFIG_AFS_FS is not set
909 +# CONFIG_9P_FS is not set
910 +
911 +#
912 +# Partition Types
913 +#
914 +# CONFIG_PARTITION_ADVANCED is not set
915 +CONFIG_MSDOS_PARTITION=y
916 +
917 +#
918 +# Native Language Support
919 +#
920 +CONFIG_NLS=y
921 +CONFIG_NLS_DEFAULT="iso8859-1"
922 +CONFIG_NLS_CODEPAGE_437=y
923 +# CONFIG_NLS_CODEPAGE_737 is not set
924 +# CONFIG_NLS_CODEPAGE_775 is not set
925 +CONFIG_NLS_CODEPAGE_850=y
926 +# CONFIG_NLS_CODEPAGE_852 is not set
927 +# CONFIG_NLS_CODEPAGE_855 is not set
928 +# CONFIG_NLS_CODEPAGE_857 is not set
929 +# CONFIG_NLS_CODEPAGE_860 is not set
930 +# CONFIG_NLS_CODEPAGE_861 is not set
931 +# CONFIG_NLS_CODEPAGE_862 is not set
932 +# CONFIG_NLS_CODEPAGE_863 is not set
933 +# CONFIG_NLS_CODEPAGE_864 is not set
934 +# CONFIG_NLS_CODEPAGE_865 is not set
935 +# CONFIG_NLS_CODEPAGE_866 is not set
936 +# CONFIG_NLS_CODEPAGE_869 is not set
937 +# CONFIG_NLS_CODEPAGE_936 is not set
938 +# CONFIG_NLS_CODEPAGE_950 is not set
939 +# CONFIG_NLS_CODEPAGE_932 is not set
940 +# CONFIG_NLS_CODEPAGE_949 is not set
941 +# CONFIG_NLS_CODEPAGE_874 is not set
942 +# CONFIG_NLS_ISO8859_8 is not set
943 +# CONFIG_NLS_CODEPAGE_1250 is not set
944 +# CONFIG_NLS_CODEPAGE_1251 is not set
945 +# CONFIG_NLS_ASCII is not set
946 +CONFIG_NLS_ISO8859_1=y
947 +# CONFIG_NLS_ISO8859_2 is not set
948 +# CONFIG_NLS_ISO8859_3 is not set
949 +# CONFIG_NLS_ISO8859_4 is not set
950 +# CONFIG_NLS_ISO8859_5 is not set
951 +# CONFIG_NLS_ISO8859_6 is not set
952 +# CONFIG_NLS_ISO8859_7 is not set
953 +# CONFIG_NLS_ISO8859_9 is not set
954 +# CONFIG_NLS_ISO8859_13 is not set
955 +# CONFIG_NLS_ISO8859_14 is not set
956 +# CONFIG_NLS_ISO8859_15 is not set
957 +# CONFIG_NLS_KOI8_R is not set
958 +# CONFIG_NLS_KOI8_U is not set
959 +# CONFIG_NLS_UTF8 is not set
960 +
961 +#
962 +# Profiling support
963 +#
964 +# CONFIG_PROFILING is not set
965 +
966 +#
967 +# Kernel hacking
968 +#
969 +# CONFIG_PRINTK_TIME is not set
970 +CONFIG_ENABLE_MUST_CHECK=y
971 +# CONFIG_MAGIC_SYSRQ is not set
972 +# CONFIG_UNUSED_SYMBOLS is not set
973 +CONFIG_DEBUG_KERNEL=y
974 +CONFIG_LOG_BUF_SHIFT=14
975 +CONFIG_DETECT_SOFTLOCKUP=y
976 +# CONFIG_SCHEDSTATS is not set
977 +# CONFIG_DEBUG_SLAB is not set
978 +# CONFIG_DEBUG_RT_MUTEXES is not set
979 +# CONFIG_RT_MUTEX_TESTER is not set
980 +# CONFIG_DEBUG_SPINLOCK is not set
981 +# CONFIG_DEBUG_MUTEXES is not set
982 +# CONFIG_DEBUG_RWSEMS is not set
983 +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
984 +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
985 +# CONFIG_DEBUG_KOBJECT is not set
986 +CONFIG_DEBUG_BUGVERBOSE=y
987 +# CONFIG_DEBUG_INFO is not set
988 +# CONFIG_DEBUG_FS is not set
989 +# CONFIG_DEBUG_VM is not set
990 +# CONFIG_DEBUG_LIST is not set
991 +CONFIG_FRAME_POINTER=y
992 +CONFIG_FORCED_INLINING=y
993 +# CONFIG_HEADERS_CHECK is not set
994 +# CONFIG_RCU_TORTURE_TEST is not set
995 +CONFIG_DEBUG_USER=y
996 +# CONFIG_DEBUG_WAITQ is not set
997 +# CONFIG_DEBUG_ERRORS is not set
998 +CONFIG_DEBUG_LL=y
999 +# CONFIG_DEBUG_ICEDCC is not set
1000 +
1001 +#
1002 +# Security options
1003 +#
1004 +# CONFIG_KEYS is not set
1005 +# CONFIG_SECURITY is not set
1006 +
1007 +#
1008 +# Cryptographic options
1009 +#
1010 +# CONFIG_CRYPTO is not set
1011 +
1012 +#
1013 +# Library routines
1014 +#
1015 +# CONFIG_CRC_CCITT is not set
1016 +# CONFIG_CRC16 is not set
1017 +CONFIG_CRC32=y
1018 +# CONFIG_LIBCRC32C is not set
1019 +CONFIG_ZLIB_INFLATE=y
1020 +CONFIG_PLIST=y
1021 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/at91sam9261ek_defconfig linux-2.6.19/arch/arm/configs/at91sam9261ek_defconfig
1022 --- linux-2.6.19-final/arch/arm/configs/at91sam9261ek_defconfig Thu Jan 1 02:00:00 1970
1023 +++ linux-2.6.19/arch/arm/configs/at91sam9261ek_defconfig Mon Nov 20 10:51:08 2006
1024 @@ -0,0 +1,1106 @@
1025 +#
1026 +# Automatically generated make config: don't edit
1027 +# Linux kernel version: 2.6.19-rc6
1028 +# Fri Nov 17 18:00:38 2006
1029 +#
1030 +CONFIG_ARM=y
1031 +# CONFIG_GENERIC_TIME is not set
1032 +CONFIG_MMU=y
1033 +CONFIG_GENERIC_HARDIRQS=y
1034 +CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1035 +CONFIG_HARDIRQS_SW_RESEND=y
1036 +CONFIG_GENERIC_IRQ_PROBE=y
1037 +CONFIG_RWSEM_GENERIC_SPINLOCK=y
1038 +CONFIG_GENERIC_HWEIGHT=y
1039 +CONFIG_GENERIC_CALIBRATE_DELAY=y
1040 +CONFIG_VECTORS_BASE=0xffff0000
1041 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
1042 +
1043 +#
1044 +# Code maturity level options
1045 +#
1046 +CONFIG_EXPERIMENTAL=y
1047 +CONFIG_BROKEN_ON_SMP=y
1048 +CONFIG_INIT_ENV_ARG_LIMIT=32
1049 +
1050 +#
1051 +# General setup
1052 +#
1053 +CONFIG_LOCALVERSION=""
1054 +# CONFIG_LOCALVERSION_AUTO is not set
1055 +# CONFIG_SWAP is not set
1056 +CONFIG_SYSVIPC=y
1057 +# CONFIG_IPC_NS is not set
1058 +# CONFIG_POSIX_MQUEUE is not set
1059 +# CONFIG_BSD_PROCESS_ACCT is not set
1060 +# CONFIG_TASKSTATS is not set
1061 +# CONFIG_UTS_NS is not set
1062 +# CONFIG_AUDIT is not set
1063 +# CONFIG_IKCONFIG is not set
1064 +# CONFIG_RELAY is not set
1065 +CONFIG_INITRAMFS_SOURCE=""
1066 +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
1067 +CONFIG_SYSCTL=y
1068 +# CONFIG_EMBEDDED is not set
1069 +CONFIG_UID16=y
1070 +CONFIG_SYSCTL_SYSCALL=y
1071 +CONFIG_KALLSYMS=y
1072 +# CONFIG_KALLSYMS_ALL is not set
1073 +# CONFIG_KALLSYMS_EXTRA_PASS is not set
1074 +CONFIG_HOTPLUG=y
1075 +CONFIG_PRINTK=y
1076 +CONFIG_BUG=y
1077 +CONFIG_ELF_CORE=y
1078 +CONFIG_BASE_FULL=y
1079 +CONFIG_FUTEX=y
1080 +CONFIG_EPOLL=y
1081 +CONFIG_SHMEM=y
1082 +CONFIG_SLAB=y
1083 +CONFIG_VM_EVENT_COUNTERS=y
1084 +CONFIG_RT_MUTEXES=y
1085 +# CONFIG_TINY_SHMEM is not set
1086 +CONFIG_BASE_SMALL=0
1087 +# CONFIG_SLOB is not set
1088 +
1089 +#
1090 +# Loadable module support
1091 +#
1092 +CONFIG_MODULES=y
1093 +CONFIG_MODULE_UNLOAD=y
1094 +# CONFIG_MODULE_FORCE_UNLOAD is not set
1095 +# CONFIG_MODVERSIONS is not set
1096 +# CONFIG_MODULE_SRCVERSION_ALL is not set
1097 +CONFIG_KMOD=y
1098 +
1099 +#
1100 +# Block layer
1101 +#
1102 +CONFIG_BLOCK=y
1103 +# CONFIG_BLK_DEV_IO_TRACE is not set
1104 +
1105 +#
1106 +# IO Schedulers
1107 +#
1108 +CONFIG_IOSCHED_NOOP=y
1109 +CONFIG_IOSCHED_AS=y
1110 +# CONFIG_IOSCHED_DEADLINE is not set
1111 +# CONFIG_IOSCHED_CFQ is not set
1112 +CONFIG_DEFAULT_AS=y
1113 +# CONFIG_DEFAULT_DEADLINE is not set
1114 +# CONFIG_DEFAULT_CFQ is not set
1115 +# CONFIG_DEFAULT_NOOP is not set
1116 +CONFIG_DEFAULT_IOSCHED="anticipatory"
1117 +
1118 +#
1119 +# System Type
1120 +#
1121 +# CONFIG_ARCH_AAEC2000 is not set
1122 +# CONFIG_ARCH_INTEGRATOR is not set
1123 +# CONFIG_ARCH_REALVIEW is not set
1124 +# CONFIG_ARCH_VERSATILE is not set
1125 +CONFIG_ARCH_AT91=y
1126 +# CONFIG_ARCH_CLPS7500 is not set
1127 +# CONFIG_ARCH_CLPS711X is not set
1128 +# CONFIG_ARCH_CO285 is not set
1129 +# CONFIG_ARCH_EBSA110 is not set
1130 +# CONFIG_ARCH_EP93XX is not set
1131 +# CONFIG_ARCH_FOOTBRIDGE is not set
1132 +# CONFIG_ARCH_NETX is not set
1133 +# CONFIG_ARCH_H720X is not set
1134 +# CONFIG_ARCH_IMX is not set
1135 +# CONFIG_ARCH_IOP32X is not set
1136 +# CONFIG_ARCH_IOP33X is not set
1137 +# CONFIG_ARCH_IXP4XX is not set
1138 +# CONFIG_ARCH_IXP2000 is not set
1139 +# CONFIG_ARCH_IXP23XX is not set
1140 +# CONFIG_ARCH_L7200 is not set
1141 +# CONFIG_ARCH_PNX4008 is not set
1142 +# CONFIG_ARCH_PXA is not set
1143 +# CONFIG_ARCH_RPC is not set
1144 +# CONFIG_ARCH_SA1100 is not set
1145 +# CONFIG_ARCH_S3C2410 is not set
1146 +# CONFIG_ARCH_SHARK is not set
1147 +# CONFIG_ARCH_LH7A40X is not set
1148 +# CONFIG_ARCH_OMAP is not set
1149 +
1150 +#
1151 +# Atmel AT91 System-on-Chip
1152 +#
1153 +# CONFIG_ARCH_AT91RM9200 is not set
1154 +# CONFIG_ARCH_AT91SAM9260 is not set
1155 +CONFIG_ARCH_AT91SAM9261=y
1156 +
1157 +#
1158 +# AT91SAM9261 Board Type
1159 +#
1160 +CONFIG_MACH_AT91SAM9261EK=y
1161 +
1162 +#
1163 +# AT91 Board Options
1164 +#
1165 +# CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set
1166 +
1167 +#
1168 +# AT91 Feature Selections
1169 +#
1170 +# CONFIG_AT91_PROGRAMMABLE_CLOCKS is not set
1171 +
1172 +#
1173 +# Processor Type
1174 +#
1175 +CONFIG_CPU_32=y
1176 +CONFIG_CPU_ARM926T=y
1177 +CONFIG_CPU_32v5=y
1178 +CONFIG_CPU_ABRT_EV5TJ=y
1179 +CONFIG_CPU_CACHE_VIVT=y
1180 +CONFIG_CPU_COPY_V4WB=y
1181 +CONFIG_CPU_TLB_V4WBI=y
1182 +CONFIG_CPU_CP15=y
1183 +CONFIG_CPU_CP15_MMU=y
1184 +
1185 +#
1186 +# Processor Features
1187 +#
1188 +# CONFIG_ARM_THUMB is not set
1189 +# CONFIG_CPU_ICACHE_DISABLE is not set
1190 +# CONFIG_CPU_DCACHE_DISABLE is not set
1191 +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
1192 +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
1193 +
1194 +#
1195 +# Bus support
1196 +#
1197 +
1198 +#
1199 +# PCCARD (PCMCIA/CardBus) support
1200 +#
1201 +# CONFIG_PCCARD is not set
1202 +
1203 +#
1204 +# Kernel Features
1205 +#
1206 +# CONFIG_PREEMPT is not set
1207 +# CONFIG_NO_IDLE_HZ is not set
1208 +CONFIG_HZ=100
1209 +# CONFIG_AEABI is not set
1210 +# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
1211 +CONFIG_SELECT_MEMORY_MODEL=y
1212 +CONFIG_FLATMEM_MANUAL=y
1213 +# CONFIG_DISCONTIGMEM_MANUAL is not set
1214 +# CONFIG_SPARSEMEM_MANUAL is not set
1215 +CONFIG_FLATMEM=y
1216 +CONFIG_FLAT_NODE_MEM_MAP=y
1217 +# CONFIG_SPARSEMEM_STATIC is not set
1218 +CONFIG_SPLIT_PTLOCK_CPUS=4096
1219 +# CONFIG_RESOURCES_64BIT is not set
1220 +# CONFIG_LEDS is not set
1221 +CONFIG_ALIGNMENT_TRAP=y
1222 +
1223 +#
1224 +# Boot options
1225 +#
1226 +CONFIG_ZBOOT_ROM_TEXT=0x0
1227 +CONFIG_ZBOOT_ROM_BSS=0x0
1228 +CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw"
1229 +# CONFIG_XIP_KERNEL is not set
1230 +
1231 +#
1232 +# Floating point emulation
1233 +#
1234 +
1235 +#
1236 +# At least one emulation must be selected
1237 +#
1238 +CONFIG_FPE_NWFPE=y
1239 +# CONFIG_FPE_NWFPE_XP is not set
1240 +# CONFIG_FPE_FASTFPE is not set
1241 +# CONFIG_VFP is not set
1242 +
1243 +#
1244 +# Userspace binary formats
1245 +#
1246 +CONFIG_BINFMT_ELF=y
1247 +# CONFIG_BINFMT_AOUT is not set
1248 +# CONFIG_BINFMT_MISC is not set
1249 +# CONFIG_ARTHUR is not set
1250 +
1251 +#
1252 +# Power management options
1253 +#
1254 +# CONFIG_PM is not set
1255 +# CONFIG_APM is not set
1256 +
1257 +#
1258 +# Networking
1259 +#
1260 +CONFIG_NET=y
1261 +
1262 +#
1263 +# Networking options
1264 +#
1265 +# CONFIG_NETDEBUG is not set
1266 +CONFIG_PACKET=y
1267 +# CONFIG_PACKET_MMAP is not set
1268 +CONFIG_UNIX=y
1269 +CONFIG_XFRM=y
1270 +# CONFIG_XFRM_USER is not set
1271 +# CONFIG_XFRM_SUB_POLICY is not set
1272 +# CONFIG_NET_KEY is not set
1273 +CONFIG_INET=y
1274 +# CONFIG_IP_MULTICAST is not set
1275 +# CONFIG_IP_ADVANCED_ROUTER is not set
1276 +CONFIG_IP_FIB_HASH=y
1277 +CONFIG_IP_PNP=y
1278 +# CONFIG_IP_PNP_DHCP is not set
1279 +CONFIG_IP_PNP_BOOTP=y
1280 +# CONFIG_IP_PNP_RARP is not set
1281 +# CONFIG_NET_IPIP is not set
1282 +# CONFIG_NET_IPGRE is not set
1283 +# CONFIG_ARPD is not set
1284 +# CONFIG_SYN_COOKIES is not set
1285 +# CONFIG_INET_AH is not set
1286 +# CONFIG_INET_ESP is not set
1287 +# CONFIG_INET_IPCOMP is not set
1288 +# CONFIG_INET_XFRM_TUNNEL is not set
1289 +# CONFIG_INET_TUNNEL is not set
1290 +CONFIG_INET_XFRM_MODE_TRANSPORT=y
1291 +CONFIG_INET_XFRM_MODE_TUNNEL=y
1292 +CONFIG_INET_XFRM_MODE_BEET=y
1293 +CONFIG_INET_DIAG=y
1294 +CONFIG_INET_TCP_DIAG=y
1295 +# CONFIG_TCP_CONG_ADVANCED is not set
1296 +CONFIG_TCP_CONG_CUBIC=y
1297 +CONFIG_DEFAULT_TCP_CONG="cubic"
1298 +# CONFIG_IPV6 is not set
1299 +# CONFIG_INET6_XFRM_TUNNEL is not set
1300 +# CONFIG_INET6_TUNNEL is not set
1301 +# CONFIG_NETWORK_SECMARK is not set
1302 +# CONFIG_NETFILTER is not set
1303 +
1304 +#
1305 +# DCCP Configuration (EXPERIMENTAL)
1306 +#
1307 +# CONFIG_IP_DCCP is not set
1308 +
1309 +#
1310 +# SCTP Configuration (EXPERIMENTAL)
1311 +#
1312 +# CONFIG_IP_SCTP is not set
1313 +
1314 +#
1315 +# TIPC Configuration (EXPERIMENTAL)
1316 +#
1317 +# CONFIG_TIPC is not set
1318 +# CONFIG_ATM is not set
1319 +# CONFIG_BRIDGE is not set
1320 +# CONFIG_VLAN_8021Q is not set
1321 +# CONFIG_DECNET is not set
1322 +# CONFIG_LLC2 is not set
1323 +# CONFIG_IPX is not set
1324 +# CONFIG_ATALK is not set
1325 +# CONFIG_X25 is not set
1326 +# CONFIG_LAPB is not set
1327 +# CONFIG_ECONET is not set
1328 +# CONFIG_WAN_ROUTER is not set
1329 +
1330 +#
1331 +# QoS and/or fair queueing
1332 +#
1333 +# CONFIG_NET_SCHED is not set
1334 +
1335 +#
1336 +# Network testing
1337 +#
1338 +# CONFIG_NET_PKTGEN is not set
1339 +# CONFIG_HAMRADIO is not set
1340 +# CONFIG_IRDA is not set
1341 +# CONFIG_BT is not set
1342 +# CONFIG_IEEE80211 is not set
1343 +
1344 +#
1345 +# Device Drivers
1346 +#
1347 +
1348 +#
1349 +# Generic Driver Options
1350 +#
1351 +CONFIG_STANDALONE=y
1352 +CONFIG_PREVENT_FIRMWARE_BUILD=y
1353 +# CONFIG_FW_LOADER is not set
1354 +# CONFIG_DEBUG_DRIVER is not set
1355 +# CONFIG_SYS_HYPERVISOR is not set
1356 +
1357 +#
1358 +# Connector - unified userspace <-> kernelspace linker
1359 +#
1360 +# CONFIG_CONNECTOR is not set
1361 +
1362 +#
1363 +# Memory Technology Devices (MTD)
1364 +#
1365 +CONFIG_MTD=y
1366 +# CONFIG_MTD_DEBUG is not set
1367 +# CONFIG_MTD_CONCAT is not set
1368 +CONFIG_MTD_PARTITIONS=y
1369 +# CONFIG_MTD_REDBOOT_PARTS is not set
1370 +CONFIG_MTD_CMDLINE_PARTS=y
1371 +# CONFIG_MTD_AFS_PARTS is not set
1372 +
1373 +#
1374 +# User Modules And Translation Layers
1375 +#
1376 +# CONFIG_MTD_CHAR is not set
1377 +CONFIG_MTD_BLOCK=y
1378 +# CONFIG_FTL is not set
1379 +# CONFIG_NFTL is not set
1380 +# CONFIG_INFTL is not set
1381 +# CONFIG_RFD_FTL is not set
1382 +# CONFIG_SSFDC is not set
1383 +
1384 +#
1385 +# RAM/ROM/Flash chip drivers
1386 +#
1387 +# CONFIG_MTD_CFI is not set
1388 +# CONFIG_MTD_JEDECPROBE is not set
1389 +CONFIG_MTD_MAP_BANK_WIDTH_1=y
1390 +CONFIG_MTD_MAP_BANK_WIDTH_2=y
1391 +CONFIG_MTD_MAP_BANK_WIDTH_4=y
1392 +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
1393 +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
1394 +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
1395 +CONFIG_MTD_CFI_I1=y
1396 +CONFIG_MTD_CFI_I2=y
1397 +# CONFIG_MTD_CFI_I4 is not set
1398 +# CONFIG_MTD_CFI_I8 is not set
1399 +# CONFIG_MTD_RAM is not set
1400 +# CONFIG_MTD_ROM is not set
1401 +# CONFIG_MTD_ABSENT is not set
1402 +# CONFIG_MTD_OBSOLETE_CHIPS is not set
1403 +
1404 +#
1405 +# Mapping drivers for chip access
1406 +#
1407 +# CONFIG_MTD_COMPLEX_MAPPINGS is not set
1408 +# CONFIG_MTD_PLATRAM is not set
1409 +
1410 +#
1411 +# Self-contained MTD device drivers
1412 +#
1413 +# CONFIG_MTD_SLRAM is not set
1414 +# CONFIG_MTD_PHRAM is not set
1415 +# CONFIG_MTD_MTDRAM is not set
1416 +# CONFIG_MTD_BLOCK2MTD is not set
1417 +
1418 +#
1419 +# Disk-On-Chip Device Drivers
1420 +#
1421 +# CONFIG_MTD_DOC2000 is not set
1422 +# CONFIG_MTD_DOC2001 is not set
1423 +# CONFIG_MTD_DOC2001PLUS is not set
1424 +
1425 +#
1426 +# NAND Flash Device Drivers
1427 +#
1428 +CONFIG_MTD_NAND=y
1429 +# CONFIG_MTD_NAND_VERIFY_WRITE is not set
1430 +# CONFIG_MTD_NAND_ECC_SMC is not set
1431 +CONFIG_MTD_NAND_IDS=y
1432 +# CONFIG_MTD_NAND_DISKONCHIP is not set
1433 +CONFIG_MTD_NAND_AT91=y
1434 +# CONFIG_MTD_NAND_NANDSIM is not set
1435 +
1436 +#
1437 +# OneNAND Flash Device Drivers
1438 +#
1439 +# CONFIG_MTD_ONENAND is not set
1440 +
1441 +#
1442 +# Parallel port support
1443 +#
1444 +# CONFIG_PARPORT is not set
1445 +
1446 +#
1447 +# Plug and Play support
1448 +#
1449 +
1450 +#
1451 +# Block devices
1452 +#
1453 +# CONFIG_BLK_DEV_COW_COMMON is not set
1454 +# CONFIG_BLK_DEV_LOOP is not set
1455 +# CONFIG_BLK_DEV_NBD is not set
1456 +# CONFIG_BLK_DEV_UB is not set
1457 +CONFIG_BLK_DEV_RAM=y
1458 +CONFIG_BLK_DEV_RAM_COUNT=16
1459 +CONFIG_BLK_DEV_RAM_SIZE=8192
1460 +CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
1461 +CONFIG_BLK_DEV_INITRD=y
1462 +# CONFIG_CDROM_PKTCDVD is not set
1463 +# CONFIG_ATA_OVER_ETH is not set
1464 +
1465 +#
1466 +# SCSI device support
1467 +#
1468 +# CONFIG_RAID_ATTRS is not set
1469 +CONFIG_SCSI=y
1470 +# CONFIG_SCSI_NETLINK is not set
1471 +CONFIG_SCSI_PROC_FS=y
1472 +
1473 +#
1474 +# SCSI support type (disk, tape, CD-ROM)
1475 +#
1476 +CONFIG_BLK_DEV_SD=y
1477 +# CONFIG_CHR_DEV_ST is not set
1478 +# CONFIG_CHR_DEV_OSST is not set
1479 +# CONFIG_BLK_DEV_SR is not set
1480 +# CONFIG_CHR_DEV_SG is not set
1481 +# CONFIG_CHR_DEV_SCH is not set
1482 +
1483 +#
1484 +# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
1485 +#
1486 +CONFIG_SCSI_MULTI_LUN=y
1487 +# CONFIG_SCSI_CONSTANTS is not set
1488 +# CONFIG_SCSI_LOGGING is not set
1489 +
1490 +#
1491 +# SCSI Transports
1492 +#
1493 +# CONFIG_SCSI_SPI_ATTRS is not set
1494 +# CONFIG_SCSI_FC_ATTRS is not set
1495 +# CONFIG_SCSI_ISCSI_ATTRS is not set
1496 +# CONFIG_SCSI_SAS_ATTRS is not set
1497 +# CONFIG_SCSI_SAS_LIBSAS is not set
1498 +
1499 +#
1500 +# SCSI low-level drivers
1501 +#
1502 +# CONFIG_ISCSI_TCP is not set
1503 +# CONFIG_SCSI_DEBUG is not set
1504 +
1505 +#
1506 +# Multi-device support (RAID and LVM)
1507 +#
1508 +# CONFIG_MD is not set
1509 +
1510 +#
1511 +# Fusion MPT device support
1512 +#
1513 +# CONFIG_FUSION is not set
1514 +
1515 +#
1516 +# IEEE 1394 (FireWire) support
1517 +#
1518 +
1519 +#
1520 +# I2O device support
1521 +#
1522 +
1523 +#
1524 +# Network device support
1525 +#
1526 +CONFIG_NETDEVICES=y
1527 +# CONFIG_DUMMY is not set
1528 +# CONFIG_BONDING is not set
1529 +# CONFIG_EQUALIZER is not set
1530 +# CONFIG_TUN is not set
1531 +
1532 +#
1533 +# PHY device support
1534 +#
1535 +# CONFIG_PHYLIB is not set
1536 +
1537 +#
1538 +# Ethernet (10 or 100Mbit)
1539 +#
1540 +CONFIG_NET_ETHERNET=y
1541 +CONFIG_MII=y
1542 +# CONFIG_SMC91X is not set
1543 +CONFIG_DM9000=y
1544 +
1545 +#
1546 +# Ethernet (1000 Mbit)
1547 +#
1548 +
1549 +#
1550 +# Ethernet (10000 Mbit)
1551 +#
1552 +
1553 +#
1554 +# Token Ring devices
1555 +#
1556 +
1557 +#
1558 +# Wireless LAN (non-hamradio)
1559 +#
1560 +# CONFIG_NET_RADIO is not set
1561 +
1562 +#
1563 +# Wan interfaces
1564 +#
1565 +# CONFIG_WAN is not set
1566 +# CONFIG_PPP is not set
1567 +# CONFIG_SLIP is not set
1568 +# CONFIG_SHAPER is not set
1569 +# CONFIG_NETCONSOLE is not set
1570 +# CONFIG_NETPOLL is not set
1571 +# CONFIG_NET_POLL_CONTROLLER is not set
1572 +
1573 +#
1574 +# ISDN subsystem
1575 +#
1576 +# CONFIG_ISDN is not set
1577 +
1578 +#
1579 +# Input device support
1580 +#
1581 +CONFIG_INPUT=y
1582 +# CONFIG_INPUT_FF_MEMLESS is not set
1583 +
1584 +#
1585 +# Userland interfaces
1586 +#
1587 +CONFIG_INPUT_MOUSEDEV=y
1588 +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
1589 +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
1590 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
1591 +# CONFIG_INPUT_JOYDEV is not set
1592 +# CONFIG_INPUT_TSDEV is not set
1593 +# CONFIG_INPUT_EVDEV is not set
1594 +# CONFIG_INPUT_EVBUG is not set
1595 +
1596 +#
1597 +# Input Device Drivers
1598 +#
1599 +# CONFIG_INPUT_KEYBOARD is not set
1600 +# CONFIG_INPUT_MOUSE is not set
1601 +# CONFIG_INPUT_JOYSTICK is not set
1602 +# CONFIG_INPUT_TOUCHSCREEN is not set
1603 +# CONFIG_INPUT_MISC is not set
1604 +
1605 +#
1606 +# Hardware I/O ports
1607 +#
1608 +# CONFIG_SERIO is not set
1609 +# CONFIG_GAMEPORT is not set
1610 +
1611 +#
1612 +# Character devices
1613 +#
1614 +CONFIG_VT=y
1615 +CONFIG_VT_CONSOLE=y
1616 +CONFIG_HW_CONSOLE=y
1617 +# CONFIG_VT_HW_CONSOLE_BINDING is not set
1618 +# CONFIG_SERIAL_NONSTANDARD is not set
1619 +
1620 +#
1621 +# Serial drivers
1622 +#
1623 +# CONFIG_SERIAL_8250 is not set
1624 +
1625 +#
1626 +# Non-8250 serial port support
1627 +#
1628 +CONFIG_SERIAL_ATMEL=y
1629 +CONFIG_SERIAL_ATMEL_CONSOLE=y
1630 +# CONFIG_SERIAL_ATMEL_TTYAT is not set
1631 +CONFIG_SERIAL_CORE=y
1632 +CONFIG_SERIAL_CORE_CONSOLE=y
1633 +CONFIG_UNIX98_PTYS=y
1634 +CONFIG_LEGACY_PTYS=y
1635 +CONFIG_LEGACY_PTY_COUNT=256
1636 +
1637 +#
1638 +# IPMI
1639 +#
1640 +# CONFIG_IPMI_HANDLER is not set
1641 +
1642 +#
1643 +# Watchdog Cards
1644 +#
1645 +CONFIG_WATCHDOG=y
1646 +CONFIG_WATCHDOG_NOWAYOUT=y
1647 +
1648 +#
1649 +# Watchdog Device Drivers
1650 +#
1651 +# CONFIG_SOFT_WATCHDOG is not set
1652 +
1653 +#
1654 +# USB-based Watchdog Cards
1655 +#
1656 +# CONFIG_USBPCWATCHDOG is not set
1657 +CONFIG_HW_RANDOM=y
1658 +# CONFIG_NVRAM is not set
1659 +# CONFIG_DTLK is not set
1660 +# CONFIG_R3964 is not set
1661 +
1662 +#
1663 +# Ftape, the floppy tape device driver
1664 +#
1665 +# CONFIG_RAW_DRIVER is not set
1666 +
1667 +#
1668 +# TPM devices
1669 +#
1670 +# CONFIG_TCG_TPM is not set
1671 +
1672 +#
1673 +# I2C support
1674 +#
1675 +CONFIG_I2C=y
1676 +CONFIG_I2C_CHARDEV=y
1677 +
1678 +#
1679 +# I2C Algorithms
1680 +#
1681 +# CONFIG_I2C_ALGOBIT is not set
1682 +# CONFIG_I2C_ALGOPCF is not set
1683 +# CONFIG_I2C_ALGOPCA is not set
1684 +
1685 +#
1686 +# I2C Hardware Bus support
1687 +#
1688 +CONFIG_I2C_AT91=y
1689 +# CONFIG_I2C_OCORES is not set
1690 +# CONFIG_I2C_PARPORT_LIGHT is not set
1691 +# CONFIG_I2C_STUB is not set
1692 +# CONFIG_I2C_PCA is not set
1693 +# CONFIG_I2C_PCA_ISA is not set
1694 +
1695 +#
1696 +# Miscellaneous I2C Chip support
1697 +#
1698 +# CONFIG_SENSORS_DS1337 is not set
1699 +# CONFIG_SENSORS_DS1374 is not set
1700 +# CONFIG_SENSORS_EEPROM is not set
1701 +# CONFIG_SENSORS_PCF8574 is not set
1702 +# CONFIG_SENSORS_PCA9539 is not set
1703 +# CONFIG_SENSORS_PCF8591 is not set
1704 +# CONFIG_SENSORS_MAX6875 is not set
1705 +# CONFIG_I2C_DEBUG_CORE is not set
1706 +# CONFIG_I2C_DEBUG_ALGO is not set
1707 +# CONFIG_I2C_DEBUG_BUS is not set
1708 +# CONFIG_I2C_DEBUG_CHIP is not set
1709 +
1710 +#
1711 +# SPI support
1712 +#
1713 +# CONFIG_SPI is not set
1714 +# CONFIG_SPI_MASTER is not set
1715 +
1716 +#
1717 +# Dallas's 1-wire bus
1718 +#
1719 +# CONFIG_W1 is not set
1720 +
1721 +#
1722 +# Hardware Monitoring support
1723 +#
1724 +# CONFIG_HWMON is not set
1725 +# CONFIG_HWMON_VID is not set
1726 +
1727 +#
1728 +# Misc devices
1729 +#
1730 +# CONFIG_TIFM_CORE is not set
1731 +
1732 +#
1733 +# LED devices
1734 +#
1735 +# CONFIG_NEW_LEDS is not set
1736 +
1737 +#
1738 +# LED drivers
1739 +#
1740 +
1741 +#
1742 +# LED Triggers
1743 +#
1744 +
1745 +#
1746 +# Multimedia devices
1747 +#
1748 +# CONFIG_VIDEO_DEV is not set
1749 +
1750 +#
1751 +# Digital Video Broadcasting Devices
1752 +#
1753 +# CONFIG_DVB is not set
1754 +# CONFIG_USB_DABUSB is not set
1755 +
1756 +#
1757 +# Graphics support
1758 +#
1759 +# CONFIG_FIRMWARE_EDID is not set
1760 +# CONFIG_FB is not set
1761 +
1762 +#
1763 +# Console display driver support
1764 +#
1765 +# CONFIG_VGA_CONSOLE is not set
1766 +CONFIG_DUMMY_CONSOLE=y
1767 +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1768 +
1769 +#
1770 +# Sound
1771 +#
1772 +# CONFIG_SOUND is not set
1773 +
1774 +#
1775 +# USB support
1776 +#
1777 +CONFIG_USB_ARCH_HAS_HCD=y
1778 +CONFIG_USB_ARCH_HAS_OHCI=y
1779 +# CONFIG_USB_ARCH_HAS_EHCI is not set
1780 +CONFIG_USB=y
1781 +# CONFIG_USB_DEBUG is not set
1782 +
1783 +#
1784 +# Miscellaneous USB options
1785 +#
1786 +CONFIG_USB_DEVICEFS=y
1787 +# CONFIG_USB_BANDWIDTH is not set
1788 +# CONFIG_USB_DYNAMIC_MINORS is not set
1789 +# CONFIG_USB_OTG is not set
1790 +
1791 +#
1792 +# USB Host Controller Drivers
1793 +#
1794 +# CONFIG_USB_ISP116X_HCD is not set
1795 +CONFIG_USB_OHCI_HCD=y
1796 +# CONFIG_USB_OHCI_BIG_ENDIAN is not set
1797 +CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1798 +# CONFIG_USB_SL811_HCD is not set
1799 +
1800 +#
1801 +# USB Device Class drivers
1802 +#
1803 +# CONFIG_USB_ACM is not set
1804 +# CONFIG_USB_PRINTER is not set
1805 +
1806 +#
1807 +# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1808 +#
1809 +
1810 +#
1811 +# may also be needed; see USB_STORAGE Help for more information
1812 +#
1813 +CONFIG_USB_STORAGE=y
1814 +CONFIG_USB_STORAGE_DEBUG=y
1815 +# CONFIG_USB_STORAGE_DATAFAB is not set
1816 +# CONFIG_USB_STORAGE_FREECOM is not set
1817 +# CONFIG_USB_STORAGE_DPCM is not set
1818 +# CONFIG_USB_STORAGE_USBAT is not set
1819 +# CONFIG_USB_STORAGE_SDDR09 is not set
1820 +# CONFIG_USB_STORAGE_SDDR55 is not set
1821 +# CONFIG_USB_STORAGE_JUMPSHOT is not set
1822 +# CONFIG_USB_STORAGE_ALAUDA is not set
1823 +# CONFIG_USB_STORAGE_KARMA is not set
1824 +# CONFIG_USB_LIBUSUAL is not set
1825 +
1826 +#
1827 +# USB Input Devices
1828 +#
1829 +# CONFIG_USB_HID is not set
1830 +
1831 +#
1832 +# USB HID Boot Protocol drivers
1833 +#
1834 +# CONFIG_USB_KBD is not set
1835 +# CONFIG_USB_MOUSE is not set
1836 +# CONFIG_USB_AIPTEK is not set
1837 +# CONFIG_USB_WACOM is not set
1838 +# CONFIG_USB_ACECAD is not set
1839 +# CONFIG_USB_KBTAB is not set
1840 +# CONFIG_USB_POWERMATE is not set
1841 +# CONFIG_USB_TOUCHSCREEN is not set
1842 +# CONFIG_USB_YEALINK is not set
1843 +# CONFIG_USB_XPAD is not set
1844 +# CONFIG_USB_ATI_REMOTE is not set
1845 +# CONFIG_USB_ATI_REMOTE2 is not set
1846 +# CONFIG_USB_KEYSPAN_REMOTE is not set
1847 +# CONFIG_USB_APPLETOUCH is not set
1848 +
1849 +#
1850 +# USB Imaging devices
1851 +#
1852 +# CONFIG_USB_MDC800 is not set
1853 +# CONFIG_USB_MICROTEK is not set
1854 +
1855 +#
1856 +# USB Network Adapters
1857 +#
1858 +# CONFIG_USB_CATC is not set
1859 +# CONFIG_USB_KAWETH is not set
1860 +# CONFIG_USB_PEGASUS is not set
1861 +# CONFIG_USB_RTL8150 is not set
1862 +# CONFIG_USB_USBNET_MII is not set
1863 +# CONFIG_USB_USBNET is not set
1864 +CONFIG_USB_MON=y
1865 +
1866 +#
1867 +# USB port drivers
1868 +#
1869 +
1870 +#
1871 +# USB Serial Converter support
1872 +#
1873 +# CONFIG_USB_SERIAL is not set
1874 +
1875 +#
1876 +# USB Miscellaneous drivers
1877 +#
1878 +# CONFIG_USB_EMI62 is not set
1879 +# CONFIG_USB_EMI26 is not set
1880 +# CONFIG_USB_ADUTUX is not set
1881 +# CONFIG_USB_AUERSWALD is not set
1882 +# CONFIG_USB_RIO500 is not set
1883 +# CONFIG_USB_LEGOTOWER is not set
1884 +# CONFIG_USB_LCD is not set
1885 +# CONFIG_USB_LED is not set
1886 +# CONFIG_USB_CYPRESS_CY7C63 is not set
1887 +# CONFIG_USB_CYTHERM is not set
1888 +# CONFIG_USB_PHIDGET is not set
1889 +# CONFIG_USB_IDMOUSE is not set
1890 +# CONFIG_USB_FTDI_ELAN is not set
1891 +# CONFIG_USB_APPLEDISPLAY is not set
1892 +# CONFIG_USB_LD is not set
1893 +# CONFIG_USB_TRANCEVIBRATOR is not set
1894 +# CONFIG_USB_TEST is not set
1895 +
1896 +#
1897 +# USB DSL modem support
1898 +#
1899 +
1900 +#
1901 +# USB Gadget Support
1902 +#
1903 +CONFIG_USB_GADGET=y
1904 +# CONFIG_USB_GADGET_DEBUG_FILES is not set
1905 +CONFIG_USB_GADGET_SELECTED=y
1906 +# CONFIG_USB_GADGET_NET2280 is not set
1907 +# CONFIG_USB_GADGET_PXA2XX is not set
1908 +# CONFIG_USB_GADGET_GOKU is not set
1909 +# CONFIG_USB_GADGET_LH7A40X is not set
1910 +# CONFIG_USB_GADGET_OMAP is not set
1911 +CONFIG_USB_GADGET_AT91=y
1912 +CONFIG_USB_AT91=y
1913 +# CONFIG_USB_GADGET_DUMMY_HCD is not set
1914 +# CONFIG_USB_GADGET_DUALSPEED is not set
1915 +CONFIG_USB_ZERO=m
1916 +# CONFIG_USB_ETH is not set
1917 +CONFIG_USB_GADGETFS=m
1918 +CONFIG_USB_FILE_STORAGE=m
1919 +# CONFIG_USB_FILE_STORAGE_TEST is not set
1920 +CONFIG_USB_G_SERIAL=m
1921 +# CONFIG_USB_MIDI_GADGET is not set
1922 +
1923 +#
1924 +# MMC/SD Card support
1925 +#
1926 +CONFIG_MMC=y
1927 +# CONFIG_MMC_DEBUG is not set
1928 +CONFIG_MMC_BLOCK=y
1929 +CONFIG_MMC_AT91=m
1930 +# CONFIG_MMC_TIFM_SD is not set
1931 +
1932 +#
1933 +# Real Time Clock
1934 +#
1935 +CONFIG_RTC_LIB=y
1936 +# CONFIG_RTC_CLASS is not set
1937 +
1938 +#
1939 +# File systems
1940 +#
1941 +CONFIG_EXT2_FS=y
1942 +# CONFIG_EXT2_FS_XATTR is not set
1943 +# CONFIG_EXT2_FS_XIP is not set
1944 +# CONFIG_EXT3_FS is not set
1945 +# CONFIG_EXT4DEV_FS is not set
1946 +# CONFIG_REISERFS_FS is not set
1947 +# CONFIG_JFS_FS is not set
1948 +# CONFIG_FS_POSIX_ACL is not set
1949 +# CONFIG_XFS_FS is not set
1950 +# CONFIG_GFS2_FS is not set
1951 +# CONFIG_OCFS2_FS is not set
1952 +# CONFIG_MINIX_FS is not set
1953 +# CONFIG_ROMFS_FS is not set
1954 +CONFIG_INOTIFY=y
1955 +CONFIG_INOTIFY_USER=y
1956 +# CONFIG_QUOTA is not set
1957 +CONFIG_DNOTIFY=y
1958 +# CONFIG_AUTOFS_FS is not set
1959 +# CONFIG_AUTOFS4_FS is not set
1960 +# CONFIG_FUSE_FS is not set
1961 +
1962 +#
1963 +# CD-ROM/DVD Filesystems
1964 +#
1965 +# CONFIG_ISO9660_FS is not set
1966 +# CONFIG_UDF_FS is not set
1967 +
1968 +#
1969 +# DOS/FAT/NT Filesystems
1970 +#
1971 +CONFIG_FAT_FS=y
1972 +# CONFIG_MSDOS_FS is not set
1973 +CONFIG_VFAT_FS=y
1974 +CONFIG_FAT_DEFAULT_CODEPAGE=437
1975 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1976 +# CONFIG_NTFS_FS is not set
1977 +
1978 +#
1979 +# Pseudo filesystems
1980 +#
1981 +CONFIG_PROC_FS=y
1982 +CONFIG_PROC_SYSCTL=y
1983 +CONFIG_SYSFS=y
1984 +CONFIG_TMPFS=y
1985 +# CONFIG_TMPFS_POSIX_ACL is not set
1986 +# CONFIG_HUGETLB_PAGE is not set
1987 +CONFIG_RAMFS=y
1988 +# CONFIG_CONFIGFS_FS is not set
1989 +
1990 +#
1991 +# Miscellaneous filesystems
1992 +#
1993 +# CONFIG_ADFS_FS is not set
1994 +# CONFIG_AFFS_FS is not set
1995 +# CONFIG_HFS_FS is not set
1996 +# CONFIG_HFSPLUS_FS is not set
1997 +# CONFIG_BEFS_FS is not set
1998 +# CONFIG_BFS_FS is not set
1999 +# CONFIG_EFS_FS is not set
2000 +# CONFIG_JFFS_FS is not set
2001 +# CONFIG_JFFS2_FS is not set
2002 +CONFIG_CRAMFS=y
2003 +# CONFIG_VXFS_FS is not set
2004 +# CONFIG_HPFS_FS is not set
2005 +# CONFIG_QNX4FS_FS is not set
2006 +# CONFIG_SYSV_FS is not set
2007 +# CONFIG_UFS_FS is not set
2008 +
2009 +#
2010 +# Network File Systems
2011 +#
2012 +# CONFIG_NFS_FS is not set
2013 +# CONFIG_NFSD is not set
2014 +# CONFIG_SMB_FS is not set
2015 +# CONFIG_CIFS is not set
2016 +# CONFIG_NCP_FS is not set
2017 +# CONFIG_CODA_FS is not set
2018 +# CONFIG_AFS_FS is not set
2019 +# CONFIG_9P_FS is not set
2020 +
2021 +#
2022 +# Partition Types
2023 +#
2024 +# CONFIG_PARTITION_ADVANCED is not set
2025 +CONFIG_MSDOS_PARTITION=y
2026 +
2027 +#
2028 +# Native Language Support
2029 +#
2030 +CONFIG_NLS=y
2031 +CONFIG_NLS_DEFAULT="iso8859-1"
2032 +CONFIG_NLS_CODEPAGE_437=y
2033 +# CONFIG_NLS_CODEPAGE_737 is not set
2034 +# CONFIG_NLS_CODEPAGE_775 is not set
2035 +CONFIG_NLS_CODEPAGE_850=y
2036 +# CONFIG_NLS_CODEPAGE_852 is not set
2037 +# CONFIG_NLS_CODEPAGE_855 is not set
2038 +# CONFIG_NLS_CODEPAGE_857 is not set
2039 +# CONFIG_NLS_CODEPAGE_860 is not set
2040 +# CONFIG_NLS_CODEPAGE_861 is not set
2041 +# CONFIG_NLS_CODEPAGE_862 is not set
2042 +# CONFIG_NLS_CODEPAGE_863 is not set
2043 +# CONFIG_NLS_CODEPAGE_864 is not set
2044 +# CONFIG_NLS_CODEPAGE_865 is not set
2045 +# CONFIG_NLS_CODEPAGE_866 is not set
2046 +# CONFIG_NLS_CODEPAGE_869 is not set
2047 +# CONFIG_NLS_CODEPAGE_936 is not set
2048 +# CONFIG_NLS_CODEPAGE_950 is not set
2049 +# CONFIG_NLS_CODEPAGE_932 is not set
2050 +# CONFIG_NLS_CODEPAGE_949 is not set
2051 +# CONFIG_NLS_CODEPAGE_874 is not set
2052 +# CONFIG_NLS_ISO8859_8 is not set
2053 +# CONFIG_NLS_CODEPAGE_1250 is not set
2054 +# CONFIG_NLS_CODEPAGE_1251 is not set
2055 +# CONFIG_NLS_ASCII is not set
2056 +CONFIG_NLS_ISO8859_1=y
2057 +# CONFIG_NLS_ISO8859_2 is not set
2058 +# CONFIG_NLS_ISO8859_3 is not set
2059 +# CONFIG_NLS_ISO8859_4 is not set
2060 +# CONFIG_NLS_ISO8859_5 is not set
2061 +# CONFIG_NLS_ISO8859_6 is not set
2062 +# CONFIG_NLS_ISO8859_7 is not set
2063 +# CONFIG_NLS_ISO8859_9 is not set
2064 +# CONFIG_NLS_ISO8859_13 is not set
2065 +# CONFIG_NLS_ISO8859_14 is not set
2066 +# CONFIG_NLS_ISO8859_15 is not set
2067 +# CONFIG_NLS_KOI8_R is not set
2068 +# CONFIG_NLS_KOI8_U is not set
2069 +# CONFIG_NLS_UTF8 is not set
2070 +
2071 +#
2072 +# Profiling support
2073 +#
2074 +# CONFIG_PROFILING is not set
2075 +
2076 +#
2077 +# Kernel hacking
2078 +#
2079 +# CONFIG_PRINTK_TIME is not set
2080 +CONFIG_ENABLE_MUST_CHECK=y
2081 +# CONFIG_MAGIC_SYSRQ is not set
2082 +# CONFIG_UNUSED_SYMBOLS is not set
2083 +CONFIG_DEBUG_KERNEL=y
2084 +CONFIG_LOG_BUF_SHIFT=14
2085 +CONFIG_DETECT_SOFTLOCKUP=y
2086 +# CONFIG_SCHEDSTATS is not set
2087 +# CONFIG_DEBUG_SLAB is not set
2088 +# CONFIG_DEBUG_RT_MUTEXES is not set
2089 +# CONFIG_RT_MUTEX_TESTER is not set
2090 +# CONFIG_DEBUG_SPINLOCK is not set
2091 +# CONFIG_DEBUG_MUTEXES is not set
2092 +# CONFIG_DEBUG_RWSEMS is not set
2093 +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
2094 +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
2095 +# CONFIG_DEBUG_KOBJECT is not set
2096 +CONFIG_DEBUG_BUGVERBOSE=y
2097 +# CONFIG_DEBUG_INFO is not set
2098 +# CONFIG_DEBUG_FS is not set
2099 +# CONFIG_DEBUG_VM is not set
2100 +# CONFIG_DEBUG_LIST is not set
2101 +CONFIG_FRAME_POINTER=y
2102 +CONFIG_FORCED_INLINING=y
2103 +# CONFIG_HEADERS_CHECK is not set
2104 +# CONFIG_RCU_TORTURE_TEST is not set
2105 +CONFIG_DEBUG_USER=y
2106 +# CONFIG_DEBUG_WAITQ is not set
2107 +# CONFIG_DEBUG_ERRORS is not set
2108 +CONFIG_DEBUG_LL=y
2109 +# CONFIG_DEBUG_ICEDCC is not set
2110 +
2111 +#
2112 +# Security options
2113 +#
2114 +# CONFIG_KEYS is not set
2115 +# CONFIG_SECURITY is not set
2116 +
2117 +#
2118 +# Cryptographic options
2119 +#
2120 +# CONFIG_CRYPTO is not set
2121 +
2122 +#
2123 +# Library routines
2124 +#
2125 +# CONFIG_CRC_CCITT is not set
2126 +# CONFIG_CRC16 is not set
2127 +CONFIG_CRC32=y
2128 +# CONFIG_LIBCRC32C is not set
2129 +CONFIG_ZLIB_INFLATE=y
2130 +CONFIG_PLIST=y
2131 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/carmeva_defconfig linux-2.6.19/arch/arm/configs/carmeva_defconfig
2132 --- linux-2.6.19-final/arch/arm/configs/carmeva_defconfig Mon Dec 4 16:39:29 2006
2133 +++ linux-2.6.19/arch/arm/configs/carmeva_defconfig Thu Oct 12 17:07:38 2006
2134 @@ -474,7 +474,7 @@
2135 # CONFIG_WATCHDOG is not set
2136 # CONFIG_NVRAM is not set
2137 # CONFIG_RTC is not set
2138 -# CONFIG_AT91_RTC is not set
2139 +# CONFIG_AT91RM9200_RTC is not set
2140 # CONFIG_DTLK is not set
2141 # CONFIG_R3964 is not set
2142
2143 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/csb637_defconfig linux-2.6.19/arch/arm/configs/csb637_defconfig
2144 --- linux-2.6.19-final/arch/arm/configs/csb637_defconfig Mon Dec 4 16:39:29 2006
2145 +++ linux-2.6.19/arch/arm/configs/csb637_defconfig Thu Oct 12 17:07:38 2006
2146 @@ -623,7 +623,7 @@
2147 # CONFIG_USBPCWATCHDOG is not set
2148 # CONFIG_NVRAM is not set
2149 CONFIG_RTC=y
2150 -# CONFIG_AT91_RTC is not set
2151 +# CONFIG_AT91RM9200_RTC is not set
2152 # CONFIG_DTLK is not set
2153 # CONFIG_R3964 is not set
2154
2155 diff -urN -x CVS linux-2.6.19-final/arch/arm/configs/kb9202_defconfig linux-2.6.19/arch/arm/configs/kb9202_defconfig
2156 --- linux-2.6.19-final/arch/arm/configs/kb9202_defconfig Mon Dec 4 16:39:29 2006
2157 +++ linux-2.6.19/arch/arm/configs/kb9202_defconfig Thu Oct 12 17:07:38 2006
2158 @@ -437,7 +437,7 @@
2159 # CONFIG_WATCHDOG is not set
2160 # CONFIG_NVRAM is not set
2161 # CONFIG_RTC is not set
2162 -# CONFIG_AT91_RTC is not set
2163 +# CONFIG_AT91RM9200_RTC is not set
2164 # CONFIG_DTLK is not set
2165 # CONFIG_R3964 is not set
2166
2167 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/Kconfig linux-2.6.19/arch/arm/mach-at91rm9200/Kconfig
2168 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/Kconfig Mon Dec 4 16:32:44 2006
2169 +++ linux-2.6.19/arch/arm/mach-at91rm9200/Kconfig Wed Nov 22 09:24:11 2006
2170 @@ -2,7 +2,8 @@
2171
2172 menu "Atmel AT91 System-on-Chip"
2173
2174 -comment "Atmel AT91 Processors"
2175 +choice
2176 + prompt "Atmel AT91 Processor"
2177
2178 config ARCH_AT91RM9200
2179 bool "AT91RM9200"
2180 @@ -13,6 +14,8 @@
2181 config ARCH_AT91SAM9261
2182 bool "AT91SAM9261"
2183
2184 +endchoice
2185 +
2186 # ----------------------------------------------------------
2187
2188 if ARCH_AT91RM9200
2189 @@ -33,7 +36,6 @@
2190 Select this if you are using Atmel's AT91RM9200-DK Development board.
2191 (Discontinued)
2192
2193 -
2194 config MACH_AT91RM9200EK
2195 bool "Atmel AT91RM9200-EK Evaluation Kit"
2196 depends on ARCH_AT91RM9200
2197 @@ -90,6 +92,13 @@
2198
2199 comment "AT91SAM9260 Board Type"
2200
2201 +config MACH_AT91SAM9260EK
2202 + bool "Atmel AT91SAM9260-EK Evaluation Kit"
2203 + depends on ARCH_AT91SAM9260
2204 + help
2205 + Select this if you are using Atmel's AT91SAM9260-EK Evaluation Kit.
2206 + <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
2207 +
2208 endif
2209
2210 # ----------------------------------------------------------
2211 @@ -98,8 +107,31 @@
2212
2213 comment "AT91SAM9261 Board Type"
2214
2215 +config MACH_AT91SAM9261EK
2216 + bool "Atmel AT91SAM9261-EK Evaluation Kit"
2217 + depends on ARCH_AT91SAM9261
2218 + help
2219 + Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
2220 + <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
2221 +
2222 endif
2223
2224 +# ----------------------------------------------------------
2225 +
2226 +comment "AT91 Board Options"
2227 +
2228 +config MTD_AT91_DATAFLASH_CARD
2229 + bool "Enable DataFlash Card support"
2230 + depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK)
2231 + help
2232 + Enable support for the DataFlash card.
2233 +
2234 +config MTD_NAND_AT91_BUSWIDTH_16
2235 + bool "Enable 16-bit data bus interface to NAND flash"
2236 + depends on (MACH_AT91SAM9261EK || MACH_AT91SAM9260EK)
2237 + help
2238 + On AT91SAM926x boards both types of NAND flash can be present
2239 + (8 and 16 bit data bus width).
2240
2241 # ----------------------------------------------------------
2242
2243 @@ -111,6 +143,13 @@
2244 Select this if you need to program one or more of the PCK0..PCK3
2245 programmable clock outputs.
2246
2247 +config AT91_SLOW_CLOCK
2248 + bool "Suspend-to-RAM uses slow clock mode (EXPERIMENTAL)"
2249 + depends on PM && EXPERIMENTAL
2250 + help
2251 + Select this if you wish to put the CPU into slow clock mode
2252 + while in the "Suspend to RAM" state, to save more power.
2253 +
2254 endmenu
2255
2256 endif
2257 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/Makefile linux-2.6.19/arch/arm/mach-at91rm9200/Makefile
2258 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/Makefile Mon Dec 4 16:32:44 2006
2259 +++ linux-2.6.19/arch/arm/mach-at91rm9200/Makefile Thu Nov 16 11:45:54 2006
2260 @@ -2,19 +2,20 @@
2261 # Makefile for the linux kernel.
2262 #
2263
2264 -obj-y := clock.o irq.o gpio.o devices.o
2265 +obj-y := clock.o irq.o gpio.o
2266 obj-m :=
2267 obj-n :=
2268 obj- :=
2269
2270 obj-$(CONFIG_PM) += pm.o
2271 +obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
2272
2273 # CPU-specific support
2274 -obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o
2275 -obj-$(CONFIG_ARCH_AT91SAM9260) +=
2276 -obj-$(CONFIG_ARCH_AT91SAM9261) +=
2277 +obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
2278 +obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o
2279 +obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o
2280
2281 -# AT91RM9200 Board-specific support
2282 +# AT91RM9200 board-specific support
2283 obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
2284 obj-$(CONFIG_ARCH_AT91RM9200DK) += board-dk.o
2285 obj-$(CONFIG_MACH_AT91RM9200EK) += board-ek.o
2286 @@ -26,8 +27,10 @@
2287 obj-$(CONFIG_MACH_KAFA) += board-kafa.o
2288
2289 # AT91SAM9260 board-specific support
2290 +obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
2291
2292 # AT91SAM9261 board-specific support
2293 +obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
2294
2295 # LEDs support
2296 led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o
2297 @@ -39,7 +42,7 @@
2298 obj-$(CONFIG_LEDS) += $(led-y)
2299
2300 # VGA support
2301 -#obj-$(CONFIG_FB_S1D13XXX) += ics1523.o
2302 +obj-$(CONFIG_FB_S1D13XXX) += ics1523.o
2303
2304
2305 ifeq ($(CONFIG_PM_DEBUG),y)
2306 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200.c linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200.c
2307 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200.c Mon Dec 4 16:39:29 2006
2308 +++ linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200.c Fri Nov 3 19:22:15 2006
2309 @@ -14,8 +14,10 @@
2310
2311 #include <asm/mach/arch.h>
2312 #include <asm/mach/map.h>
2313 +#include <asm/arch/at91rm9200.h>
2314 +#include <asm/arch/at91_pmc.h>
2315 +#include <asm/arch/at91_st.h>
2316
2317 -#include <asm/hardware.h>
2318 #include "generic.h"
2319 #include "clock.h"
2320
2321 @@ -26,32 +28,12 @@
2322 .length = SZ_4K,
2323 .type = MT_DEVICE,
2324 }, {
2325 - .virtual = AT91_VA_BASE_SPI,
2326 - .pfn = __phys_to_pfn(AT91RM9200_BASE_SPI),
2327 - .length = SZ_16K,
2328 - .type = MT_DEVICE,
2329 - }, {
2330 .virtual = AT91_VA_BASE_EMAC,
2331 .pfn = __phys_to_pfn(AT91RM9200_BASE_EMAC),
2332 .length = SZ_16K,
2333 .type = MT_DEVICE,
2334 }, {
2335 - .virtual = AT91_VA_BASE_TWI,
2336 - .pfn = __phys_to_pfn(AT91RM9200_BASE_TWI),
2337 - .length = SZ_16K,
2338 - .type = MT_DEVICE,
2339 - }, {
2340 - .virtual = AT91_VA_BASE_MCI,
2341 - .pfn = __phys_to_pfn(AT91RM9200_BASE_MCI),
2342 - .length = SZ_16K,
2343 - .type = MT_DEVICE,
2344 - }, {
2345 - .virtual = AT91_VA_BASE_UDP,
2346 - .pfn = __phys_to_pfn(AT91RM9200_BASE_UDP),
2347 - .length = SZ_16K,
2348 - .type = MT_DEVICE,
2349 - }, {
2350 - .virtual = AT91_SRAM_VIRT_BASE,
2351 + .virtual = AT91_IO_VIRT_BASE - AT91RM9200_SRAM_SIZE,
2352 .pfn = __phys_to_pfn(AT91RM9200_SRAM_BASE),
2353 .length = AT91RM9200_SRAM_SIZE,
2354 .type = MT_DEVICE,
2355 @@ -222,6 +204,16 @@
2356 }
2357 };
2358
2359 +static void at91rm9200_reset(void)
2360 +{
2361 + /*
2362 + * Perform a hardware reset with the use of the Watchdog timer.
2363 + */
2364 + at91_sys_write(AT91_ST_WDMR, AT91_ST_RSTEN | AT91_ST_EXTEN | 1);
2365 + at91_sys_write(AT91_ST_CR, AT91_ST_WDRST);
2366 +}
2367 +
2368 +
2369 /* --------------------------------------------------------------------
2370 * AT91RM9200 processor initialization
2371 * -------------------------------------------------------------------- */
2372 @@ -230,6 +222,12 @@
2373 /* Map peripherals */
2374 iotable_init(at91rm9200_io_desc, ARRAY_SIZE(at91rm9200_io_desc));
2375
2376 + at91_arch_reset = at91rm9200_reset;
2377 + at91_extern_irq = (1 << AT91RM9200_ID_IRQ0) | (1 << AT91RM9200_ID_IRQ1)
2378 + | (1 << AT91RM9200_ID_IRQ2) | (1 << AT91RM9200_ID_IRQ3)
2379 + | (1 << AT91RM9200_ID_IRQ4) | (1 << AT91RM9200_ID_IRQ5)
2380 + | (1 << AT91RM9200_ID_IRQ6);
2381 +
2382 /* Init clock subsystem */
2383 at91_clock_init(main_clock);
2384
2385 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200_devices.c linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200_devices.c
2386 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200_devices.c Thu Jan 1 02:00:00 1970
2387 +++ linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200_devices.c Fri Dec 1 16:10:47 2006
2388 @@ -0,0 +1,901 @@
2389 +/*
2390 + * arch/arm/mach-at91rm9200/at91rm9200_devices.c
2391 + *
2392 + * Copyright (C) 2005 Thibaut VARENE <varenet@parisc-linux.org>
2393 + * Copyright (C) 2005 David Brownell
2394 + *
2395 + * This program is free software; you can redistribute it and/or modify
2396 + * it under the terms of the GNU General Public License as published by
2397 + * the Free Software Foundation; either version 2 of the License, or
2398 + * (at your option) any later version.
2399 + *
2400 + */
2401 +#include <asm/mach/arch.h>
2402 +#include <asm/mach/map.h>
2403 +
2404 +#include <linux/platform_device.h>
2405 +
2406 +#include <asm/arch/board.h>
2407 +#include <asm/arch/gpio.h>
2408 +#include <asm/arch/at91rm9200.h>
2409 +#include <asm/arch/at91rm9200_mc.h>
2410 +
2411 +#include "generic.h"
2412 +
2413 +#define SZ_512 0x00000200
2414 +#define SZ_256 0x00000100
2415 +#define SZ_16 0x00000010
2416 +
2417 +/* --------------------------------------------------------------------
2418 + * USB Host
2419 + * -------------------------------------------------------------------- */
2420 +
2421 +#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
2422 +static u64 ohci_dmamask = 0xffffffffUL;
2423 +static struct at91_usbh_data usbh_data;
2424 +
2425 +static struct resource usbh_resources[] = {
2426 + [0] = {
2427 + .start = AT91RM9200_UHP_BASE,
2428 + .end = AT91RM9200_UHP_BASE + SZ_1M - 1,
2429 + .flags = IORESOURCE_MEM,
2430 + },
2431 + [1] = {
2432 + .start = AT91RM9200_ID_UHP,
2433 + .end = AT91RM9200_ID_UHP,
2434 + .flags = IORESOURCE_IRQ,
2435 + },
2436 +};
2437 +
2438 +static struct platform_device at91rm9200_usbh_device = {
2439 + .name = "at91_ohci",
2440 + .id = -1,
2441 + .dev = {
2442 + .dma_mask = &ohci_dmamask,
2443 + .coherent_dma_mask = 0xffffffff,
2444 + .platform_data = &usbh_data,
2445 + },
2446 + .resource = usbh_resources,
2447 + .num_resources = ARRAY_SIZE(usbh_resources),
2448 +};
2449 +
2450 +void __init at91_add_device_usbh(struct at91_usbh_data *data)
2451 +{
2452 + if (!data)
2453 + return;
2454 +
2455 + usbh_data = *data;
2456 + platform_device_register(&at91rm9200_usbh_device);
2457 +}
2458 +#else
2459 +void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
2460 +#endif
2461 +
2462 +
2463 +/* --------------------------------------------------------------------
2464 + * USB Device (Gadget)
2465 + * -------------------------------------------------------------------- */
2466 +
2467 +#ifdef CONFIG_USB_GADGET_AT91
2468 +static struct at91_udc_data udc_data;
2469 +
2470 +static struct resource udc_resources[] = {
2471 + [0] = {
2472 + .start = AT91RM9200_BASE_UDP,
2473 + .end = AT91RM9200_BASE_UDP + SZ_16K - 1,
2474 + .flags = IORESOURCE_MEM,
2475 + },
2476 + [1] = {
2477 + .start = AT91RM9200_ID_UDP,
2478 + .end = AT91RM9200_ID_UDP,
2479 + .flags = IORESOURCE_IRQ,
2480 + },
2481 +};
2482 +
2483 +static struct platform_device at91rm9200_udc_device = {
2484 + .name = "at91_udc",
2485 + .id = -1,
2486 + .dev = {
2487 + .platform_data = &udc_data,
2488 + },
2489 + .resource = udc_resources,
2490 + .num_resources = ARRAY_SIZE(udc_resources),
2491 +};
2492 +
2493 +void __init at91_add_device_udc(struct at91_udc_data *data)
2494 +{
2495 + if (!data)
2496 + return;
2497 +
2498 + if (data->vbus_pin) {
2499 + at91_set_gpio_input(data->vbus_pin, 0);
2500 + at91_set_deglitch(data->vbus_pin, 1);
2501 + }
2502 + if (data->pullup_pin)
2503 + at91_set_gpio_output(data->pullup_pin, 0);
2504 +
2505 + udc_data = *data;
2506 + platform_device_register(&at91rm9200_udc_device);
2507 +}
2508 +#else
2509 +void __init at91_add_device_udc(struct at91_udc_data *data) {}
2510 +#endif
2511 +
2512 +
2513 +/* --------------------------------------------------------------------
2514 + * Ethernet
2515 + * -------------------------------------------------------------------- */
2516 +
2517 +#if defined(CONFIG_ARM_AT91_ETHER) || defined(CONFIG_ARM_AT91_ETHER_MODULE)
2518 +static u64 eth_dmamask = 0xffffffffUL;
2519 +static struct eth_platform_data eth_data;
2520 +
2521 +static struct resource eth_resources[] = {
2522 + [0] = {
2523 + .start = AT91_VA_BASE_EMAC,
2524 + .end = AT91_VA_BASE_EMAC + SZ_16K - 1,
2525 + .flags = IORESOURCE_MEM,
2526 + },
2527 + [1] = {
2528 + .start = AT91RM9200_ID_EMAC,
2529 + .end = AT91RM9200_ID_EMAC,
2530 + .flags = IORESOURCE_IRQ,
2531 + },
2532 +};
2533 +
2534 +static struct platform_device at91rm9200_eth_device = {
2535 + .name = "at91_ether",
2536 + .id = -1,
2537 + .dev = {
2538 + .dma_mask = &eth_dmamask,
2539 + .coherent_dma_mask = 0xffffffff,
2540 + .platform_data = &eth_data,
2541 + },
2542 + .resource = eth_resources,
2543 + .num_resources = ARRAY_SIZE(eth_resources),
2544 +};
2545 +
2546 +void __init at91_add_device_eth(struct eth_platform_data *data)
2547 +{
2548 + if (!data)
2549 + return;
2550 +
2551 + if (data->phy_irq_pin) {
2552 + at91_set_gpio_input(data->phy_irq_pin, 0);
2553 + at91_set_deglitch(data->phy_irq_pin, 1);
2554 + }
2555 +
2556 + /* Pins used for MII and RMII */
2557 + at91_set_A_periph(AT91_PIN_PA16, 0); /* EMDIO */
2558 + at91_set_A_periph(AT91_PIN_PA15, 0); /* EMDC */
2559 + at91_set_A_periph(AT91_PIN_PA14, 0); /* ERXER */
2560 + at91_set_A_periph(AT91_PIN_PA13, 0); /* ERX1 */
2561 + at91_set_A_periph(AT91_PIN_PA12, 0); /* ERX0 */
2562 + at91_set_A_periph(AT91_PIN_PA11, 0); /* ECRS_ECRSDV */
2563 + at91_set_A_periph(AT91_PIN_PA10, 0); /* ETX1 */
2564 + at91_set_A_periph(AT91_PIN_PA9, 0); /* ETX0 */
2565 + at91_set_A_periph(AT91_PIN_PA8, 0); /* ETXEN */
2566 + at91_set_A_periph(AT91_PIN_PA7, 0); /* ETXCK_EREFCK */
2567 +
2568 + if (!data->is_rmii) {
2569 + at91_set_B_periph(AT91_PIN_PB19, 0); /* ERXCK */
2570 + at91_set_B_periph(AT91_PIN_PB18, 0); /* ECOL */
2571 + at91_set_B_periph(AT91_PIN_PB17, 0); /* ERXDV */
2572 + at91_set_B_periph(AT91_PIN_PB16, 0); /* ERX3 */
2573 + at91_set_B_periph(AT91_PIN_PB15, 0); /* ERX2 */
2574 + at91_set_B_periph(AT91_PIN_PB14, 0); /* ETXER */
2575 + at91_set_B_periph(AT91_PIN_PB13, 0); /* ETX3 */
2576 + at91_set_B_periph(AT91_PIN_PB12, 0); /* ETX2 */
2577 + }
2578 +
2579 + eth_data = *data;
2580 + platform_device_register(&at91rm9200_eth_device);
2581 +}
2582 +#else
2583 +void __init at91_add_device_eth(struct eth_platform_data *data) {}
2584 +#endif
2585 +
2586 +
2587 +/* --------------------------------------------------------------------
2588 + * Compact Flash / PCMCIA
2589 + * -------------------------------------------------------------------- */
2590 +
2591 +#if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE)
2592 +static struct at91_cf_data cf_data;
2593 +
2594 +#define CF_BASE AT91_CHIPSELECT_4
2595 +
2596 +static struct resource cf_resources[] = {
2597 + [0] = {
2598 + .start = CF_BASE,
2599 + /* ties up CS4, CS5 and CS6 */
2600 + .end = CF_BASE + (0x30000000 - 1),
2601 + .flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
2602 + },
2603 +};
2604 +
2605 +static struct platform_device at91rm9200_cf_device = {
2606 + .name = "at91_cf",
2607 + .id = -1,
2608 + .dev = {
2609 + .platform_data = &cf_data,
2610 + },
2611 + .resource = cf_resources,
2612 + .num_resources = ARRAY_SIZE(cf_resources),
2613 +};
2614 +
2615 +void __init at91_add_device_cf(struct at91_cf_data *data)
2616 +{
2617 + unsigned int csa;
2618 +
2619 + if (!data)
2620 + return;
2621 +
2622 + data->chipselect = 4; /* can only use EBI ChipSelect 4 */
2623 +
2624 + /* CF takes over CS4, CS5, CS6 */
2625 + csa = at91_sys_read(AT91_EBI_CSA);
2626 + at91_sys_write(AT91_EBI_CSA, csa | AT91_EBI_CS4A_SMC_COMPACTFLASH);
2627 +
2628 + /*
2629 + * Static memory controller timing adjustments.
2630 + * REVISIT: these timings are in terms of MCK cycles, so
2631 + * when MCK changes (cpufreq etc) so must these values...
2632 + */
2633 + at91_sys_write(AT91_SMC_CSR(4),
2634 + AT91_SMC_ACSS_STD
2635 + | AT91_SMC_DBW_16
2636 + | AT91_SMC_BAT
2637 + | AT91_SMC_WSEN
2638 + | AT91_SMC_NWS_(32) /* wait states */
2639 + | AT91_SMC_RWSETUP_(6) /* setup time */
2640 + | AT91_SMC_RWHOLD_(4) /* hold time */
2641 + );
2642 +
2643 + /* input/irq */
2644 + if (data->irq_pin) {
2645 + at91_set_gpio_input(data->irq_pin, 1);
2646 + at91_set_deglitch(data->irq_pin, 1);
2647 + }
2648 + at91_set_gpio_input(data->det_pin, 1);
2649 + at91_set_deglitch(data->det_pin, 1);
2650 +
2651 + /* outputs, initially off */
2652 + if (data->vcc_pin)
2653 + at91_set_gpio_output(data->vcc_pin, 0);
2654 + at91_set_gpio_output(data->rst_pin, 0);
2655 +
2656 + /* force poweron defaults for these pins ... */
2657 + at91_set_A_periph(AT91_PIN_PC9, 0); /* A25/CFRNW */
2658 + at91_set_A_periph(AT91_PIN_PC10, 0); /* NCS4/CFCS */
2659 + at91_set_A_periph(AT91_PIN_PC11, 0); /* NCS5/CFCE1 */
2660 + at91_set_A_periph(AT91_PIN_PC12, 0); /* NCS6/CFCE2 */
2661 +
2662 + /* nWAIT is _not_ a default setting */
2663 + at91_set_A_periph(AT91_PIN_PC6, 1); /* nWAIT */
2664 +
2665 + cf_data = *data;
2666 + platform_device_register(&at91rm9200_cf_device);
2667 +}
2668 +#else
2669 +void __init at91_add_device_cf(struct at91_cf_data *data) {}
2670 +#endif
2671 +
2672 +
2673 +/* --------------------------------------------------------------------
2674 + * MMC / SD
2675 + * -------------------------------------------------------------------- */
2676 +
2677 +#if defined(CONFIG_MMC_AT91) || defined(CONFIG_MMC_AT91_MODULE)
2678 +static u64 mmc_dmamask = 0xffffffffUL;
2679 +static struct at91_mmc_data mmc_data;
2680 +
2681 +static struct resource mmc_resources[] = {
2682 + [0] = {
2683 + .start = AT91RM9200_BASE_MCI,
2684 + .end = AT91RM9200_BASE_MCI + SZ_16K - 1,
2685 + .flags = IORESOURCE_MEM,
2686 + },
2687 + [1] = {
2688 + .start = AT91RM9200_ID_MCI,
2689 + .end = AT91RM9200_ID_MCI,
2690 + .flags = IORESOURCE_IRQ,
2691 + },
2692 +};
2693 +
2694 +static struct platform_device at91rm9200_mmc_device = {
2695 + .name = "at91_mci",
2696 + .id = -1,
2697 + .dev = {
2698 + .dma_mask = &mmc_dmamask,
2699 + .coherent_dma_mask = 0xffffffff,
2700 + .platform_data = &mmc_data,
2701 + },
2702 + .resource = mmc_resources,
2703 + .num_resources = ARRAY_SIZE(mmc_resources),
2704 +};
2705 +
2706 +void __init at91_add_device_mmc(struct at91_mmc_data *data)
2707 +{
2708 + if (!data)
2709 + return;
2710 +
2711 + /* input/irq */
2712 + if (data->det_pin) {
2713 + at91_set_gpio_input(data->det_pin, 1);
2714 + at91_set_deglitch(data->det_pin, 1);
2715 + }
2716 + if (data->wp_pin)
2717 + at91_set_gpio_input(data->wp_pin, 1);
2718 + if (data->vcc_pin)
2719 + at91_set_gpio_output(data->vcc_pin, 0);
2720 +
2721 + /* CLK */
2722 + at91_set_A_periph(AT91_PIN_PA27, 0);
2723 +
2724 + if (data->slot_b) {
2725 + /* CMD */
2726 + at91_set_B_periph(AT91_PIN_PA8, 1);
2727 +
2728 + /* DAT0, maybe DAT1..DAT3 */
2729 + at91_set_B_periph(AT91_PIN_PA9, 1);
2730 + if (data->wire4) {
2731 + at91_set_B_periph(AT91_PIN_PA10, 1);
2732 + at91_set_B_periph(AT91_PIN_PA11, 1);
2733 + at91_set_B_periph(AT91_PIN_PA12, 1);
2734 + }
2735 + } else {
2736 + /* CMD */
2737 + at91_set_A_periph(AT91_PIN_PA28, 1);
2738 +
2739 + /* DAT0, maybe DAT1..DAT3 */
2740 + at91_set_A_periph(AT91_PIN_PA29, 1);
2741 + if (data->wire4) {
2742 + at91_set_B_periph(AT91_PIN_PB3, 1);
2743 + at91_set_B_periph(AT91_PIN_PB4, 1);
2744 + at91_set_B_periph(AT91_PIN_PB5, 1);
2745 + }
2746 + }
2747 +
2748 + mmc_data = *data;
2749 + platform_device_register(&at91rm9200_mmc_device);
2750 +}
2751 +#else
2752 +void __init at91_add_device_mmc(struct at91_mmc_data *data) {}
2753 +#endif
2754 +
2755 +
2756 +/* --------------------------------------------------------------------
2757 + * NAND / SmartMedia
2758 + * -------------------------------------------------------------------- */
2759 +
2760 +#if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE)
2761 +static struct at91_nand_data nand_data;
2762 +
2763 +#define NAND_BASE AT91_CHIPSELECT_3
2764 +
2765 +static struct resource nand_resources[] = {
2766 + {
2767 + .start = NAND_BASE,
2768 + .end = NAND_BASE + SZ_8M - 1,
2769 + .flags = IORESOURCE_MEM,
2770 + }
2771 +};
2772 +
2773 +static struct platform_device at91rm9200_nand_device = {
2774 + .name = "at91_nand",
2775 + .id = -1,
2776 + .dev = {
2777 + .platform_data = &nand_data,
2778 + },
2779 + .resource = nand_resources,
2780 + .num_resources = ARRAY_SIZE(nand_resources),
2781 +};
2782 +
2783 +void __init at91_add_device_nand(struct at91_nand_data *data)
2784 +{
2785 + unsigned int csa;
2786 +
2787 + if (!data)
2788 + return;
2789 +
2790 + /* enable the address range of CS3 */
2791 + csa = at91_sys_read(AT91_EBI_CSA);
2792 + at91_sys_write(AT91_EBI_CSA, csa | AT91_EBI_CS3A_SMC_SMARTMEDIA);
2793 +
2794 + /* set the bus interface characteristics */
2795 + at91_sys_write(AT91_SMC_CSR(3), AT91_SMC_ACSS_STD | AT91_SMC_DBW_8 | AT91_SMC_WSEN
2796 + | AT91_SMC_NWS_(5)
2797 + | AT91_SMC_TDF_(1)
2798 + | AT91_SMC_RWSETUP_(0) /* tDS Data Set up Time 30 - ns */
2799 + | AT91_SMC_RWHOLD_(1) /* tDH Data Hold Time 20 - ns */
2800 + );
2801 +
2802 + /* enable pin */
2803 + if (data->enable_pin)
2804 + at91_set_gpio_output(data->enable_pin, 1);
2805 +
2806 + /* ready/busy pin */
2807 + if (data->rdy_pin)
2808 + at91_set_gpio_input(data->rdy_pin, 1);
2809 +
2810 + /* card detect pin */
2811 + if (data->det_pin)
2812 + at91_set_gpio_input(data->det_pin, 1);
2813 +
2814 + at91_set_A_periph(AT91_PIN_PC1, 0); /* SMOE */
2815 + at91_set_A_periph(AT91_PIN_PC3, 0); /* SMWE */
2816 +
2817 + nand_data = *data;
2818 + platform_device_register(&at91rm9200_nand_device);
2819 +}
2820 +#else
2821 +void __init at91_add_device_nand(struct at91_nand_data *data) {}
2822 +#endif
2823 +
2824 +
2825 +/* --------------------------------------------------------------------
2826 + * TWI (i2c)
2827 + * -------------------------------------------------------------------- */
2828 +
2829 +#if defined(CONFIG_I2C_AT91) || defined(CONFIG_I2C_AT91_MODULE)
2830 +
2831 +static struct resource twi_resources[] = {
2832 + [0] = {
2833 + .start = AT91RM9200_BASE_TWI,
2834 + .end = AT91RM9200_BASE_TWI + SZ_16K - 1,
2835 + .flags = IORESOURCE_MEM,
2836 + },
2837 + [1] = {
2838 + .start = AT91RM9200_ID_TWI,
2839 + .end = AT91RM9200_ID_TWI,
2840 + .flags = IORESOURCE_IRQ,
2841 + },
2842 +};
2843 +
2844 +static struct platform_device at91rm9200_twi_device = {
2845 + .name = "at91_i2c",
2846 + .id = -1,
2847 + .resource = twi_resources,
2848 + .num_resources = ARRAY_SIZE(twi_resources),
2849 +};
2850 +
2851 +void __init at91_add_device_i2c(void)
2852 +{
2853 + /* pins used for TWI interface */
2854 + at91_set_A_periph(AT91_PIN_PA25, 0); /* TWD */
2855 + at91_set_multi_drive(AT91_PIN_PA25, 1);
2856 +
2857 + at91_set_A_periph(AT91_PIN_PA26, 0); /* TWCK */
2858 + at91_set_multi_drive(AT91_PIN_PA26, 1);
2859 +
2860 + platform_device_register(&at91rm9200_twi_device);
2861 +}
2862 +#else
2863 +void __init at91_add_device_i2c(void) {}
2864 +#endif
2865 +
2866 +
2867 +/* --------------------------------------------------------------------
2868 + * SPI
2869 + * -------------------------------------------------------------------- */
2870 +
2871 +#if defined(CONFIG_SPI_AT91) || defined(CONFIG_SPI_AT91_MODULE) || defined(CONFIG_AT91_SPI) || defined(CONFIG_AT91_SPI_MODULE)
2872 +static u64 spi_dmamask = 0xffffffffUL;
2873 +
2874 +static struct resource spi_resources[] = {
2875 + [0] = {
2876 + .start = AT91RM9200_BASE_SPI,
2877 + .end = AT91RM9200_BASE_SPI + SZ_16K - 1,
2878 + .flags = IORESOURCE_MEM,
2879 + },
2880 + [1] = {
2881 + .start = AT91RM9200_ID_SPI,
2882 + .end = AT91RM9200_ID_SPI,
2883 + .flags = IORESOURCE_IRQ,
2884 + },
2885 +};
2886 +
2887 +static struct platform_device at91rm9200_spi_device = {
2888 + .name = "at91_spi",
2889 + .id = 0,
2890 + .dev = {
2891 + .dma_mask = &spi_dmamask,
2892 + .coherent_dma_mask = 0xffffffff,
2893 + },
2894 + .resource = spi_resources,
2895 + .num_resources = ARRAY_SIZE(spi_resources),
2896 +};
2897 +
2898 +static const unsigned spi_standard_cs[4] = { AT91_PIN_PA3, AT91_PIN_PA4, AT91_PIN_PA5, AT91_PIN_PA6 };
2899 +
2900 +void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)
2901 +{
2902 + int i;
2903 + unsigned long cs_pin;
2904 +
2905 + at91_set_A_periph(AT91_PIN_PA0, 0); /* MISO */
2906 + at91_set_A_periph(AT91_PIN_PA1, 0); /* MOSI */
2907 + at91_set_A_periph(AT91_PIN_PA2, 0); /* SPCK */
2908 +
2909 + /* Enable SPI chip-selects */
2910 + for (i = 0; i < nr_devices; i++) {
2911 + if (devices[i].controller_data)
2912 + cs_pin = (unsigned long) devices[i].controller_data;
2913 + else
2914 + cs_pin = spi_standard_cs[devices[i].chip_select];
2915 +
2916 +#ifdef CONFIG_SPI_AT91_MANUAL_CS
2917 + at91_set_gpio_output(cs_pin, 1);
2918 +#else
2919 + at91_set_A_periph(cs_pin, 0);
2920 +#endif
2921 +
2922 + /* pass chip-select pin to driver */
2923 + devices[i].controller_data = (void *) cs_pin;
2924 + }
2925 +
2926 + spi_register_board_info(devices, nr_devices);
2927 + at91_clock_associate("spi_clk", &at91rm9200_spi_device.dev, "spi");
2928 + platform_device_register(&at91rm9200_spi_device);
2929 +}
2930 +#else
2931 +void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices) {}
2932 +#endif
2933 +
2934 +
2935 +/* --------------------------------------------------------------------
2936 + * RTC
2937 + * -------------------------------------------------------------------- */
2938 +
2939 +#if defined(CONFIG_RTC_DRV_AT91RM9200) || defined(CONFIG_RTC_DRV_AT91RM9200_MODULE)
2940 +static struct platform_device at91rm9200_rtc_device = {
2941 + .name = "at91_rtc",
2942 + .id = -1,
2943 + .num_resources = 0,
2944 +};
2945 +
2946 +static void __init at91_add_device_rtc(void)
2947 +{
2948 + platform_device_register(&at91rm9200_rtc_device);
2949 +}
2950 +#else
2951 +static void __init at91_add_device_rtc(void) {}
2952 +#endif
2953 +
2954 +
2955 +/* --------------------------------------------------------------------
2956 + * Watchdog
2957 + * -------------------------------------------------------------------- */
2958 +
2959 +#if defined(CONFIG_AT91RM9200_WATCHDOG) || defined(CONFIG_AT91RM9200_WATCHDOG_MODULE)
2960 +static struct platform_device at91rm9200_wdt_device = {
2961 + .name = "at91_wdt",
2962 + .id = -1,
2963 + .num_resources = 0,
2964 +};
2965 +
2966 +static void __init at91_add_device_watchdog(void)
2967 +{
2968 + platform_device_register(&at91rm9200_wdt_device);
2969 +}
2970 +#else
2971 +static void __init at91_add_device_watchdog(void) {}
2972 +#endif
2973 +
2974 +
2975 +/* --------------------------------------------------------------------
2976 + * LEDs
2977 + * -------------------------------------------------------------------- */
2978 +
2979 +#if defined(CONFIG_LEDS)
2980 +u8 at91_leds_cpu;
2981 +u8 at91_leds_timer;
2982 +
2983 +void __init at91_init_leds(u8 cpu_led, u8 timer_led)
2984 +{
2985 + at91_leds_cpu = cpu_led;
2986 + at91_leds_timer = timer_led;
2987 +}
2988 +#else
2989 +void __init at91_init_leds(u8 cpu_led, u8 timer_led) {}
2990 +#endif
2991 +
2992 +
2993 +#if defined(CONFIG_NEW_LEDS)
2994 +
2995 +static struct platform_device at91_leds = {
2996 + .name = "at91_leds",
2997 + .id = -1,
2998 +};
2999 +
3000 +void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr)
3001 +{
3002 + if (!nr)
3003 + return;
3004 +
3005 + at91_leds.dev.platform_data = leds;
3006 +
3007 + for ( ; nr; nr--, leds++) {
3008 + leds->index = nr; /* first record stores number of leds */
3009 + at91_set_gpio_output(leds->gpio, (leds->flags & 1) == 0);
3010 + }
3011 +
3012 + platform_device_register(&at91_leds);
3013 +}
3014 +#else
3015 +void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr) {}
3016 +#endif
3017 +
3018 +
3019 +/* --------------------------------------------------------------------
3020 + * UART
3021 + * -------------------------------------------------------------------- */
3022 +
3023 +#if defined(CONFIG_SERIAL_ATMEL)
3024 +static struct resource dbgu_resources[] = {
3025 + [0] = {
3026 + .start = AT91_VA_BASE_SYS + AT91_DBGU,
3027 + .end = AT91_VA_BASE_SYS + AT91_DBGU + SZ_512 - 1,
3028 + .flags = IORESOURCE_MEM,
3029 + },
3030 + [1] = {
3031 + .start = AT91_ID_SYS,
3032 + .end = AT91_ID_SYS,
3033 + .flags = IORESOURCE_IRQ,
3034 + },
3035 +};
3036 +
3037 +static struct atmel_uart_data dbgu_data = {
3038 + .use_dma_tx = 0,
3039 + .use_dma_rx = 0, /* DBGU not capable of receive DMA */
3040 + .regs = (void __iomem *)(AT91_VA_BASE_SYS + AT91_DBGU),
3041 +};
3042 +
3043 +static struct platform_device at91rm9200_dbgu_device = {
3044 + .name = "atmel_usart",
3045 + .id = 0,
3046 + .dev = {
3047 + .platform_data = &dbgu_data,
3048 + .coherent_dma_mask = 0xffffffff,
3049 + },
3050 + .resource = dbgu_resources,
3051 + .num_resources = ARRAY_SIZE(dbgu_resources),
3052 +};
3053 +
3054 +static inline void configure_dbgu_pins(void)
3055 +{
3056 + at91_set_A_periph(AT91_PIN_PA30, 0); /* DRXD */
3057 + at91_set_A_periph(AT91_PIN_PA31, 1); /* DTXD */
3058 +}
3059 +
3060 +static struct resource uart0_resources[] = {
3061 + [0] = {
3062 + .start = AT91RM9200_BASE_US0,
3063 + .end = AT91RM9200_BASE_US0 + SZ_16K - 1,
3064 + .flags = IORESOURCE_MEM,
3065 + },
3066 + [1] = {
3067 + .start = AT91RM9200_ID_US0,
3068 + .end = AT91RM9200_ID_US0,
3069 + .flags = IORESOURCE_IRQ,
3070 + },
3071 +};
3072 +
3073 +static struct atmel_uart_data uart0_data = {
3074 + .use_dma_tx = 1,
3075 + .use_dma_rx = 1,
3076 +};
3077 +
3078 +static struct platform_device at91rm9200_uart0_device = {
3079 + .name = "atmel_usart",
3080 + .id = 1,
3081 + .dev = {
3082 + .platform_data = &uart0_data,
3083 + .coherent_dma_mask = 0xffffffff,
3084 + },
3085 + .resource = uart0_resources,
3086 + .num_resources = ARRAY_SIZE(uart0_resources),
3087 +};
3088 +
3089 +static inline void configure_usart0_pins(void)
3090 +{
3091 + at91_set_A_periph(AT91_PIN_PA17, 1); /* TXD0 */
3092 + at91_set_A_periph(AT91_PIN_PA18, 0); /* RXD0 */
3093 + at91_set_A_periph(AT91_PIN_PA20, 0); /* CTS0 */
3094 +
3095 + /*
3096 + * AT91RM9200 Errata #39 - RTS0 is not internally connected to PA21.
3097 + * We need to drive the pin manually. Default is off (RTS is active low).
3098 + */
3099 + at91_set_gpio_output(AT91_PIN_PA21, 1);
3100 +}
3101 +
3102 +static struct resource uart1_resources[] = {
3103 + [0] = {
3104 + .start = AT91RM9200_BASE_US1,
3105 + .end = AT91RM9200_BASE_US1 + SZ_16K - 1,
3106 + .flags = IORESOURCE_MEM,
3107 + },
3108 + [1] = {
3109 + .start = AT91RM9200_ID_US1,
3110 + .end = AT91RM9200_ID_US1,
3111 + .flags = IORESOURCE_IRQ,
3112 + },
3113 +};
3114 +
3115 +static struct atmel_uart_data uart1_data = {
3116 + .use_dma_tx = 1,
3117 + .use_dma_rx = 1,
3118 +};
3119 +
3120 +static struct platform_device at91rm9200_uart1_device = {
3121 + .name = "atmel_usart",
3122 + .id = 2,
3123 + .dev = {
3124 + .platform_data = &uart1_data,
3125 + .coherent_dma_mask = 0xffffffff,
3126 + },
3127 + .resource = uart1_resources,
3128 + .num_resources = ARRAY_SIZE(uart1_resources),
3129 +};
3130 +
3131 +static inline void configure_usart1_pins(void)
3132 +{
3133 + at91_set_A_periph(AT91_PIN_PB18, 0); /* RI1 */
3134 + at91_set_A_periph(AT91_PIN_PB19, 0); /* DTR1 */
3135 + at91_set_A_periph(AT91_PIN_PB20, 1); /* TXD1 */
3136 + at91_set_A_periph(AT91_PIN_PB21, 0); /* RXD1 */
3137 + at91_set_A_periph(AT91_PIN_PB23, 0); /* DCD1 */
3138 + at91_set_A_periph(AT91_PIN_PB24, 0); /* CTS1 */
3139 + at91_set_A_periph(AT91_PIN_PB25, 0); /* DSR1 */
3140 + at91_set_A_periph(AT91_PIN_PB26, 0); /* RTS1 */
3141 +}
3142 +
3143 +static struct resource uart2_resources[] = {
3144 + [0] = {
3145 + .start = AT91RM9200_BASE_US2,
3146 + .end = AT91RM9200_BASE_US2 + SZ_16K - 1,
3147 + .flags = IORESOURCE_MEM,
3148 + },
3149 + [1] = {
3150 + .start = AT91RM9200_ID_US2,
3151 + .end = AT91RM9200_ID_US2,
3152 + .flags = IORESOURCE_IRQ,
3153 + },
3154 +};
3155 +
3156 +static struct atmel_uart_data uart2_data = {
3157 + .use_dma_tx = 1,
3158 + .use_dma_rx = 1,
3159 +};
3160 +
3161 +static struct platform_device at91rm9200_uart2_device = {
3162 + .name = "atmel_usart",
3163 + .id = 3,
3164 + .dev = {
3165 + .platform_data = &uart2_data,
3166 + .coherent_dma_mask = 0xffffffff,
3167 + },
3168 + .resource = uart2_resources,
3169 + .num_resources = ARRAY_SIZE(uart2_resources),
3170 +};
3171 +
3172 +static inline void configure_usart2_pins(void)
3173 +{
3174 + at91_set_A_periph(AT91_PIN_PA22, 0); /* RXD2 */
3175 + at91_set_A_periph(AT91_PIN_PA23, 1); /* TXD2 */
3176 +}
3177 +
3178 +static struct resource uart3_resources[] = {
3179 + [0] = {
3180 + .start = AT91RM9200_BASE_US3,
3181 + .end = AT91RM9200_BASE_US3 + SZ_16K - 1,
3182 + .flags = IORESOURCE_MEM,
3183 + },
3184 + [1] = {
3185 + .start = AT91RM9200_ID_US3,
3186 + .end = AT91RM9200_ID_US3,
3187 + .flags = IORESOURCE_IRQ,
3188 + },
3189 +};
3190 +
3191 +static struct atmel_uart_data uart3_data = {
3192 + .use_dma_tx = 1,
3193 + .use_dma_rx = 1,
3194 +};
3195 +
3196 +static struct platform_device at91rm9200_uart3_device = {
3197 + .name = "atmel_usart",
3198 + .id = 4,
3199 + .dev = {
3200 + .platform_data = &uart3_data,
3201 + .coherent_dma_mask = 0xffffffff,
3202 + },
3203 + .resource = uart3_resources,
3204 + .num_resources = ARRAY_SIZE(uart3_resources),
3205 +};
3206 +
3207 +static inline void configure_usart3_pins(void)
3208 +{
3209 + at91_set_B_periph(AT91_PIN_PA5, 1); /* TXD3 */
3210 + at91_set_B_periph(AT91_PIN_PA6, 0); /* RXD3 */
3211 +}
3212 +
3213 +struct platform_device *at91_uarts[ATMEL_MAX_UART]; /* the UARTs to use */
3214 +struct platform_device *atmel_default_console_device; /* the serial console device */
3215 +
3216 +void __init at91_init_serial(struct at91_uart_config *config)
3217 +{
3218 + int i;
3219 +
3220 + /* Fill in list of supported UARTs */
3221 + for (i = 0; i < config->nr_tty; i++) {
3222 + switch (config->tty_map[i]) {
3223 + case 0:
3224 + configure_usart0_pins();
3225 + at91_uarts[i] = &at91rm9200_uart0_device;
3226 + at91_clock_associate("usart0_clk", &at91rm9200_uart0_device.dev, "usart");
3227 + break;
3228 + case 1:
3229 + configure_usart1_pins();
3230 + at91_uarts[i] = &at91rm9200_uart1_device;
3231 + at91_clock_associate("usart1_clk", &at91rm9200_uart1_device.dev, "usart");
3232 + break;
3233 + case 2:
3234 + configure_usart2_pins();
3235 + at91_uarts[i] = &at91rm9200_uart2_device;
3236 + at91_clock_associate("usart2_clk", &at91rm9200_uart2_device.dev, "usart");
3237 + break;
3238 + case 3:
3239 + configure_usart3_pins();
3240 + at91_uarts[i] = &at91rm9200_uart3_device;
3241 + at91_clock_associate("usart3_clk", &at91rm9200_uart3_device.dev, "usart");
3242 + break;
3243 + case 4:
3244 + configure_dbgu_pins();
3245 + at91_uarts[i] = &at91rm9200_dbgu_device;
3246 + at91_clock_associate("mck", &at91rm9200_dbgu_device.dev, "usart");
3247 + break;
3248 + default:
3249 + continue;
3250 + }
3251 + at91_uarts[i]->id = i; /* update ID number to mapped ID */
3252 + }
3253 +
3254 + /* Set serial console device */
3255 + if (config->console_tty < ATMEL_MAX_UART)
3256 + atmel_default_console_device = at91_uarts[config->console_tty];
3257 + if (!atmel_default_console_device)
3258 + printk(KERN_INFO "AT91: No default serial console defined.\n");
3259 +}
3260 +
3261 +void __init at91_add_device_serial(void)
3262 +{
3263 + int i;
3264 +
3265 + for (i = 0; i < ATMEL_MAX_UART; i++) {
3266 + if (at91_uarts[i])
3267 + platform_device_register(at91_uarts[i]);
3268 + }
3269 +}
3270 +#else
3271 +void __init at91_init_serial(struct at91_uart_config *config) {}
3272 +void __init at91_add_device_serial(void) {}
3273 +#endif
3274 +
3275 +
3276 +/* -------------------------------------------------------------------- */
3277 +
3278 +/*
3279 + * These devices are always present and don't need any board-specific
3280 + * setup.
3281 + */
3282 +static int __init at91_add_standard_devices(void)
3283 +{
3284 + at91_add_device_rtc();
3285 + at91_add_device_watchdog();
3286 + return 0;
3287 +}
3288 +
3289 +arch_initcall(at91_add_standard_devices);
3290 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200_time.c linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200_time.c
3291 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/at91rm9200_time.c Mon Dec 4 16:39:29 2006
3292 +++ linux-2.6.19/arch/arm/mach-at91rm9200/at91rm9200_time.c Thu Nov 16 11:41:09 2006
3293 @@ -30,6 +30,8 @@
3294 #include <asm/io.h>
3295 #include <asm/mach/time.h>
3296
3297 +#include <asm/arch/at91_st.h>
3298 +
3299 static unsigned long last_crtr;
3300
3301 /*
3302 @@ -99,6 +101,9 @@
3303 /* Set Period Interval timer */
3304 at91_sys_write(AT91_ST_PIMR, LATCH);
3305
3306 + /* Clear any pending interrupts */
3307 + (void) at91_sys_read(AT91_ST_SR);
3308 +
3309 /* Enable Period Interval Timer interrupt */
3310 at91_sys_write(AT91_ST_IER, AT91_ST_PITS);
3311 }
3312 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/at91sam9260.c linux-2.6.19/arch/arm/mach-at91rm9200/at91sam9260.c
3313 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/at91sam9260.c Thu Jan 1 02:00:00 1970
3314 +++ linux-2.6.19/arch/arm/mach-at91rm9200/at91sam9260.c Mon Nov 20 10:52:16 2006
3315 @@ -0,0 +1,294 @@
3316 +/*
3317 + * arch/arm/mach-at91rm9200/at91sam9260.c
3318 + *
3319 + * Copyright (C) 2006 SAN People
3320 + *
3321 + * This program is free software; you can redistribute it and/or modify
3322 + * it under the terms of the GNU General Public License as published by
3323 + * the Free Software Foundation; either version 2 of the License, or
3324 + * (at your option) any later version.
3325 + *
3326 + */
3327 +
3328 +#include <linux/module.h>
3329 +
3330 +#include <asm/mach/arch.h>
3331 +#include <asm/mach/map.h>
3332 +#include <asm/arch/at91sam9260.h>
3333 +#include <asm/arch/at91_pmc.h>
3334 +
3335 +#include "generic.h"
3336 +#include "clock.h"
3337 +
3338 +static struct map_desc at91sam9260_io_desc[] __initdata = {
3339 + {
3340 + .virtual = AT91_VA_BASE_SYS,
3341 + .pfn = __phys_to_pfn(AT91_BASE_SYS),
3342 + .length = SZ_16K,
3343 + .type = MT_DEVICE,
3344 + }, {
3345 + .virtual = AT91_IO_VIRT_BASE - AT91SAM9260_SRAM0_SIZE,
3346 + .pfn = __phys_to_pfn(AT91SAM9260_SRAM0_BASE),
3347 + .length = AT91SAM9260_SRAM0_SIZE,
3348 + .type = MT_DEVICE,
3349 + }, {
3350 + .virtual = AT91_IO_VIRT_BASE - AT91SAM9260_SRAM0_SIZE - AT91SAM9260_SRAM1_SIZE,
3351 + .pfn = __phys_to_pfn(AT91SAM9260_SRAM1_BASE),
3352 + .length = AT91SAM9260_SRAM1_SIZE,
3353 + .type = MT_DEVICE,
3354 + },
3355 +};
3356 +
3357 +/* --------------------------------------------------------------------
3358 + * Clocks
3359 + * -------------------------------------------------------------------- */
3360 +
3361 +/*
3362 + * The peripheral clocks.
3363 + */
3364 +static struct clk pioA_clk = {
3365 + .name = "pioA_clk",
3366 + .pmc_mask = 1 << AT91SAM9260_ID_PIOA,
3367 + .type = CLK_TYPE_PERIPHERAL,
3368 +};
3369 +static struct clk pioB_clk = {
3370 + .name = "pioB_clk",
3371 + .pmc_mask = 1 << AT91SAM9260_ID_PIOB,
3372 + .type = CLK_TYPE_PERIPHERAL,
3373 +};
3374 +static struct clk pioC_clk = {
3375 + .name = "pioC_clk",
3376 + .pmc_mask = 1 << AT91SAM9260_ID_PIOC,
3377 + .type = CLK_TYPE_PERIPHERAL,
3378 +};
3379 +static struct clk adc_clk = {
3380 + .name = "adc_clk",
3381 + .pmc_mask = 1 << AT91SAM9260_ID_ADC,
3382 + .type = CLK_TYPE_PERIPHERAL,
3383 +};
3384 +static struct clk usart0_clk = {
3385 + .name = "usart0_clk",
3386 + .pmc_mask = 1 << AT91SAM9260_ID_US0,
3387 + .type = CLK_TYPE_PERIPHERAL,
3388 +};
3389 +static struct clk usart1_clk = {
3390 + .name = "usart1_clk",
3391 + .pmc_mask = 1 << AT91SAM9260_ID_US1,
3392 + .type = CLK_TYPE_PERIPHERAL,
3393 +};
3394 +static struct clk usart2_clk = {
3395 + .name = "usart2_clk",
3396 + .pmc_mask = 1 << AT91SAM9260_ID_US2,
3397 + .type = CLK_TYPE_PERIPHERAL,
3398 +};
3399 +static struct clk mmc_clk = {
3400 + .name = "mci_clk",
3401 + .pmc_mask = 1 << AT91SAM9260_ID_MCI,
3402 + .type = CLK_TYPE_PERIPHERAL,
3403 +};
3404 +static struct clk udc_clk = {
3405 + .name = "udc_clk",
3406 + .pmc_mask = 1 << AT91SAM9260_ID_UDP,
3407 + .type = CLK_TYPE_PERIPHERAL,
3408 +};
3409 +static struct clk twi_clk = {
3410 + .name = "twi_clk",
3411 + .pmc_mask = 1 << AT91SAM9260_ID_TWI,
3412 + .type = CLK_TYPE_PERIPHERAL,
3413 +};
3414 +static struct clk spi0_clk = {
3415 + .name = "spi0_clk",
3416 + .pmc_mask = 1 << AT91SAM9260_ID_SPI0,
3417 + .type = CLK_TYPE_PERIPHERAL,
3418 +};
3419 +static struct clk spi1_clk = {
3420 + .name = "spi1_clk",
3421 + .pmc_mask = 1 << AT91SAM9260_ID_SPI1,
3422 + .type = CLK_TYPE_PERIPHERAL,
3423 +};
3424 +static struct clk ohci_clk = {
3425 + .name = "ohci_clk",
3426 + .pmc_mask = 1 << AT91SAM9260_ID_UHP,
3427 + .type = CLK_TYPE_PERIPHERAL,
3428 +};
3429 +static struct clk ether_clk = {
3430 + .name = "ether_clk",
3431 + .pmc_mask = 1 << AT91SAM9260_ID_EMAC,
3432 + .type = CLK_TYPE_PERIPHERAL,
3433 +};
3434 +static struct clk isi_clk = {
3435 + .name = "isi_clk",
3436 + .pmc_mask = 1 << AT91SAM9260_ID_ISI,
3437 + .type = CLK_TYPE_PERIPHERAL,
3438 +};
3439 +static struct clk usart3_clk = {
3440 + .name = "usart3_clk",
3441 + .pmc_mask = 1 << AT91SAM9260_ID_US3,
3442 + .type = CLK_TYPE_PERIPHERAL,
3443 +};
3444 +static struct clk usart4_clk = {
3445 + .name = "usart4_clk",
3446 + .pmc_mask = 1 << AT91SAM9260_ID_US4,
3447 + .type = CLK_TYPE_PERIPHERAL,
3448 +};
3449 +static struct clk usart5_clk = {
3450 + .name = "usart5_clk",
3451 + .pmc_mask = 1 << AT91SAM9260_ID_US5,
3452 + .type = CLK_TYPE_PERIPHERAL,
3453 +};
3454 +
3455 +static struct clk *periph_clocks[] __initdata = {
3456 + &pioA_clk,
3457 + &pioB_clk,
3458 + &pioC_clk,
3459 + &adc_clk,
3460 + &usart0_clk,
3461 + &usart1_clk,
3462 + &usart2_clk,
3463 + &mmc_clk,
3464 + &udc_clk,
3465 + &twi_clk,
3466 + &spi0_clk,
3467 + &spi1_clk,
3468 + // ssc
3469 + // tc0 .. tc2
3470 + &ohci_clk,
3471 + &ether_clk,
3472 + &isi_clk,
3473 + &usart3_clk,
3474 + &usart4_clk,
3475 + &usart5_clk,
3476 + // tc3 .. tc5
3477 + // irq0 .. irq2
3478 +};
3479 +
3480 +/*
3481 + * The two programmable clocks.
3482 + * You must configure pin multiplexing to bring these signals out.
3483 + */
3484 +static struct clk pck0 = {
3485 + .name = "pck0",
3486 + .pmc_mask = AT91_PMC_PCK0,
3487 + .type = CLK_TYPE_PROGRAMMABLE,
3488 + .id = 0,
3489 +};
3490 +static struct clk pck1 = {
3491 + .name = "pck1",
3492 + .pmc_mask = AT91_PMC_PCK1,
3493 + .type = CLK_TYPE_PROGRAMMABLE,
3494 + .id = 1,
3495 +};
3496 +
3497 +static void __init at91sam9260_register_clocks(void)
3498 +{
3499 + int i;
3500 +
3501 + for (i = 0; i < ARRAY_SIZE(periph_clocks); i++)
3502 + clk_register(periph_clocks[i]);
3503 +
3504 + clk_register(&pck0);
3505 + clk_register(&pck1);
3506 +}
3507 +
3508 +/* --------------------------------------------------------------------
3509 + * GPIO
3510 + * -------------------------------------------------------------------- */
3511 +
3512 +static struct at91_gpio_bank at91sam9260_gpio[] = {
3513 + {
3514 + .id = AT91SAM9260_ID_PIOA,
3515 + .offset = AT91_PIOA,
3516 + .clock = &pioA_clk,
3517 + }, {
3518 + .id = AT91SAM9260_ID_PIOB,
3519 + .offset = AT91_PIOB,
3520 + .clock = &pioB_clk,
3521 + }, {
3522 + .id = AT91SAM9260_ID_PIOC,
3523 + .offset = AT91_PIOC,
3524 + .clock = &pioC_clk,
3525 + }
3526 +};
3527 +
3528 +static void at91sam9260_reset(void)
3529 +{
3530 +#warning "Implement CPU reset"
3531 +}
3532 +
3533 +
3534 +/* --------------------------------------------------------------------
3535 + * AT91SAM9260 processor initialization
3536 + * -------------------------------------------------------------------- */
3537 +
3538 +void __init at91sam9260_initialize(unsigned long main_clock)
3539 +{
3540 + /* Map peripherals */
3541 + iotable_init(at91sam9260_io_desc, ARRAY_SIZE(at91sam9260_io_desc));
3542 +
3543 + at91_arch_reset = at91sam9260_reset;
3544 + at91_extern_irq = (1 << AT91SAM9260_ID_IRQ0) | (1 << AT91SAM9260_ID_IRQ1)
3545 + | (1 << AT91SAM9260_ID_IRQ2);
3546 +
3547 + /* Init clock subsystem */
3548 + at91_clock_init(main_clock);
3549 +
3550 + /* Register the processor-specific clocks */
3551 + at91sam9260_register_clocks();
3552 +
3553 + /* Register GPIO subsystem */
3554 + at91_gpio_init(at91sam9260_gpio, 3);
3555 +}
3556 +
3557 +/* --------------------------------------------------------------------
3558 + * Interrupt initialization
3559 + * -------------------------------------------------------------------- */
3560 +
3561 +/*
3562 + * The default interrupt priority levels (0 = lowest, 7 = highest).
3563 + */
3564 +static unsigned int at91sam9260_default_irq_priority[NR_AIC_IRQS] __initdata = {
3565 + 7, /* Advanced Interrupt Controller */
3566 + 7, /* System Peripherals */
3567 + 0, /* Parallel IO Controller A */
3568 + 0, /* Parallel IO Controller B */
3569 + 0, /* Parallel IO Controller C */
3570 + 0, /* Analog-to-Digital Converter */
3571 + 6, /* USART 0 */
3572 + 6, /* USART 1 */
3573 + 6, /* USART 2 */
3574 + 0, /* Multimedia Card Interface */
3575 + 4, /* USB Device Port */
3576 + 0, /* Two-Wire Interface */
3577 + 6, /* Serial Peripheral Interface 0 */
3578 + 6, /* Serial Peripheral Interface 1 */
3579 + 5, /* Serial Synchronous Controller */
3580 + 0,
3581 + 0,
3582 + 0, /* Timer Counter 0 */
3583 + 0, /* Timer Counter 1 */
3584 + 0, /* Timer Counter 2 */
3585 + 3, /* USB Host port */
3586 + 3, /* Ethernet */
3587 + 0, /* Image Sensor Interface */
3588 + 6, /* USART 3 */
3589 + 6, /* USART 4 */
3590 + 6, /* USART 5 */
3591 + 0, /* Timer Counter 3 */
3592 + 0, /* Timer Counter 4 */
3593 + 0, /* Timer Counter 5 */
3594 + 0, /* Advanced Interrupt Controller */
3595 + 0, /* Advanced Interrupt Controller */
3596 + 0, /* Advanced Interrupt Controller */
3597 +};
3598 +
3599 +void __init at91sam9260_init_interrupts(unsigned int priority[NR_AIC_IRQS])
3600 +{
3601 + if (!priority)
3602 + priority = at91sam9260_default_irq_priority;
3603 +
3604 + /* Initialize the AIC interrupt controller */
3605 + at91_aic_init(priority);
3606 +
3607 + /* Enable GPIO interrupts */
3608 + at91_gpio_irq_setup();
3609 +}
3610 diff -urN -x CVS linux-2.6.19-final/arch/arm/mach-at91rm9200/at91sam9260_devices.c linux-2.6.19/arch/arm/mach-at91rm9200/at91sam9260_devices.c
3611 --- linux-2.6.19-final/arch/arm/mach-at91rm9200/at91sam9260_devices.c Thu Jan 1 02:00:00 1970
3612 +++ linux-2.6.19/arch/arm/mach-at91rm9200/at91sam9260_devices.c Thu Nov 23 16:37:24 2006
3613 @@ -0,0 +1,892 @@
3614 +/*
3615 + * arch/arm/mach-at91rm9200/at91sam9260_devices.c
3616 + *
3617 + * Copyright (C) 2006 Atmel
3618 + *
3619 + * This program is free software; you can redistribute it and/or modify
3620 + * it under the terms of the GNU General Public License as published by
3621 + * the Free Software Foundation; either version 2 of the License, or
3622 + * (at your option) any later version.
3623 + *
3624 + */
3625 +#include <asm/mach/arch.h>
3626 +#include <asm/mach/map.h>
3627 +
3628 +#include <linux/platform_device.h>
3629 +
3630 +#include <asm/arch/board.h>
3631 +#include <asm/arch/gpio.h>
3632 +#include <asm/arch/at91sam9260.h>
3633 +#include <asm/arch/at91sam926x_mc.h>
3634 +
3635 +#include "generic.h"
3636 +
3637 +#define SZ_512 0x00000200
3638 +#define SZ_256 0x00000100
3639 +#define SZ_16 0x00000010
3640 +
3641 +/* --------------------------------------------------------------------
3642 + * USB Host
3643 + * -------------------------------------------------------------------- */
3644 +
3645 +#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
3646 +static u64 ohci_dmamask = 0xffffffffUL;
3647 +static struct at91_usbh_data usbh_data;
3648 +
3649 +static struct resource usbh_resources[] = {
3650 + [0] = {
3651 + .start = AT91SAM9260_UHP_BASE,
3652 + .end = AT91SAM9260_UHP_BASE + SZ_1M - 1,
3653 + .flags = IORESOURCE_MEM,
3654 + },
3655 + [1] = {
3656 + .start = AT91SAM9260_ID_UHP,
3657 + .end = AT91SAM9260_ID_UHP,
3658 + .flags = IORESOURCE_IRQ,
3659 + },
3660 +};
3661 +
3662 +static struct platform_device at91_usbh_device = {
3663 + .name = "at91_ohci",
3664 + .id = -1,
3665 + .dev = {
3666 + .dma_mask = &ohci_dmamask,
3667 + .coherent_dma_mask = 0xffffffff,
3668 + .platform_data = &usbh_data,
3669 + },
3670 + .resource = usbh_resources,
3671 + .num_resources = ARRAY_SIZE(usbh_resources),
3672 +};
3673 +
3674 +void __init at91_add_device_u