diff options
author | David Anders <danders@amltd.com> | 2008-04-10 17:36:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-17 12:34:56 -0400 |
commit | 79b34afa68de4088081bcb7b4aed0fc4d8bf3618 (patch) | |
tree | 973a360661305f76e6a5ab722383ce6fb3f7adea /arch | |
parent | de56a2f9228477866449963c2aff9df4728ea7fb (diff) |
[ARM] 4963/1: S3C2410 - add basic machine support for the TCT Hammer
Add the TinCanTools Hammer board to list of supported machines in the
arch/arm/mach-s3c2410 directory, as well as a default config entry. the
mach-tct_hammer.c file initializes basic i/o, clocks, irqs, as well as
the mtd flash layout if enabled in the kernel configuration.
Signed-off-by: David Anders <danders@amltd.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/tct_hammer_defconfig | 886 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-tct_hammer.c | 160 |
4 files changed, 1054 insertions, 0 deletions
diff --git a/arch/arm/configs/tct_hammer_defconfig b/arch/arm/configs/tct_hammer_defconfig new file mode 100644 index 000000000000..576b8339f0d6 --- /dev/null +++ b/arch/arm/configs/tct_hammer_defconfig | |||
@@ -0,0 +1,886 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.25-rc7-hammer | ||
4 | # Thu Mar 27 16:39:48 2008 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
8 | CONFIG_GENERIC_GPIO=y | ||
9 | # CONFIG_GENERIC_TIME is not set | ||
10 | # CONFIG_GENERIC_CLOCKEVENTS is not set | ||
11 | CONFIG_MMU=y | ||
12 | CONFIG_NO_IOPORT=y | ||
13 | CONFIG_GENERIC_HARDIRQS=y | ||
14 | CONFIG_STACKTRACE_SUPPORT=y | ||
15 | CONFIG_LOCKDEP_SUPPORT=y | ||
16 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
17 | CONFIG_HARDIRQS_SW_RESEND=y | ||
18 | CONFIG_GENERIC_IRQ_PROBE=y | ||
19 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
20 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
21 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
22 | CONFIG_GENERIC_HWEIGHT=y | ||
23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
24 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
25 | CONFIG_ZONE_DMA=y | ||
26 | CONFIG_VECTORS_BASE=0xffff0000 | ||
27 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
28 | |||
29 | # | ||
30 | # General setup | ||
31 | # | ||
32 | CONFIG_EXPERIMENTAL=y | ||
33 | CONFIG_BROKEN_ON_SMP=y | ||
34 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
35 | CONFIG_LOCALVERSION="" | ||
36 | # CONFIG_LOCALVERSION_AUTO is not set | ||
37 | # CONFIG_SWAP is not set | ||
38 | CONFIG_SYSVIPC=y | ||
39 | CONFIG_SYSVIPC_SYSCTL=y | ||
40 | # CONFIG_POSIX_MQUEUE is not set | ||
41 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
42 | # CONFIG_TASKSTATS is not set | ||
43 | # CONFIG_AUDIT is not set | ||
44 | # CONFIG_IKCONFIG is not set | ||
45 | CONFIG_LOG_BUF_SHIFT=14 | ||
46 | # CONFIG_CGROUPS is not set | ||
47 | CONFIG_GROUP_SCHED=y | ||
48 | CONFIG_FAIR_GROUP_SCHED=y | ||
49 | # CONFIG_RT_GROUP_SCHED is not set | ||
50 | CONFIG_USER_SCHED=y | ||
51 | # CONFIG_CGROUP_SCHED is not set | ||
52 | CONFIG_SYSFS_DEPRECATED=y | ||
53 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
54 | # CONFIG_RELAY is not set | ||
55 | # CONFIG_NAMESPACES is not set | ||
56 | CONFIG_BLK_DEV_INITRD=y | ||
57 | CONFIG_INITRAMFS_SOURCE="" | ||
58 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
59 | CONFIG_SYSCTL=y | ||
60 | CONFIG_EMBEDDED=y | ||
61 | CONFIG_UID16=y | ||
62 | CONFIG_SYSCTL_SYSCALL=y | ||
63 | # CONFIG_KALLSYMS is not set | ||
64 | CONFIG_HOTPLUG=y | ||
65 | CONFIG_PRINTK=y | ||
66 | # CONFIG_BUG is not set | ||
67 | # CONFIG_ELF_CORE is not set | ||
68 | CONFIG_COMPAT_BRK=y | ||
69 | CONFIG_BASE_FULL=y | ||
70 | CONFIG_FUTEX=y | ||
71 | CONFIG_ANON_INODES=y | ||
72 | CONFIG_EPOLL=y | ||
73 | CONFIG_SIGNALFD=y | ||
74 | CONFIG_TIMERFD=y | ||
75 | CONFIG_EVENTFD=y | ||
76 | # CONFIG_SHMEM is not set | ||
77 | CONFIG_VM_EVENT_COUNTERS=y | ||
78 | # CONFIG_SLAB is not set | ||
79 | # CONFIG_SLUB is not set | ||
80 | CONFIG_SLOB=y | ||
81 | # CONFIG_PROFILING is not set | ||
82 | # CONFIG_MARKERS is not set | ||
83 | CONFIG_HAVE_OPROFILE=y | ||
84 | CONFIG_HAVE_KPROBES=y | ||
85 | CONFIG_HAVE_KRETPROBES=y | ||
86 | CONFIG_PROC_PAGE_MONITOR=y | ||
87 | CONFIG_RT_MUTEXES=y | ||
88 | CONFIG_TINY_SHMEM=y | ||
89 | CONFIG_BASE_SMALL=0 | ||
90 | CONFIG_MODULES=y | ||
91 | CONFIG_MODULE_UNLOAD=y | ||
92 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
93 | # CONFIG_MODVERSIONS is not set | ||
94 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
95 | # CONFIG_KMOD is not set | ||
96 | CONFIG_BLOCK=y | ||
97 | # CONFIG_LBD is not set | ||
98 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
99 | # CONFIG_LSF is not set | ||
100 | # CONFIG_BLK_DEV_BSG is not set | ||
101 | |||
102 | # | ||
103 | # IO Schedulers | ||
104 | # | ||
105 | CONFIG_IOSCHED_NOOP=y | ||
106 | CONFIG_IOSCHED_AS=y | ||
107 | CONFIG_IOSCHED_DEADLINE=y | ||
108 | CONFIG_IOSCHED_CFQ=y | ||
109 | CONFIG_DEFAULT_AS=y | ||
110 | # CONFIG_DEFAULT_DEADLINE is not set | ||
111 | # CONFIG_DEFAULT_CFQ is not set | ||
112 | # CONFIG_DEFAULT_NOOP is not set | ||
113 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
114 | CONFIG_CLASSIC_RCU=y | ||
115 | |||
116 | # | ||
117 | # System Type | ||
118 | # | ||
119 | # CONFIG_ARCH_AAEC2000 is not set | ||
120 | # CONFIG_ARCH_INTEGRATOR is not set | ||
121 | # CONFIG_ARCH_REALVIEW is not set | ||
122 | # CONFIG_ARCH_VERSATILE is not set | ||
123 | # CONFIG_ARCH_AT91 is not set | ||
124 | # CONFIG_ARCH_CLPS7500 is not set | ||
125 | # CONFIG_ARCH_CLPS711X is not set | ||
126 | # CONFIG_ARCH_CO285 is not set | ||
127 | # CONFIG_ARCH_EBSA110 is not set | ||
128 | # CONFIG_ARCH_EP93XX is not set | ||
129 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
130 | # CONFIG_ARCH_NETX is not set | ||
131 | # CONFIG_ARCH_H720X is not set | ||
132 | # CONFIG_ARCH_IMX is not set | ||
133 | # CONFIG_ARCH_IOP13XX is not set | ||
134 | # CONFIG_ARCH_IOP32X is not set | ||
135 | # CONFIG_ARCH_IOP33X is not set | ||
136 | # CONFIG_ARCH_IXP23XX is not set | ||
137 | # CONFIG_ARCH_IXP2000 is not set | ||
138 | # CONFIG_ARCH_IXP4XX is not set | ||
139 | # CONFIG_ARCH_L7200 is not set | ||
140 | # CONFIG_ARCH_KS8695 is not set | ||
141 | # CONFIG_ARCH_NS9XXX is not set | ||
142 | # CONFIG_ARCH_MXC is not set | ||
143 | # CONFIG_ARCH_ORION is not set | ||
144 | # CONFIG_ARCH_PNX4008 is not set | ||
145 | # CONFIG_ARCH_PXA is not set | ||
146 | # CONFIG_ARCH_RPC is not set | ||
147 | # CONFIG_ARCH_SA1100 is not set | ||
148 | CONFIG_ARCH_S3C2410=y | ||
149 | # CONFIG_ARCH_SHARK is not set | ||
150 | # CONFIG_ARCH_LH7A40X is not set | ||
151 | # CONFIG_ARCH_DAVINCI is not set | ||
152 | # CONFIG_ARCH_OMAP is not set | ||
153 | # CONFIG_ARCH_MSM7X00A is not set | ||
154 | CONFIG_PLAT_S3C24XX=y | ||
155 | # CONFIG_S3C2410_DMA is not set | ||
156 | CONFIG_PLAT_S3C=y | ||
157 | CONFIG_CPU_LLSERIAL_S3C2410_ONLY=y | ||
158 | CONFIG_CPU_LLSERIAL_S3C2410=y | ||
159 | |||
160 | # | ||
161 | # Boot options | ||
162 | # | ||
163 | # CONFIG_S3C_BOOT_ERROR_RESET is not set | ||
164 | |||
165 | # | ||
166 | # Power management | ||
167 | # | ||
168 | CONFIG_S3C_LOWLEVEL_UART_PORT=0 | ||
169 | |||
170 | # | ||
171 | # S3C2400 Machines | ||
172 | # | ||
173 | CONFIG_CPU_S3C2410=y | ||
174 | CONFIG_S3C2410_GPIO=y | ||
175 | CONFIG_S3C2410_CLOCK=y | ||
176 | |||
177 | # | ||
178 | # S3C2410 Machines | ||
179 | # | ||
180 | # CONFIG_ARCH_SMDK2410 is not set | ||
181 | # CONFIG_ARCH_H1940 is not set | ||
182 | # CONFIG_MACH_N30 is not set | ||
183 | # CONFIG_ARCH_BAST is not set | ||
184 | # CONFIG_MACH_OTOM is not set | ||
185 | # CONFIG_MACH_AML_M5900 is not set | ||
186 | CONFIG_MACH_TCT_HAMMER=y | ||
187 | # CONFIG_MACH_VR1000 is not set | ||
188 | # CONFIG_MACH_QT2410 is not set | ||
189 | |||
190 | # | ||
191 | # S3C2412 Machines | ||
192 | # | ||
193 | # CONFIG_MACH_SMDK2413 is not set | ||
194 | # CONFIG_MACH_SMDK2412 is not set | ||
195 | # CONFIG_MACH_VSTMS is not set | ||
196 | |||
197 | # | ||
198 | # S3C2440 Machines | ||
199 | # | ||
200 | # CONFIG_MACH_ANUBIS is not set | ||
201 | # CONFIG_MACH_OSIRIS is not set | ||
202 | # CONFIG_MACH_RX3715 is not set | ||
203 | # CONFIG_ARCH_S3C2440 is not set | ||
204 | # CONFIG_MACH_NEXCODER_2440 is not set | ||
205 | |||
206 | # | ||
207 | # S3C2442 Machines | ||
208 | # | ||
209 | |||
210 | # | ||
211 | # S3C2443 Machines | ||
212 | # | ||
213 | # CONFIG_MACH_SMDK2443 is not set | ||
214 | |||
215 | # | ||
216 | # Processor Type | ||
217 | # | ||
218 | CONFIG_CPU_32=y | ||
219 | CONFIG_CPU_ARM920T=y | ||
220 | CONFIG_CPU_32v4T=y | ||
221 | CONFIG_CPU_ABRT_EV4T=y | ||
222 | CONFIG_CPU_CACHE_V4WT=y | ||
223 | CONFIG_CPU_CACHE_VIVT=y | ||
224 | CONFIG_CPU_COPY_V4WB=y | ||
225 | CONFIG_CPU_TLB_V4WBI=y | ||
226 | CONFIG_CPU_CP15=y | ||
227 | CONFIG_CPU_CP15_MMU=y | ||
228 | |||
229 | # | ||
230 | # Processor Features | ||
231 | # | ||
232 | CONFIG_ARM_THUMB=y | ||
233 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
234 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
235 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
236 | # CONFIG_OUTER_CACHE is not set | ||
237 | |||
238 | # | ||
239 | # Bus support | ||
240 | # | ||
241 | # CONFIG_PCI_SYSCALL is not set | ||
242 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
243 | # CONFIG_PCCARD is not set | ||
244 | |||
245 | # | ||
246 | # Kernel Features | ||
247 | # | ||
248 | # CONFIG_TICK_ONESHOT is not set | ||
249 | # CONFIG_PREEMPT is not set | ||
250 | # CONFIG_NO_IDLE_HZ is not set | ||
251 | CONFIG_HZ=200 | ||
252 | # CONFIG_AEABI is not set | ||
253 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
254 | CONFIG_SELECT_MEMORY_MODEL=y | ||
255 | CONFIG_FLATMEM_MANUAL=y | ||
256 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
257 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
258 | CONFIG_FLATMEM=y | ||
259 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
260 | # CONFIG_SPARSEMEM_STATIC is not set | ||
261 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
262 | CONFIG_SPLIT_PTLOCK_CPUS=4096 | ||
263 | # CONFIG_RESOURCES_64BIT is not set | ||
264 | CONFIG_ZONE_DMA_FLAG=1 | ||
265 | CONFIG_BOUNCE=y | ||
266 | CONFIG_VIRT_TO_BUS=y | ||
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 root=/dev/ram0 init=/linuxrc rw" | ||
275 | # CONFIG_XIP_KERNEL is not set | ||
276 | # CONFIG_KEXEC is not set | ||
277 | |||
278 | # | ||
279 | # Floating point emulation | ||
280 | # | ||
281 | |||
282 | # | ||
283 | # At least one emulation must be selected | ||
284 | # | ||
285 | CONFIG_FPE_NWFPE=y | ||
286 | # CONFIG_FPE_NWFPE_XP is not set | ||
287 | # CONFIG_FPE_FASTFPE 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_ARCH_SUSPEND_POSSIBLE=y | ||
302 | |||
303 | # | ||
304 | # Networking | ||
305 | # | ||
306 | CONFIG_NET=y | ||
307 | |||
308 | # | ||
309 | # Networking options | ||
310 | # | ||
311 | CONFIG_PACKET=y | ||
312 | # CONFIG_PACKET_MMAP is not set | ||
313 | CONFIG_UNIX=y | ||
314 | # CONFIG_NET_KEY is not set | ||
315 | # CONFIG_INET is not set | ||
316 | # CONFIG_NETWORK_SECMARK is not set | ||
317 | # CONFIG_NETFILTER is not set | ||
318 | # CONFIG_ATM is not set | ||
319 | # CONFIG_BRIDGE is not set | ||
320 | # CONFIG_VLAN_8021Q is not set | ||
321 | # CONFIG_DECNET is not set | ||
322 | # CONFIG_LLC2 is not set | ||
323 | # CONFIG_IPX is not set | ||
324 | # CONFIG_ATALK is not set | ||
325 | # CONFIG_X25 is not set | ||
326 | # CONFIG_LAPB is not set | ||
327 | # CONFIG_WAN_ROUTER is not set | ||
328 | # CONFIG_NET_SCHED is not set | ||
329 | |||
330 | # | ||
331 | # Network testing | ||
332 | # | ||
333 | # CONFIG_NET_PKTGEN is not set | ||
334 | # CONFIG_HAMRADIO is not set | ||
335 | # CONFIG_CAN is not set | ||
336 | # CONFIG_IRDA is not set | ||
337 | # CONFIG_BT is not set | ||
338 | |||
339 | # | ||
340 | # Wireless | ||
341 | # | ||
342 | # CONFIG_CFG80211 is not set | ||
343 | # CONFIG_WIRELESS_EXT is not set | ||
344 | # CONFIG_MAC80211 is not set | ||
345 | # CONFIG_IEEE80211 is not set | ||
346 | # CONFIG_RFKILL is not set | ||
347 | # CONFIG_NET_9P is not set | ||
348 | |||
349 | # | ||
350 | # Device Drivers | ||
351 | # | ||
352 | |||
353 | # | ||
354 | # Generic Driver Options | ||
355 | # | ||
356 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
357 | CONFIG_STANDALONE=y | ||
358 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
359 | CONFIG_FW_LOADER=y | ||
360 | # CONFIG_DEBUG_DRIVER is not set | ||
361 | # CONFIG_DEBUG_DEVRES is not set | ||
362 | # CONFIG_SYS_HYPERVISOR is not set | ||
363 | # CONFIG_CONNECTOR is not set | ||
364 | CONFIG_MTD=y | ||
365 | # CONFIG_MTD_DEBUG is not set | ||
366 | # CONFIG_MTD_CONCAT is not set | ||
367 | CONFIG_MTD_PARTITIONS=y | ||
368 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
369 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
370 | # CONFIG_MTD_AFS_PARTS is not set | ||
371 | |||
372 | # | ||
373 | # User Modules And Translation Layers | ||
374 | # | ||
375 | CONFIG_MTD_CHAR=y | ||
376 | CONFIG_MTD_BLKDEVS=y | ||
377 | CONFIG_MTD_BLOCK=y | ||
378 | # CONFIG_FTL is not set | ||
379 | # CONFIG_NFTL is not set | ||
380 | # CONFIG_INFTL is not set | ||
381 | # CONFIG_RFD_FTL is not set | ||
382 | # CONFIG_SSFDC is not set | ||
383 | # CONFIG_MTD_OOPS is not set | ||
384 | |||
385 | # | ||
386 | # RAM/ROM/Flash chip drivers | ||
387 | # | ||
388 | CONFIG_MTD_CFI=y | ||
389 | # CONFIG_MTD_JEDECPROBE is not set | ||
390 | CONFIG_MTD_GEN_PROBE=y | ||
391 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
392 | CONFIG_MTD_CFI_NOSWAP=y | ||
393 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
394 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
395 | CONFIG_MTD_CFI_GEOMETRY=y | ||
396 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
397 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
398 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
399 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
400 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
401 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
402 | CONFIG_MTD_CFI_I1=y | ||
403 | CONFIG_MTD_CFI_I2=y | ||
404 | # CONFIG_MTD_CFI_I4 is not set | ||
405 | # CONFIG_MTD_CFI_I8 is not set | ||
406 | # CONFIG_MTD_OTP is not set | ||
407 | CONFIG_MTD_CFI_INTELEXT=y | ||
408 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
409 | # CONFIG_MTD_CFI_STAA is not set | ||
410 | CONFIG_MTD_CFI_UTIL=y | ||
411 | # CONFIG_MTD_RAM is not set | ||
412 | # CONFIG_MTD_ROM is not set | ||
413 | # CONFIG_MTD_ABSENT is not set | ||
414 | |||
415 | # | ||
416 | # Mapping drivers for chip access | ||
417 | # | ||
418 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
419 | CONFIG_MTD_PHYSMAP=y | ||
420 | CONFIG_MTD_PHYSMAP_START=0x00000000 | ||
421 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
422 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
423 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
424 | # CONFIG_MTD_PLATRAM is not set | ||
425 | |||
426 | # | ||
427 | # Self-contained MTD device drivers | ||
428 | # | ||
429 | # CONFIG_MTD_SLRAM is not set | ||
430 | # CONFIG_MTD_PHRAM is not set | ||
431 | # CONFIG_MTD_MTDRAM is not set | ||
432 | # CONFIG_MTD_BLOCK2MTD is not set | ||
433 | |||
434 | # | ||
435 | # Disk-On-Chip Device Drivers | ||
436 | # | ||
437 | # CONFIG_MTD_DOC2000 is not set | ||
438 | # CONFIG_MTD_DOC2001 is not set | ||
439 | # CONFIG_MTD_DOC2001PLUS is not set | ||
440 | # CONFIG_MTD_NAND is not set | ||
441 | # CONFIG_MTD_ONENAND is not set | ||
442 | |||
443 | # | ||
444 | # UBI - Unsorted block images | ||
445 | # | ||
446 | # CONFIG_MTD_UBI is not set | ||
447 | # CONFIG_PARPORT is not set | ||
448 | CONFIG_BLK_DEV=y | ||
449 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
450 | # CONFIG_BLK_DEV_LOOP is not set | ||
451 | # CONFIG_BLK_DEV_NBD is not set | ||
452 | # CONFIG_BLK_DEV_UB is not set | ||
453 | CONFIG_BLK_DEV_RAM=y | ||
454 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
455 | CONFIG_BLK_DEV_RAM_SIZE=10240 | ||
456 | # CONFIG_BLK_DEV_XIP is not set | ||
457 | # CONFIG_CDROM_PKTCDVD is not set | ||
458 | # CONFIG_ATA_OVER_ETH is not set | ||
459 | # CONFIG_MISC_DEVICES is not set | ||
460 | CONFIG_HAVE_IDE=y | ||
461 | # CONFIG_IDE is not set | ||
462 | |||
463 | # | ||
464 | # SCSI device support | ||
465 | # | ||
466 | # CONFIG_RAID_ATTRS is not set | ||
467 | # CONFIG_SCSI is not set | ||
468 | # CONFIG_SCSI_DMA is not set | ||
469 | # CONFIG_SCSI_NETLINK is not set | ||
470 | # CONFIG_ATA is not set | ||
471 | # CONFIG_MD is not set | ||
472 | # CONFIG_NETDEVICES is not set | ||
473 | # CONFIG_ISDN is not set | ||
474 | |||
475 | # | ||
476 | # Input device support | ||
477 | # | ||
478 | CONFIG_INPUT=y | ||
479 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
480 | # CONFIG_INPUT_POLLDEV is not set | ||
481 | |||
482 | # | ||
483 | # Userland interfaces | ||
484 | # | ||
485 | # CONFIG_INPUT_MOUSEDEV is not set | ||
486 | # CONFIG_INPUT_JOYDEV is not set | ||
487 | # CONFIG_INPUT_EVDEV is not set | ||
488 | # CONFIG_INPUT_EVBUG is not set | ||
489 | |||
490 | # | ||
491 | # Input Device Drivers | ||
492 | # | ||
493 | # CONFIG_INPUT_KEYBOARD is not set | ||
494 | # CONFIG_INPUT_MOUSE is not set | ||
495 | # CONFIG_INPUT_JOYSTICK is not set | ||
496 | # CONFIG_INPUT_TABLET is not set | ||
497 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
498 | # CONFIG_INPUT_MISC is not set | ||
499 | |||
500 | # | ||
501 | # Hardware I/O ports | ||
502 | # | ||
503 | # CONFIG_SERIO is not set | ||
504 | # CONFIG_GAMEPORT is not set | ||
505 | |||
506 | # | ||
507 | # Character devices | ||
508 | # | ||
509 | CONFIG_VT=y | ||
510 | # CONFIG_VT_CONSOLE is not set | ||
511 | CONFIG_HW_CONSOLE=y | ||
512 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
513 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
514 | |||
515 | # | ||
516 | # Serial drivers | ||
517 | # | ||
518 | # CONFIG_SERIAL_8250 is not set | ||
519 | |||
520 | # | ||
521 | # Non-8250 serial port support | ||
522 | # | ||
523 | CONFIG_SERIAL_S3C2410=y | ||
524 | CONFIG_SERIAL_S3C2410_CONSOLE=y | ||
525 | CONFIG_SERIAL_CORE=y | ||
526 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
527 | CONFIG_UNIX98_PTYS=y | ||
528 | CONFIG_LEGACY_PTYS=y | ||
529 | CONFIG_LEGACY_PTY_COUNT=256 | ||
530 | # CONFIG_IPMI_HANDLER is not set | ||
531 | # CONFIG_HW_RANDOM is not set | ||
532 | # CONFIG_NVRAM is not set | ||
533 | # CONFIG_R3964 is not set | ||
534 | # CONFIG_RAW_DRIVER is not set | ||
535 | # CONFIG_TCG_TPM is not set | ||
536 | # CONFIG_I2C is not set | ||
537 | |||
538 | # | ||
539 | # SPI support | ||
540 | # | ||
541 | # CONFIG_SPI is not set | ||
542 | # CONFIG_SPI_MASTER is not set | ||
543 | # CONFIG_W1 is not set | ||
544 | # CONFIG_POWER_SUPPLY is not set | ||
545 | # CONFIG_HWMON is not set | ||
546 | # CONFIG_WATCHDOG is not set | ||
547 | |||
548 | # | ||
549 | # Sonics Silicon Backplane | ||
550 | # | ||
551 | CONFIG_SSB_POSSIBLE=y | ||
552 | # CONFIG_SSB is not set | ||
553 | |||
554 | # | ||
555 | # Multifunction device drivers | ||
556 | # | ||
557 | # CONFIG_MFD_SM501 is not set | ||
558 | # CONFIG_MFD_ASIC3 is not set | ||
559 | |||
560 | # | ||
561 | # Multimedia devices | ||
562 | # | ||
563 | # CONFIG_VIDEO_DEV is not set | ||
564 | # CONFIG_DAB is not set | ||
565 | |||
566 | # | ||
567 | # Graphics support | ||
568 | # | ||
569 | # CONFIG_VGASTATE is not set | ||
570 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
571 | # CONFIG_FB is not set | ||
572 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
573 | |||
574 | # | ||
575 | # Display device support | ||
576 | # | ||
577 | # CONFIG_DISPLAY_SUPPORT is not set | ||
578 | |||
579 | # | ||
580 | # Console display driver support | ||
581 | # | ||
582 | # CONFIG_VGA_CONSOLE is not set | ||
583 | CONFIG_DUMMY_CONSOLE=y | ||
584 | |||
585 | # | ||
586 | # Sound | ||
587 | # | ||
588 | # CONFIG_SOUND is not set | ||
589 | # CONFIG_HID_SUPPORT is not set | ||
590 | CONFIG_USB_SUPPORT=y | ||
591 | CONFIG_USB_ARCH_HAS_HCD=y | ||
592 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
593 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
594 | CONFIG_USB=y | ||
595 | CONFIG_USB_DEBUG=y | ||
596 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
597 | |||
598 | # | ||
599 | # Miscellaneous USB options | ||
600 | # | ||
601 | # CONFIG_USB_DEVICEFS is not set | ||
602 | # CONFIG_USB_DEVICE_CLASS is not set | ||
603 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
604 | # CONFIG_USB_OTG is not set | ||
605 | |||
606 | # | ||
607 | # USB Host Controller Drivers | ||
608 | # | ||
609 | # CONFIG_USB_ISP116X_HCD is not set | ||
610 | CONFIG_USB_OHCI_HCD=y | ||
611 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
612 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
613 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
614 | # CONFIG_USB_SL811_HCD is not set | ||
615 | # CONFIG_USB_R8A66597_HCD is not set | ||
616 | |||
617 | # | ||
618 | # USB Device Class drivers | ||
619 | # | ||
620 | # CONFIG_USB_ACM is not set | ||
621 | # CONFIG_USB_PRINTER is not set | ||
622 | |||
623 | # | ||
624 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
625 | # | ||
626 | |||
627 | # | ||
628 | # may also be needed; see USB_STORAGE Help for more information | ||
629 | # | ||
630 | # CONFIG_USB_LIBUSUAL is not set | ||
631 | |||
632 | # | ||
633 | # USB Imaging devices | ||
634 | # | ||
635 | # CONFIG_USB_MDC800 is not set | ||
636 | CONFIG_USB_MON=y | ||
637 | |||
638 | # | ||
639 | # USB port drivers | ||
640 | # | ||
641 | # CONFIG_USB_SERIAL is not set | ||
642 | |||
643 | # | ||
644 | # USB Miscellaneous drivers | ||
645 | # | ||
646 | # CONFIG_USB_EMI62 is not set | ||
647 | # CONFIG_USB_EMI26 is not set | ||
648 | # CONFIG_USB_ADUTUX is not set | ||
649 | # CONFIG_USB_AUERSWALD is not set | ||
650 | # CONFIG_USB_RIO500 is not set | ||
651 | # CONFIG_USB_LEGOTOWER is not set | ||
652 | # CONFIG_USB_LCD is not set | ||
653 | # CONFIG_USB_BERRY_CHARGE is not set | ||
654 | # CONFIG_USB_LED is not set | ||
655 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
656 | # CONFIG_USB_CYTHERM is not set | ||
657 | # CONFIG_USB_PHIDGET is not set | ||
658 | # CONFIG_USB_IDMOUSE is not set | ||
659 | # CONFIG_USB_FTDI_ELAN is not set | ||
660 | # CONFIG_USB_APPLEDISPLAY is not set | ||
661 | # CONFIG_USB_LD is not set | ||
662 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
663 | # CONFIG_USB_IOWARRIOR is not set | ||
664 | CONFIG_USB_GADGET=y | ||
665 | # CONFIG_USB_GADGET_DEBUG is not set | ||
666 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
667 | CONFIG_USB_GADGET_SELECTED=y | ||
668 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
669 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
670 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
671 | # CONFIG_USB_GADGET_NET2280 is not set | ||
672 | # CONFIG_USB_GADGET_PXA2XX is not set | ||
673 | # CONFIG_USB_GADGET_M66592 is not set | ||
674 | # CONFIG_USB_GADGET_GOKU is not set | ||
675 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
676 | # CONFIG_USB_GADGET_OMAP is not set | ||
677 | CONFIG_USB_GADGET_S3C2410=y | ||
678 | CONFIG_USB_S3C2410=y | ||
679 | # CONFIG_USB_S3C2410_DEBUG is not set | ||
680 | # CONFIG_USB_GADGET_AT91 is not set | ||
681 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
682 | # CONFIG_USB_GADGET_DUALSPEED is not set | ||
683 | # CONFIG_USB_ZERO is not set | ||
684 | CONFIG_USB_ETH=y | ||
685 | CONFIG_USB_ETH_RNDIS=y | ||
686 | # CONFIG_USB_GADGETFS is not set | ||
687 | # CONFIG_USB_FILE_STORAGE is not set | ||
688 | # CONFIG_USB_G_SERIAL is not set | ||
689 | # CONFIG_USB_MIDI_GADGET is not set | ||
690 | # CONFIG_USB_G_PRINTER is not set | ||
691 | # CONFIG_MMC is not set | ||
692 | # CONFIG_NEW_LEDS is not set | ||
693 | CONFIG_RTC_LIB=y | ||
694 | # CONFIG_RTC_CLASS is not set | ||
695 | |||
696 | # | ||
697 | # File systems | ||
698 | # | ||
699 | CONFIG_EXT2_FS=y | ||
700 | # CONFIG_EXT2_FS_XATTR is not set | ||
701 | # CONFIG_EXT2_FS_XIP is not set | ||
702 | # CONFIG_EXT3_FS is not set | ||
703 | # CONFIG_EXT4DEV_FS is not set | ||
704 | # CONFIG_REISERFS_FS is not set | ||
705 | # CONFIG_JFS_FS is not set | ||
706 | # CONFIG_FS_POSIX_ACL is not set | ||
707 | # CONFIG_XFS_FS is not set | ||
708 | # CONFIG_GFS2_FS is not set | ||
709 | # CONFIG_OCFS2_FS is not set | ||
710 | # CONFIG_DNOTIFY is not set | ||
711 | # CONFIG_INOTIFY is not set | ||
712 | # CONFIG_QUOTA is not set | ||
713 | # CONFIG_AUTOFS_FS is not set | ||
714 | # CONFIG_AUTOFS4_FS is not set | ||
715 | # CONFIG_FUSE_FS is not set | ||
716 | |||
717 | # | ||
718 | # CD-ROM/DVD Filesystems | ||
719 | # | ||
720 | # CONFIG_ISO9660_FS is not set | ||
721 | # CONFIG_UDF_FS is not set | ||
722 | |||
723 | # | ||
724 | # DOS/FAT/NT Filesystems | ||
725 | # | ||
726 | CONFIG_FAT_FS=y | ||
727 | CONFIG_MSDOS_FS=y | ||
728 | CONFIG_VFAT_FS=y | ||
729 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
730 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
731 | # CONFIG_NTFS_FS is not set | ||
732 | |||
733 | # | ||
734 | # Pseudo filesystems | ||
735 | # | ||
736 | CONFIG_PROC_FS=y | ||
737 | # CONFIG_PROC_SYSCTL is not set | ||
738 | CONFIG_SYSFS=y | ||
739 | # CONFIG_TMPFS is not set | ||
740 | # CONFIG_HUGETLB_PAGE is not set | ||
741 | # CONFIG_CONFIGFS_FS is not set | ||
742 | |||
743 | # | ||
744 | # Miscellaneous filesystems | ||
745 | # | ||
746 | # CONFIG_ADFS_FS is not set | ||
747 | # CONFIG_AFFS_FS is not set | ||
748 | # CONFIG_HFS_FS is not set | ||
749 | # CONFIG_HFSPLUS_FS is not set | ||
750 | # CONFIG_BEFS_FS is not set | ||
751 | # CONFIG_BFS_FS is not set | ||
752 | # CONFIG_EFS_FS is not set | ||
753 | CONFIG_JFFS2_FS=y | ||
754 | CONFIG_JFFS2_FS_DEBUG=0 | ||
755 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
756 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
757 | # CONFIG_JFFS2_SUMMARY is not set | ||
758 | # CONFIG_JFFS2_FS_XATTR is not set | ||
759 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
760 | CONFIG_JFFS2_ZLIB=y | ||
761 | # CONFIG_JFFS2_LZO is not set | ||
762 | CONFIG_JFFS2_RTIME=y | ||
763 | # CONFIG_JFFS2_RUBIN is not set | ||
764 | # CONFIG_CRAMFS is not set | ||
765 | # CONFIG_VXFS_FS is not set | ||
766 | # CONFIG_MINIX_FS is not set | ||
767 | # CONFIG_HPFS_FS is not set | ||
768 | # CONFIG_QNX4FS_FS is not set | ||
769 | # CONFIG_ROMFS_FS is not set | ||
770 | # CONFIG_SYSV_FS is not set | ||
771 | # CONFIG_UFS_FS is not set | ||
772 | CONFIG_NETWORK_FILESYSTEMS=y | ||
773 | |||
774 | # | ||
775 | # Partition Types | ||
776 | # | ||
777 | # CONFIG_PARTITION_ADVANCED is not set | ||
778 | CONFIG_MSDOS_PARTITION=y | ||
779 | CONFIG_NLS=y | ||
780 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
781 | CONFIG_NLS_CODEPAGE_437=y | ||
782 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
783 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
784 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
785 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
786 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
787 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
788 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
789 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
790 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
791 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
792 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
793 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
794 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
795 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
796 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
797 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
798 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
799 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
800 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
801 | # CONFIG_NLS_ISO8859_8 is not set | ||
802 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
803 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
804 | # CONFIG_NLS_ASCII is not set | ||
805 | CONFIG_NLS_ISO8859_1=y | ||
806 | # CONFIG_NLS_ISO8859_2 is not set | ||
807 | # CONFIG_NLS_ISO8859_3 is not set | ||
808 | # CONFIG_NLS_ISO8859_4 is not set | ||
809 | # CONFIG_NLS_ISO8859_5 is not set | ||
810 | # CONFIG_NLS_ISO8859_6 is not set | ||
811 | # CONFIG_NLS_ISO8859_7 is not set | ||
812 | # CONFIG_NLS_ISO8859_9 is not set | ||
813 | # CONFIG_NLS_ISO8859_13 is not set | ||
814 | # CONFIG_NLS_ISO8859_14 is not set | ||
815 | # CONFIG_NLS_ISO8859_15 is not set | ||
816 | # CONFIG_NLS_KOI8_R is not set | ||
817 | # CONFIG_NLS_KOI8_U is not set | ||
818 | # CONFIG_NLS_UTF8 is not set | ||
819 | |||
820 | # | ||
821 | # Kernel hacking | ||
822 | # | ||
823 | # CONFIG_PRINTK_TIME is not set | ||
824 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
825 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
826 | # CONFIG_MAGIC_SYSRQ is not set | ||
827 | # CONFIG_UNUSED_SYMBOLS is not set | ||
828 | # CONFIG_DEBUG_FS is not set | ||
829 | # CONFIG_HEADERS_CHECK is not set | ||
830 | CONFIG_DEBUG_KERNEL=y | ||
831 | # CONFIG_DEBUG_SHIRQ is not set | ||
832 | # CONFIG_DETECT_SOFTLOCKUP is not set | ||
833 | CONFIG_SCHED_DEBUG=y | ||
834 | # CONFIG_SCHEDSTATS is not set | ||
835 | # CONFIG_TIMER_STATS is not set | ||
836 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
837 | # CONFIG_RT_MUTEX_TESTER is not set | ||
838 | # CONFIG_DEBUG_SPINLOCK is not set | ||
839 | # CONFIG_DEBUG_MUTEXES is not set | ||
840 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
841 | # CONFIG_PROVE_LOCKING is not set | ||
842 | # CONFIG_LOCK_STAT is not set | ||
843 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
844 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
845 | # CONFIG_DEBUG_KOBJECT is not set | ||
846 | # CONFIG_DEBUG_INFO is not set | ||
847 | # CONFIG_DEBUG_VM is not set | ||
848 | # CONFIG_DEBUG_LIST is not set | ||
849 | # CONFIG_DEBUG_SG is not set | ||
850 | CONFIG_FRAME_POINTER=y | ||
851 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
852 | # CONFIG_RCU_TORTURE_TEST is not set | ||
853 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
854 | # CONFIG_FAULT_INJECTION is not set | ||
855 | # CONFIG_SAMPLES is not set | ||
856 | # CONFIG_DEBUG_USER is not set | ||
857 | CONFIG_DEBUG_ERRORS=y | ||
858 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
859 | CONFIG_DEBUG_LL=y | ||
860 | # CONFIG_DEBUG_ICEDCC is not set | ||
861 | # CONFIG_DEBUG_S3C_PORT is not set | ||
862 | CONFIG_DEBUG_S3C_UART=0 | ||
863 | |||
864 | # | ||
865 | # Security options | ||
866 | # | ||
867 | # CONFIG_KEYS is not set | ||
868 | # CONFIG_SECURITY is not set | ||
869 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
870 | # CONFIG_CRYPTO is not set | ||
871 | |||
872 | # | ||
873 | # Library routines | ||
874 | # | ||
875 | CONFIG_BITREVERSE=y | ||
876 | CONFIG_CRC_CCITT=y | ||
877 | # CONFIG_CRC16 is not set | ||
878 | # CONFIG_CRC_ITU_T is not set | ||
879 | CONFIG_CRC32=y | ||
880 | # CONFIG_CRC7 is not set | ||
881 | # CONFIG_LIBCRC32C is not set | ||
882 | CONFIG_ZLIB_INFLATE=y | ||
883 | CONFIG_ZLIB_DEFLATE=y | ||
884 | CONFIG_PLIST=y | ||
885 | CONFIG_HAS_IOMEM=y | ||
886 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig index e2079cf9266f..cd3dc0834b3b 100644 --- a/arch/arm/mach-s3c2410/Kconfig +++ b/arch/arm/mach-s3c2410/Kconfig | |||
@@ -97,6 +97,13 @@ config BAST_PC104_IRQ | |||
97 | Say Y here to enable the PC104 IRQ routing on the | 97 | Say Y here to enable the PC104 IRQ routing on the |
98 | Simtec BAST (EB2410ITX) | 98 | Simtec BAST (EB2410ITX) |
99 | 99 | ||
100 | config MACH_TCT_HAMMER | ||
101 | bool "TCT Hammer Board" | ||
102 | select CPU_S3C2410 | ||
103 | help | ||
104 | Say Y here if you are using the TinCanTools Hammer Board | ||
105 | <http://www.tincantools.com> | ||
106 | |||
100 | config MACH_VR1000 | 107 | config MACH_VR1000 |
101 | bool "Thorcom VR1000" | 108 | bool "Thorcom VR1000" |
102 | select PM_SIMTEC if PM | 109 | select PM_SIMTEC if PM |
diff --git a/arch/arm/mach-s3c2410/Makefile b/arch/arm/mach-s3c2410/Makefile index 3e7a85594d9c..cabc13ce09e4 100644 --- a/arch/arm/mach-s3c2410/Makefile +++ b/arch/arm/mach-s3c2410/Makefile | |||
@@ -27,5 +27,6 @@ obj-$(CONFIG_ARCH_BAST) += mach-bast.o usb-simtec.o | |||
27 | obj-$(CONFIG_MACH_OTOM) += mach-otom.o | 27 | obj-$(CONFIG_MACH_OTOM) += mach-otom.o |
28 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o | 28 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o |
29 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o | 29 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o |
30 | obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o | ||
30 | obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o usb-simtec.o | 31 | obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o usb-simtec.o |
31 | obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o | 32 | obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o |
diff --git a/arch/arm/mach-s3c2410/mach-tct_hammer.c b/arch/arm/mach-s3c2410/mach-tct_hammer.c new file mode 100644 index 000000000000..d90d445ccfb4 --- /dev/null +++ b/arch/arm/mach-s3c2410/mach-tct_hammer.c | |||
@@ -0,0 +1,160 @@ | |||
1 | /* linux/arch/arm/mach-s3c2410/mach-tct_hammer.c | ||
2 | * | ||
3 | * Copyright (c) 2007 TinCanTools | ||
4 | * David Anders <danders@amltd.com> | ||
5 | |||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License as | ||
8 | * published by the Free Software Foundation; either version 2 of | ||
9 | * the License, or (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
19 | * MA 02111-1307 USA | ||
20 | * | ||
21 | * @History: | ||
22 | * derived from linux/arch/arm/mach-s3c2410/mach-bast.c, written by | ||
23 | * Ben Dooks <ben@simtec.co.uk> | ||
24 | * | ||
25 | ***********************************************************************/ | ||
26 | |||
27 | #include <linux/kernel.h> | ||
28 | #include <linux/types.h> | ||
29 | #include <linux/interrupt.h> | ||
30 | #include <linux/list.h> | ||
31 | #include <linux/timer.h> | ||
32 | #include <linux/init.h> | ||
33 | #include <linux/device.h> | ||
34 | #include <linux/platform_device.h> | ||
35 | #include <linux/serial_core.h> | ||
36 | |||
37 | #include <asm/mach/arch.h> | ||
38 | #include <asm/mach/map.h> | ||
39 | #include <asm/mach/irq.h> | ||
40 | #include <asm/mach/flash.h> | ||
41 | |||
42 | #include <asm/hardware.h> | ||
43 | #include <asm/io.h> | ||
44 | #include <asm/irq.h> | ||
45 | #include <asm/mach-types.h> | ||
46 | |||
47 | #include <asm/plat-s3c/regs-serial.h> | ||
48 | #include <asm/plat-s3c24xx/devs.h> | ||
49 | #include <asm/plat-s3c24xx/cpu.h> | ||
50 | |||
51 | #ifdef CONFIG_MTD_PARTITIONS | ||
52 | |||
53 | #include <linux/mtd/mtd.h> | ||
54 | #include <linux/mtd/partitions.h> | ||
55 | #include <linux/mtd/map.h> | ||
56 | #include <linux/mtd/physmap.h> | ||
57 | |||
58 | static struct resource tct_hammer_nor_resource = { | ||
59 | .start = 0x00000000, | ||
60 | .end = 0x01000000 - 1, | ||
61 | .flags = IORESOURCE_MEM, | ||
62 | }; | ||
63 | |||
64 | static struct mtd_partition tct_hammer_mtd_partitions[] = { | ||
65 | { | ||
66 | .name = "System", | ||
67 | .size = 0x240000, | ||
68 | .offset = 0, | ||
69 | .mask_flags = MTD_WRITEABLE, /* force read-only */ | ||
70 | }, { | ||
71 | .name = "JFFS2", | ||
72 | .size = MTDPART_SIZ_FULL, | ||
73 | .offset = MTDPART_OFS_APPEND, | ||
74 | } | ||
75 | }; | ||
76 | |||
77 | static struct physmap_flash_data tct_hammer_flash_data = { | ||
78 | .width = 2, | ||
79 | .parts = tct_hammer_mtd_partitions, | ||
80 | .nr_parts = ARRAY_SIZE(tct_hammer_mtd_partitions), | ||
81 | }; | ||
82 | |||
83 | static struct platform_device tct_hammer_device_nor = { | ||
84 | .name = "physmap-flash", | ||
85 | .id = 0, | ||
86 | .dev = { | ||
87 | .platform_data = &tct_hammer_flash_data, | ||
88 | }, | ||
89 | .num_resources = 1, | ||
90 | .resource = &tct_hammer_nor_resource, | ||
91 | }; | ||
92 | |||
93 | #endif | ||
94 | |||
95 | static struct map_desc tct_hammer_iodesc[] __initdata = { | ||
96 | }; | ||
97 | |||
98 | #define UCON S3C2410_UCON_DEFAULT | ||
99 | #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB | ||
100 | #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE | ||
101 | |||
102 | static struct s3c2410_uartcfg tct_hammer_uartcfgs[] = { | ||
103 | [0] = { | ||
104 | .hwport = 0, | ||
105 | .flags = 0, | ||
106 | .ucon = UCON, | ||
107 | .ulcon = ULCON, | ||
108 | .ufcon = UFCON, | ||
109 | }, | ||
110 | [1] = { | ||
111 | .hwport = 1, | ||
112 | .flags = 0, | ||
113 | .ucon = UCON, | ||
114 | .ulcon = ULCON, | ||
115 | .ufcon = UFCON, | ||
116 | }, | ||
117 | [2] = { | ||
118 | .hwport = 2, | ||
119 | .flags = 0, | ||
120 | .ucon = UCON, | ||
121 | .ulcon = ULCON, | ||
122 | .ufcon = UFCON, | ||
123 | } | ||
124 | }; | ||
125 | |||
126 | |||
127 | static struct platform_device *tct_hammer_devices[] __initdata = { | ||
128 | &s3c_device_adc, | ||
129 | &s3c_device_wdt, | ||
130 | &s3c_device_i2c, | ||
131 | &s3c_device_usb, | ||
132 | &s3c_device_rtc, | ||
133 | &s3c_device_usbgadget, | ||
134 | &s3c_device_sdi, | ||
135 | #ifdef CONFIG_MTD_PARTITIONS | ||
136 | &tct_hammer_device_nor, | ||
137 | #endif | ||
138 | }; | ||
139 | |||
140 | static void __init tct_hammer_map_io(void) | ||
141 | { | ||
142 | s3c24xx_init_io(tct_hammer_iodesc, ARRAY_SIZE(tct_hammer_iodesc)); | ||
143 | s3c24xx_init_clocks(0); | ||
144 | s3c24xx_init_uarts(tct_hammer_uartcfgs, ARRAY_SIZE(tct_hammer_uartcfgs)); | ||
145 | } | ||
146 | |||
147 | static void __init tct_hammer_init(void) | ||
148 | { | ||
149 | platform_add_devices(tct_hammer_devices, ARRAY_SIZE(tct_hammer_devices)); | ||
150 | } | ||
151 | |||
152 | MACHINE_START(TCT_HAMMER, "TCT_HAMMER") | ||
153 | .phys_io = S3C2410_PA_UART, | ||
154 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
155 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
156 | .map_io = tct_hammer_map_io, | ||
157 | .init_irq = s3c24xx_init_irq, | ||
158 | .init_machine = tct_hammer_init, | ||
159 | .timer = &s3c24xx_timer, | ||
160 | MACHINE_END | ||