diff options
Diffstat (limited to 'arch/arm')
44 files changed, 3381 insertions, 161 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index cf8a99f19dc4..233a222752c0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -603,6 +603,7 @@ config ARCH_SA1100 | |||
603 | select ARCH_SPARSEMEM_ENABLE | 603 | select ARCH_SPARSEMEM_ENABLE |
604 | select ARCH_MTD_XIP | 604 | select ARCH_MTD_XIP |
605 | select ARCH_HAS_CPUFREQ | 605 | select ARCH_HAS_CPUFREQ |
606 | select CPU_FREQ | ||
606 | select GENERIC_GPIO | 607 | select GENERIC_GPIO |
607 | select GENERIC_TIME | 608 | select GENERIC_TIME |
608 | select GENERIC_CLOCKEVENTS | 609 | select GENERIC_CLOCKEVENTS |
@@ -1359,13 +1360,9 @@ source "drivers/cpufreq/Kconfig" | |||
1359 | 1360 | ||
1360 | config CPU_FREQ_SA1100 | 1361 | config CPU_FREQ_SA1100 |
1361 | bool | 1362 | bool |
1362 | depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT) | ||
1363 | default y | ||
1364 | 1363 | ||
1365 | config CPU_FREQ_SA1110 | 1364 | config CPU_FREQ_SA1110 |
1366 | bool | 1365 | bool |
1367 | depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3) | ||
1368 | default y | ||
1369 | 1366 | ||
1370 | config CPU_FREQ_INTEGRATOR | 1367 | config CPU_FREQ_INTEGRATOR |
1371 | tristate "CPUfreq driver for ARM Integrator CPUs" | 1368 | tristate "CPUfreq driver for ARM Integrator CPUs" |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index ff54c23d085e..5cb9326df7a7 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -71,6 +71,14 @@ config DEBUG_LL | |||
71 | in the kernel. This is helpful if you are debugging code that | 71 | in the kernel. This is helpful if you are debugging code that |
72 | executes before the console is initialized. | 72 | executes before the console is initialized. |
73 | 73 | ||
74 | config EARLY_PRINTK | ||
75 | bool "Early printk" | ||
76 | depends on DEBUG_LL | ||
77 | help | ||
78 | Say Y here if you want to have an early console using the | ||
79 | kernel low-level debugging functions. Add earlyprintk to your | ||
80 | kernel parameters to enable this console. | ||
81 | |||
74 | config DEBUG_ICEDCC | 82 | config DEBUG_ICEDCC |
75 | bool "Kernel low-level debugging via EmbeddedICE DCC channel" | 83 | bool "Kernel low-level debugging via EmbeddedICE DCC channel" |
76 | depends on DEBUG_LL | 84 | depends on DEBUG_LL |
diff --git a/arch/arm/configs/zeus_defconfig b/arch/arm/configs/zeus_defconfig new file mode 100644 index 000000000000..823b11e7091a --- /dev/null +++ b/arch/arm/configs/zeus_defconfig | |||
@@ -0,0 +1,2032 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.32 | ||
4 | # Tue Dec 8 20:27:05 2009 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
8 | CONFIG_GENERIC_GPIO=y | ||
9 | CONFIG_GENERIC_TIME=y | ||
10 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
11 | CONFIG_GENERIC_HARDIRQS=y | ||
12 | CONFIG_STACKTRACE_SUPPORT=y | ||
13 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
14 | CONFIG_LOCKDEP_SUPPORT=y | ||
15 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
16 | CONFIG_HARDIRQS_SW_RESEND=y | ||
17 | CONFIG_GENERIC_IRQ_PROBE=y | ||
18 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
19 | CONFIG_ARCH_HAS_CPUFREQ=y | ||
20 | CONFIG_GENERIC_HWEIGHT=y | ||
21 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
22 | CONFIG_ARCH_MTD_XIP=y | ||
23 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
24 | CONFIG_VECTORS_BASE=0xffff0000 | ||
25 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
26 | CONFIG_CONSTRUCTORS=y | ||
27 | |||
28 | # | ||
29 | # General setup | ||
30 | # | ||
31 | CONFIG_EXPERIMENTAL=y | ||
32 | CONFIG_BROKEN_ON_SMP=y | ||
33 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
34 | CONFIG_LOCALVERSION="" | ||
35 | CONFIG_LOCALVERSION_AUTO=y | ||
36 | CONFIG_SWAP=y | ||
37 | CONFIG_SYSVIPC=y | ||
38 | CONFIG_SYSVIPC_SYSCTL=y | ||
39 | # CONFIG_POSIX_MQUEUE is not set | ||
40 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
41 | # CONFIG_TASKSTATS is not set | ||
42 | # CONFIG_AUDIT is not set | ||
43 | |||
44 | # | ||
45 | # RCU Subsystem | ||
46 | # | ||
47 | # CONFIG_TREE_RCU is not set | ||
48 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
49 | CONFIG_TINY_RCU=y | ||
50 | # CONFIG_TREE_RCU_TRACE is not set | ||
51 | # CONFIG_IKCONFIG is not set | ||
52 | CONFIG_LOG_BUF_SHIFT=13 | ||
53 | # CONFIG_GROUP_SCHED is not set | ||
54 | # CONFIG_CGROUPS is not set | ||
55 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
56 | # CONFIG_RELAY is not set | ||
57 | CONFIG_NAMESPACES=y | ||
58 | # CONFIG_UTS_NS is not set | ||
59 | # CONFIG_IPC_NS is not set | ||
60 | # CONFIG_USER_NS is not set | ||
61 | # CONFIG_PID_NS is not set | ||
62 | # CONFIG_NET_NS is not set | ||
63 | # CONFIG_BLK_DEV_INITRD is not set | ||
64 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
65 | CONFIG_SYSCTL=y | ||
66 | CONFIG_ANON_INODES=y | ||
67 | # CONFIG_EMBEDDED is not set | ||
68 | CONFIG_UID16=y | ||
69 | CONFIG_SYSCTL_SYSCALL=y | ||
70 | CONFIG_KALLSYMS=y | ||
71 | # CONFIG_KALLSYMS_ALL is not set | ||
72 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
73 | CONFIG_HOTPLUG=y | ||
74 | CONFIG_PRINTK=y | ||
75 | CONFIG_BUG=y | ||
76 | CONFIG_ELF_CORE=y | ||
77 | CONFIG_BASE_FULL=y | ||
78 | CONFIG_FUTEX=y | ||
79 | CONFIG_EPOLL=y | ||
80 | CONFIG_SIGNALFD=y | ||
81 | CONFIG_TIMERFD=y | ||
82 | CONFIG_EVENTFD=y | ||
83 | CONFIG_SHMEM=y | ||
84 | CONFIG_AIO=y | ||
85 | |||
86 | # | ||
87 | # Kernel Performance Events And Counters | ||
88 | # | ||
89 | CONFIG_VM_EVENT_COUNTERS=y | ||
90 | CONFIG_SLUB_DEBUG=y | ||
91 | CONFIG_COMPAT_BRK=y | ||
92 | # CONFIG_SLAB is not set | ||
93 | CONFIG_SLUB=y | ||
94 | # CONFIG_SLOB is not set | ||
95 | # CONFIG_PROFILING is not set | ||
96 | CONFIG_HAVE_OPROFILE=y | ||
97 | # CONFIG_KPROBES is not set | ||
98 | CONFIG_HAVE_KPROBES=y | ||
99 | CONFIG_HAVE_KRETPROBES=y | ||
100 | CONFIG_HAVE_CLK=y | ||
101 | |||
102 | # | ||
103 | # GCOV-based kernel profiling | ||
104 | # | ||
105 | # CONFIG_SLOW_WORK is not set | ||
106 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
107 | CONFIG_SLABINFO=y | ||
108 | CONFIG_RT_MUTEXES=y | ||
109 | CONFIG_BASE_SMALL=0 | ||
110 | CONFIG_MODULES=y | ||
111 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
112 | CONFIG_MODULE_UNLOAD=y | ||
113 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
114 | # CONFIG_MODVERSIONS is not set | ||
115 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
116 | CONFIG_BLOCK=y | ||
117 | CONFIG_LBDAF=y | ||
118 | # CONFIG_BLK_DEV_BSG is not set | ||
119 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
120 | |||
121 | # | ||
122 | # IO Schedulers | ||
123 | # | ||
124 | CONFIG_IOSCHED_NOOP=y | ||
125 | CONFIG_IOSCHED_DEADLINE=y | ||
126 | # CONFIG_IOSCHED_CFQ is not set | ||
127 | CONFIG_DEFAULT_DEADLINE=y | ||
128 | # CONFIG_DEFAULT_CFQ is not set | ||
129 | # CONFIG_DEFAULT_NOOP is not set | ||
130 | CONFIG_DEFAULT_IOSCHED="deadline" | ||
131 | # CONFIG_INLINE_SPIN_TRYLOCK is not set | ||
132 | # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set | ||
133 | # CONFIG_INLINE_SPIN_LOCK is not set | ||
134 | # CONFIG_INLINE_SPIN_LOCK_BH is not set | ||
135 | # CONFIG_INLINE_SPIN_LOCK_IRQ is not set | ||
136 | # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set | ||
137 | CONFIG_INLINE_SPIN_UNLOCK=y | ||
138 | # CONFIG_INLINE_SPIN_UNLOCK_BH is not set | ||
139 | CONFIG_INLINE_SPIN_UNLOCK_IRQ=y | ||
140 | # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set | ||
141 | # CONFIG_INLINE_READ_TRYLOCK is not set | ||
142 | # CONFIG_INLINE_READ_LOCK is not set | ||
143 | # CONFIG_INLINE_READ_LOCK_BH is not set | ||
144 | # CONFIG_INLINE_READ_LOCK_IRQ is not set | ||
145 | # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set | ||
146 | CONFIG_INLINE_READ_UNLOCK=y | ||
147 | # CONFIG_INLINE_READ_UNLOCK_BH is not set | ||
148 | CONFIG_INLINE_READ_UNLOCK_IRQ=y | ||
149 | # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set | ||
150 | # CONFIG_INLINE_WRITE_TRYLOCK is not set | ||
151 | # CONFIG_INLINE_WRITE_LOCK is not set | ||
152 | # CONFIG_INLINE_WRITE_LOCK_BH is not set | ||
153 | # CONFIG_INLINE_WRITE_LOCK_IRQ is not set | ||
154 | # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set | ||
155 | CONFIG_INLINE_WRITE_UNLOCK=y | ||
156 | # CONFIG_INLINE_WRITE_UNLOCK_BH is not set | ||
157 | CONFIG_INLINE_WRITE_UNLOCK_IRQ=y | ||
158 | # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set | ||
159 | # CONFIG_MUTEX_SPIN_ON_OWNER is not set | ||
160 | CONFIG_FREEZER=y | ||
161 | |||
162 | # | ||
163 | # System Type | ||
164 | # | ||
165 | CONFIG_MMU=y | ||
166 | # CONFIG_ARCH_AAEC2000 is not set | ||
167 | # CONFIG_ARCH_INTEGRATOR is not set | ||
168 | # CONFIG_ARCH_REALVIEW is not set | ||
169 | # CONFIG_ARCH_VERSATILE is not set | ||
170 | # CONFIG_ARCH_AT91 is not set | ||
171 | # CONFIG_ARCH_CLPS711X is not set | ||
172 | # CONFIG_ARCH_GEMINI is not set | ||
173 | # CONFIG_ARCH_EBSA110 is not set | ||
174 | # CONFIG_ARCH_EP93XX is not set | ||
175 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
176 | # CONFIG_ARCH_MXC is not set | ||
177 | # CONFIG_ARCH_STMP3XXX is not set | ||
178 | # CONFIG_ARCH_NETX is not set | ||
179 | # CONFIG_ARCH_H720X is not set | ||
180 | # CONFIG_ARCH_NOMADIK is not set | ||
181 | # CONFIG_ARCH_IOP13XX is not set | ||
182 | # CONFIG_ARCH_IOP32X is not set | ||
183 | # CONFIG_ARCH_IOP33X is not set | ||
184 | # CONFIG_ARCH_IXP23XX is not set | ||
185 | # CONFIG_ARCH_IXP2000 is not set | ||
186 | # CONFIG_ARCH_IXP4XX is not set | ||
187 | # CONFIG_ARCH_L7200 is not set | ||
188 | # CONFIG_ARCH_DOVE is not set | ||
189 | # CONFIG_ARCH_KIRKWOOD is not set | ||
190 | # CONFIG_ARCH_LOKI is not set | ||
191 | # CONFIG_ARCH_MV78XX0 is not set | ||
192 | # CONFIG_ARCH_ORION5X is not set | ||
193 | # CONFIG_ARCH_MMP is not set | ||
194 | # CONFIG_ARCH_KS8695 is not set | ||
195 | # CONFIG_ARCH_NS9XXX is not set | ||
196 | # CONFIG_ARCH_W90X900 is not set | ||
197 | # CONFIG_ARCH_PNX4008 is not set | ||
198 | CONFIG_ARCH_PXA=y | ||
199 | # CONFIG_ARCH_MSM is not set | ||
200 | # CONFIG_ARCH_RPC is not set | ||
201 | # CONFIG_ARCH_SA1100 is not set | ||
202 | # CONFIG_ARCH_S3C2410 is not set | ||
203 | # CONFIG_ARCH_S3C64XX is not set | ||
204 | # CONFIG_ARCH_S5PC1XX is not set | ||
205 | # CONFIG_ARCH_SHARK is not set | ||
206 | # CONFIG_ARCH_LH7A40X is not set | ||
207 | # CONFIG_ARCH_U300 is not set | ||
208 | # CONFIG_ARCH_DAVINCI is not set | ||
209 | # CONFIG_ARCH_OMAP is not set | ||
210 | # CONFIG_ARCH_BCMRING is not set | ||
211 | # CONFIG_ARCH_U8500 is not set | ||
212 | |||
213 | # | ||
214 | # Intel PXA2xx/PXA3xx Implementations | ||
215 | # | ||
216 | |||
217 | # | ||
218 | # Intel/Marvell Dev Platforms (sorted by hardware release time) | ||
219 | # | ||
220 | # CONFIG_ARCH_LUBBOCK is not set | ||
221 | # CONFIG_MACH_MAINSTONE is not set | ||
222 | # CONFIG_MACH_ZYLONITE300 is not set | ||
223 | # CONFIG_MACH_ZYLONITE320 is not set | ||
224 | # CONFIG_MACH_LITTLETON is not set | ||
225 | # CONFIG_MACH_TAVOREVB is not set | ||
226 | # CONFIG_MACH_SAAR is not set | ||
227 | |||
228 | # | ||
229 | # Third Party Dev Platforms (sorted by vendor name) | ||
230 | # | ||
231 | # CONFIG_ARCH_PXA_IDP is not set | ||
232 | # CONFIG_ARCH_VIPER is not set | ||
233 | CONFIG_MACH_ARCOM_ZEUS=y | ||
234 | # CONFIG_MACH_BALLOON3 is not set | ||
235 | # CONFIG_MACH_CSB726 is not set | ||
236 | # CONFIG_MACH_ARMCORE is not set | ||
237 | # CONFIG_MACH_EM_X270 is not set | ||
238 | # CONFIG_MACH_EXEDA is not set | ||
239 | # CONFIG_MACH_CM_X300 is not set | ||
240 | # CONFIG_ARCH_GUMSTIX is not set | ||
241 | # CONFIG_MACH_INTELMOTE2 is not set | ||
242 | # CONFIG_MACH_STARGATE2 is not set | ||
243 | # CONFIG_MACH_XCEP is not set | ||
244 | # CONFIG_TRIZEPS_PXA is not set | ||
245 | CONFIG_ARCOM_PCMCIA=y | ||
246 | # CONFIG_MACH_LOGICPD_PXA270 is not set | ||
247 | # CONFIG_MACH_PCM027 is not set | ||
248 | # CONFIG_MACH_COLIBRI is not set | ||
249 | # CONFIG_MACH_COLIBRI300 is not set | ||
250 | # CONFIG_MACH_COLIBRI320 is not set | ||
251 | |||
252 | # | ||
253 | # End-user Products (sorted by vendor name) | ||
254 | # | ||
255 | # CONFIG_MACH_H4700 is not set | ||
256 | # CONFIG_MACH_H5000 is not set | ||
257 | # CONFIG_MACH_HIMALAYA is not set | ||
258 | # CONFIG_MACH_MAGICIAN is not set | ||
259 | # CONFIG_MACH_MIOA701 is not set | ||
260 | # CONFIG_PXA_EZX is not set | ||
261 | # CONFIG_MACH_MP900C is not set | ||
262 | # CONFIG_ARCH_PXA_PALM is not set | ||
263 | # CONFIG_PXA_SHARPSL is not set | ||
264 | # CONFIG_ARCH_PXA_ESERIES is not set | ||
265 | CONFIG_PXA27x=y | ||
266 | CONFIG_PXA_SSP=y | ||
267 | CONFIG_PXA_HAVE_BOARD_IRQS=y | ||
268 | CONFIG_PXA_HAVE_ISA_IRQS=y | ||
269 | CONFIG_PLAT_PXA=y | ||
270 | |||
271 | # | ||
272 | # Processor Type | ||
273 | # | ||
274 | CONFIG_CPU_32=y | ||
275 | CONFIG_CPU_XSCALE=y | ||
276 | CONFIG_CPU_32v5=y | ||
277 | CONFIG_CPU_ABRT_EV5T=y | ||
278 | CONFIG_CPU_PABRT_LEGACY=y | ||
279 | CONFIG_CPU_CACHE_VIVT=y | ||
280 | CONFIG_CPU_TLB_V4WBI=y | ||
281 | CONFIG_CPU_CP15=y | ||
282 | CONFIG_CPU_CP15_MMU=y | ||
283 | |||
284 | # | ||
285 | # Processor Features | ||
286 | # | ||
287 | CONFIG_ARM_THUMB=y | ||
288 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
289 | CONFIG_ARM_L1_CACHE_SHIFT=5 | ||
290 | CONFIG_IWMMXT=y | ||
291 | CONFIG_XSCALE_PMU=y | ||
292 | CONFIG_COMMON_CLKDEV=y | ||
293 | |||
294 | # | ||
295 | # Bus support | ||
296 | # | ||
297 | CONFIG_ISA=y | ||
298 | # CONFIG_PCI_SYSCALL is not set | ||
299 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
300 | CONFIG_PCCARD=m | ||
301 | CONFIG_PCMCIA=m | ||
302 | CONFIG_PCMCIA_LOAD_CIS=y | ||
303 | CONFIG_PCMCIA_IOCTL=y | ||
304 | |||
305 | # | ||
306 | # PC-card bridges | ||
307 | # | ||
308 | # CONFIG_I82365 is not set | ||
309 | # CONFIG_TCIC is not set | ||
310 | CONFIG_PCMCIA_SOC_COMMON=m | ||
311 | CONFIG_PCMCIA_PXA2XX=m | ||
312 | # CONFIG_PCMCIA_DEBUG is not set | ||
313 | CONFIG_PCMCIA_PROBE=y | ||
314 | |||
315 | # | ||
316 | # Kernel Features | ||
317 | # | ||
318 | CONFIG_TICK_ONESHOT=y | ||
319 | # CONFIG_NO_HZ is not set | ||
320 | # CONFIG_HIGH_RES_TIMERS is not set | ||
321 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
322 | CONFIG_VMSPLIT_3G=y | ||
323 | # CONFIG_VMSPLIT_2G is not set | ||
324 | # CONFIG_VMSPLIT_1G is not set | ||
325 | CONFIG_PAGE_OFFSET=0xC0000000 | ||
326 | CONFIG_PREEMPT_NONE=y | ||
327 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
328 | # CONFIG_PREEMPT is not set | ||
329 | CONFIG_HZ=100 | ||
330 | CONFIG_AEABI=y | ||
331 | CONFIG_OABI_COMPAT=y | ||
332 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | ||
333 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | ||
334 | # CONFIG_HIGHMEM is not set | ||
335 | CONFIG_SELECT_MEMORY_MODEL=y | ||
336 | CONFIG_FLATMEM_MANUAL=y | ||
337 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
338 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
339 | CONFIG_FLATMEM=y | ||
340 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
341 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
342 | CONFIG_SPLIT_PTLOCK_CPUS=4096 | ||
343 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
344 | CONFIG_ZONE_DMA_FLAG=0 | ||
345 | CONFIG_VIRT_TO_BUS=y | ||
346 | CONFIG_HAVE_MLOCK=y | ||
347 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
348 | # CONFIG_KSM is not set | ||
349 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
350 | CONFIG_ALIGNMENT_TRAP=y | ||
351 | # CONFIG_UACCESS_WITH_MEMCPY is not set | ||
352 | |||
353 | # | ||
354 | # Boot options | ||
355 | # | ||
356 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
357 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
358 | CONFIG_CMDLINE="root=31:02 rootfstype=jffs2 ro console=ttyS0,115200" | ||
359 | # CONFIG_XIP_KERNEL is not set | ||
360 | # CONFIG_KEXEC is not set | ||
361 | |||
362 | # | ||
363 | # CPU Power Management | ||
364 | # | ||
365 | CONFIG_CPU_FREQ=y | ||
366 | CONFIG_CPU_FREQ_TABLE=y | ||
367 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
368 | CONFIG_CPU_FREQ_STAT=y | ||
369 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
370 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | ||
371 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
372 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | ||
373 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
374 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
375 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
376 | CONFIG_CPU_FREQ_GOV_POWERSAVE=m | ||
377 | CONFIG_CPU_FREQ_GOV_USERSPACE=m | ||
378 | CONFIG_CPU_FREQ_GOV_ONDEMAND=m | ||
379 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m | ||
380 | # CONFIG_CPU_IDLE is not set | ||
381 | |||
382 | # | ||
383 | # Floating point emulation | ||
384 | # | ||
385 | |||
386 | # | ||
387 | # At least one emulation must be selected | ||
388 | # | ||
389 | CONFIG_FPE_NWFPE=y | ||
390 | # CONFIG_FPE_NWFPE_XP is not set | ||
391 | # CONFIG_FPE_FASTFPE is not set | ||
392 | |||
393 | # | ||
394 | # Userspace binary formats | ||
395 | # | ||
396 | CONFIG_BINFMT_ELF=y | ||
397 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
398 | CONFIG_HAVE_AOUT=y | ||
399 | # CONFIG_BINFMT_AOUT is not set | ||
400 | # CONFIG_BINFMT_MISC is not set | ||
401 | |||
402 | # | ||
403 | # Power management options | ||
404 | # | ||
405 | CONFIG_PM=y | ||
406 | # CONFIG_PM_DEBUG is not set | ||
407 | CONFIG_PM_SLEEP=y | ||
408 | CONFIG_SUSPEND=y | ||
409 | CONFIG_SUSPEND_FREEZER=y | ||
410 | CONFIG_APM_EMULATION=y | ||
411 | # CONFIG_PM_RUNTIME is not set | ||
412 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
413 | CONFIG_NET=y | ||
414 | |||
415 | # | ||
416 | # Networking options | ||
417 | # | ||
418 | CONFIG_PACKET=y | ||
419 | # CONFIG_PACKET_MMAP is not set | ||
420 | CONFIG_UNIX=y | ||
421 | CONFIG_XFRM=y | ||
422 | # CONFIG_XFRM_USER is not set | ||
423 | # CONFIG_XFRM_SUB_POLICY is not set | ||
424 | # CONFIG_XFRM_MIGRATE is not set | ||
425 | # CONFIG_XFRM_STATISTICS is not set | ||
426 | # CONFIG_NET_KEY is not set | ||
427 | CONFIG_INET=y | ||
428 | # CONFIG_IP_MULTICAST is not set | ||
429 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
430 | CONFIG_IP_FIB_HASH=y | ||
431 | CONFIG_IP_PNP=y | ||
432 | CONFIG_IP_PNP_DHCP=y | ||
433 | # CONFIG_IP_PNP_BOOTP is not set | ||
434 | # CONFIG_IP_PNP_RARP is not set | ||
435 | # CONFIG_NET_IPIP is not set | ||
436 | # CONFIG_NET_IPGRE is not set | ||
437 | # CONFIG_ARPD is not set | ||
438 | CONFIG_SYN_COOKIES=y | ||
439 | # CONFIG_INET_AH is not set | ||
440 | # CONFIG_INET_ESP is not set | ||
441 | # CONFIG_INET_IPCOMP is not set | ||
442 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
443 | # CONFIG_INET_TUNNEL is not set | ||
444 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
445 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
446 | CONFIG_INET_XFRM_MODE_BEET=y | ||
447 | # CONFIG_INET_LRO is not set | ||
448 | CONFIG_INET_DIAG=y | ||
449 | CONFIG_INET_TCP_DIAG=y | ||
450 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
451 | CONFIG_TCP_CONG_CUBIC=y | ||
452 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
453 | # CONFIG_TCP_MD5SIG is not set | ||
454 | # CONFIG_IPV6 is not set | ||
455 | # CONFIG_NETWORK_SECMARK is not set | ||
456 | # CONFIG_NETFILTER is not set | ||
457 | # CONFIG_IP_DCCP is not set | ||
458 | # CONFIG_IP_SCTP is not set | ||
459 | # CONFIG_RDS is not set | ||
460 | # CONFIG_TIPC is not set | ||
461 | # CONFIG_ATM is not set | ||
462 | # CONFIG_BRIDGE is not set | ||
463 | # CONFIG_NET_DSA is not set | ||
464 | # CONFIG_VLAN_8021Q is not set | ||
465 | # CONFIG_DECNET is not set | ||
466 | # CONFIG_LLC2 is not set | ||
467 | # CONFIG_IPX is not set | ||
468 | # CONFIG_ATALK is not set | ||
469 | # CONFIG_X25 is not set | ||
470 | # CONFIG_LAPB is not set | ||
471 | # CONFIG_ECONET is not set | ||
472 | # CONFIG_WAN_ROUTER is not set | ||
473 | # CONFIG_PHONET is not set | ||
474 | # CONFIG_IEEE802154 is not set | ||
475 | # CONFIG_NET_SCHED is not set | ||
476 | # CONFIG_DCB is not set | ||
477 | |||
478 | # | ||
479 | # Network testing | ||
480 | # | ||
481 | # CONFIG_NET_PKTGEN is not set | ||
482 | # CONFIG_HAMRADIO is not set | ||
483 | # CONFIG_CAN is not set | ||
484 | # CONFIG_IRDA is not set | ||
485 | CONFIG_BT=m | ||
486 | CONFIG_BT_L2CAP=m | ||
487 | # CONFIG_BT_SCO is not set | ||
488 | CONFIG_BT_RFCOMM=m | ||
489 | CONFIG_BT_RFCOMM_TTY=y | ||
490 | CONFIG_BT_BNEP=m | ||
491 | # CONFIG_BT_BNEP_MC_FILTER is not set | ||
492 | # CONFIG_BT_BNEP_PROTO_FILTER is not set | ||
493 | # CONFIG_BT_HIDP is not set | ||
494 | |||
495 | # | ||
496 | # Bluetooth device drivers | ||
497 | # | ||
498 | # CONFIG_BT_HCIBTUSB is not set | ||
499 | # CONFIG_BT_HCIBTSDIO is not set | ||
500 | CONFIG_BT_HCIUART=m | ||
501 | CONFIG_BT_HCIUART_H4=y | ||
502 | CONFIG_BT_HCIUART_BCSP=y | ||
503 | # CONFIG_BT_HCIUART_LL is not set | ||
504 | # CONFIG_BT_HCIBCM203X is not set | ||
505 | # CONFIG_BT_HCIBPA10X is not set | ||
506 | # CONFIG_BT_HCIBFUSB is not set | ||
507 | # CONFIG_BT_HCIDTL1 is not set | ||
508 | # CONFIG_BT_HCIBT3C is not set | ||
509 | # CONFIG_BT_HCIBLUECARD is not set | ||
510 | # CONFIG_BT_HCIBTUART is not set | ||
511 | # CONFIG_BT_HCIVHCI is not set | ||
512 | # CONFIG_BT_MRVL is not set | ||
513 | # CONFIG_AF_RXRPC is not set | ||
514 | CONFIG_WIRELESS=y | ||
515 | CONFIG_WIRELESS_EXT=y | ||
516 | CONFIG_WEXT_CORE=y | ||
517 | CONFIG_WEXT_PROC=y | ||
518 | CONFIG_WEXT_SPY=y | ||
519 | CONFIG_WEXT_PRIV=y | ||
520 | CONFIG_CFG80211=m | ||
521 | # CONFIG_NL80211_TESTMODE is not set | ||
522 | # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set | ||
523 | # CONFIG_CFG80211_REG_DEBUG is not set | ||
524 | CONFIG_CFG80211_DEFAULT_PS=y | ||
525 | # CONFIG_WIRELESS_OLD_REGULATORY is not set | ||
526 | CONFIG_CFG80211_WEXT=y | ||
527 | CONFIG_WIRELESS_EXT_SYSFS=y | ||
528 | CONFIG_LIB80211=m | ||
529 | # CONFIG_LIB80211_DEBUG is not set | ||
530 | CONFIG_MAC80211=m | ||
531 | CONFIG_MAC80211_RC_MINSTREL=y | ||
532 | # CONFIG_MAC80211_RC_DEFAULT_PID is not set | ||
533 | CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y | ||
534 | CONFIG_MAC80211_RC_DEFAULT="minstrel" | ||
535 | # CONFIG_MAC80211_MESH is not set | ||
536 | # CONFIG_MAC80211_LEDS is not set | ||
537 | # CONFIG_MAC80211_DEBUG_MENU is not set | ||
538 | # CONFIG_WIMAX is not set | ||
539 | # CONFIG_RFKILL is not set | ||
540 | # CONFIG_NET_9P is not set | ||
541 | |||
542 | # | ||
543 | # Device Drivers | ||
544 | # | ||
545 | |||
546 | # | ||
547 | # Generic Driver Options | ||
548 | # | ||
549 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
550 | # CONFIG_DEVTMPFS is not set | ||
551 | CONFIG_STANDALONE=y | ||
552 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
553 | CONFIG_FW_LOADER=y | ||
554 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
555 | CONFIG_EXTRA_FIRMWARE="" | ||
556 | # CONFIG_DEBUG_DRIVER is not set | ||
557 | # CONFIG_DEBUG_DEVRES is not set | ||
558 | # CONFIG_SYS_HYPERVISOR is not set | ||
559 | # CONFIG_CONNECTOR is not set | ||
560 | CONFIG_MTD=y | ||
561 | # CONFIG_MTD_DEBUG is not set | ||
562 | # CONFIG_MTD_TESTS is not set | ||
563 | # CONFIG_MTD_CONCAT is not set | ||
564 | CONFIG_MTD_PARTITIONS=y | ||
565 | CONFIG_MTD_REDBOOT_PARTS=y | ||
566 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
567 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | ||
568 | CONFIG_MTD_REDBOOT_PARTS_READONLY=y | ||
569 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
570 | # CONFIG_MTD_AFS_PARTS is not set | ||
571 | # CONFIG_MTD_AR7_PARTS is not set | ||
572 | |||
573 | # | ||
574 | # User Modules And Translation Layers | ||
575 | # | ||
576 | CONFIG_MTD_CHAR=m | ||
577 | CONFIG_MTD_BLKDEVS=y | ||
578 | CONFIG_MTD_BLOCK=y | ||
579 | # CONFIG_FTL is not set | ||
580 | # CONFIG_NFTL is not set | ||
581 | # CONFIG_INFTL is not set | ||
582 | # CONFIG_RFD_FTL is not set | ||
583 | # CONFIG_SSFDC is not set | ||
584 | # CONFIG_MTD_OOPS is not set | ||
585 | |||
586 | # | ||
587 | # RAM/ROM/Flash chip drivers | ||
588 | # | ||
589 | CONFIG_MTD_CFI=y | ||
590 | CONFIG_MTD_JEDECPROBE=y | ||
591 | CONFIG_MTD_GEN_PROBE=y | ||
592 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
593 | CONFIG_MTD_CFI_NOSWAP=y | ||
594 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
595 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
596 | CONFIG_MTD_CFI_GEOMETRY=y | ||
597 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
598 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
599 | # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set | ||
600 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
601 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
602 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
603 | CONFIG_MTD_CFI_I1=y | ||
604 | # CONFIG_MTD_CFI_I2 is not set | ||
605 | # CONFIG_MTD_CFI_I4 is not set | ||
606 | # CONFIG_MTD_CFI_I8 is not set | ||
607 | # CONFIG_MTD_OTP is not set | ||
608 | CONFIG_MTD_CFI_INTELEXT=y | ||
609 | CONFIG_MTD_CFI_AMDSTD=y | ||
610 | # CONFIG_MTD_CFI_STAA is not set | ||
611 | CONFIG_MTD_CFI_UTIL=y | ||
612 | CONFIG_MTD_RAM=y | ||
613 | # CONFIG_MTD_ROM is not set | ||
614 | # CONFIG_MTD_ABSENT is not set | ||
615 | # CONFIG_MTD_XIP is not set | ||
616 | |||
617 | # | ||
618 | # Mapping drivers for chip access | ||
619 | # | ||
620 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
621 | CONFIG_MTD_PHYSMAP=y | ||
622 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | ||
623 | CONFIG_MTD_PXA2XX=y | ||
624 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
625 | # CONFIG_MTD_IMPA7 is not set | ||
626 | # CONFIG_MTD_GPIO_ADDR is not set | ||
627 | # CONFIG_MTD_PLATRAM is not set | ||
628 | |||
629 | # | ||
630 | # Self-contained MTD device drivers | ||
631 | # | ||
632 | # CONFIG_MTD_DATAFLASH is not set | ||
633 | # CONFIG_MTD_M25P80 is not set | ||
634 | # CONFIG_MTD_SST25L is not set | ||
635 | # CONFIG_MTD_SLRAM is not set | ||
636 | # CONFIG_MTD_PHRAM is not set | ||
637 | # CONFIG_MTD_MTDRAM is not set | ||
638 | # CONFIG_MTD_BLOCK2MTD is not set | ||
639 | |||
640 | # | ||
641 | # Disk-On-Chip Device Drivers | ||
642 | # | ||
643 | # CONFIG_MTD_DOC2000 is not set | ||
644 | # CONFIG_MTD_DOC2001 is not set | ||
645 | # CONFIG_MTD_DOC2001PLUS is not set | ||
646 | # CONFIG_MTD_NAND is not set | ||
647 | # CONFIG_MTD_ONENAND is not set | ||
648 | |||
649 | # | ||
650 | # LPDDR flash memory drivers | ||
651 | # | ||
652 | # CONFIG_MTD_LPDDR is not set | ||
653 | |||
654 | # | ||
655 | # UBI - Unsorted block images | ||
656 | # | ||
657 | # CONFIG_MTD_UBI is not set | ||
658 | # CONFIG_PARPORT is not set | ||
659 | # CONFIG_PNP is not set | ||
660 | CONFIG_BLK_DEV=y | ||
661 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
662 | CONFIG_BLK_DEV_LOOP=m | ||
663 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
664 | |||
665 | # | ||
666 | # DRBD disabled because PROC_FS, INET or CONNECTOR not selected | ||
667 | # | ||
668 | # CONFIG_BLK_DEV_NBD is not set | ||
669 | # CONFIG_BLK_DEV_UB is not set | ||
670 | # CONFIG_BLK_DEV_RAM is not set | ||
671 | # CONFIG_CDROM_PKTCDVD is not set | ||
672 | # CONFIG_ATA_OVER_ETH is not set | ||
673 | # CONFIG_MG_DISK is not set | ||
674 | CONFIG_MISC_DEVICES=y | ||
675 | # CONFIG_ICS932S401 is not set | ||
676 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
677 | # CONFIG_ISL29003 is not set | ||
678 | # CONFIG_DS1682 is not set | ||
679 | # CONFIG_C2PORT is not set | ||
680 | |||
681 | # | ||
682 | # EEPROM support | ||
683 | # | ||
684 | CONFIG_EEPROM_AT24=m | ||
685 | # CONFIG_EEPROM_AT25 is not set | ||
686 | # CONFIG_EEPROM_LEGACY is not set | ||
687 | # CONFIG_EEPROM_MAX6875 is not set | ||
688 | # CONFIG_EEPROM_93CX6 is not set | ||
689 | # CONFIG_IWMC3200TOP is not set | ||
690 | CONFIG_HAVE_IDE=y | ||
691 | # CONFIG_IDE is not set | ||
692 | |||
693 | # | ||
694 | # SCSI device support | ||
695 | # | ||
696 | # CONFIG_RAID_ATTRS is not set | ||
697 | CONFIG_SCSI=m | ||
698 | CONFIG_SCSI_DMA=y | ||
699 | # CONFIG_SCSI_TGT is not set | ||
700 | # CONFIG_SCSI_NETLINK is not set | ||
701 | # CONFIG_SCSI_PROC_FS is not set | ||
702 | |||
703 | # | ||
704 | # SCSI support type (disk, tape, CD-ROM) | ||
705 | # | ||
706 | CONFIG_BLK_DEV_SD=m | ||
707 | # CONFIG_CHR_DEV_ST is not set | ||
708 | # CONFIG_CHR_DEV_OSST is not set | ||
709 | # CONFIG_BLK_DEV_SR is not set | ||
710 | # CONFIG_CHR_DEV_SG is not set | ||
711 | # CONFIG_CHR_DEV_SCH is not set | ||
712 | # CONFIG_SCSI_MULTI_LUN is not set | ||
713 | # CONFIG_SCSI_CONSTANTS is not set | ||
714 | # CONFIG_SCSI_LOGGING is not set | ||
715 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
716 | CONFIG_SCSI_WAIT_SCAN=m | ||
717 | |||
718 | # | ||
719 | # SCSI Transports | ||
720 | # | ||
721 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
722 | # CONFIG_SCSI_FC_ATTRS is not set | ||
723 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
724 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
725 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
726 | CONFIG_SCSI_LOWLEVEL=y | ||
727 | # CONFIG_ISCSI_TCP is not set | ||
728 | # CONFIG_SCSI_AHA152X is not set | ||
729 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
730 | # CONFIG_SCSI_ADVANSYS is not set | ||
731 | # CONFIG_SCSI_IN2000 is not set | ||
732 | # CONFIG_LIBFC is not set | ||
733 | # CONFIG_LIBFCOE is not set | ||
734 | # CONFIG_SCSI_DTC3280 is not set | ||
735 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
736 | # CONFIG_SCSI_GENERIC_NCR5380 is not set | ||
737 | # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set | ||
738 | # CONFIG_SCSI_NCR53C406A is not set | ||
739 | # CONFIG_SCSI_PAS16 is not set | ||
740 | # CONFIG_SCSI_QLOGIC_FAS is not set | ||
741 | # CONFIG_SCSI_SYM53C416 is not set | ||
742 | # CONFIG_SCSI_T128 is not set | ||
743 | # CONFIG_SCSI_DEBUG is not set | ||
744 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set | ||
745 | # CONFIG_SCSI_DH is not set | ||
746 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
747 | CONFIG_ATA=m | ||
748 | # CONFIG_ATA_NONSTANDARD is not set | ||
749 | CONFIG_ATA_VERBOSE_ERROR=y | ||
750 | # CONFIG_SATA_PMP is not set | ||
751 | CONFIG_ATA_SFF=y | ||
752 | # CONFIG_SATA_MV is not set | ||
753 | # CONFIG_PATA_LEGACY is not set | ||
754 | CONFIG_PATA_PCMCIA=m | ||
755 | # CONFIG_PATA_QDI is not set | ||
756 | # CONFIG_PATA_WINBOND_VLB is not set | ||
757 | # CONFIG_MD is not set | ||
758 | CONFIG_NETDEVICES=y | ||
759 | # CONFIG_DUMMY is not set | ||
760 | # CONFIG_BONDING is not set | ||
761 | # CONFIG_MACVLAN is not set | ||
762 | # CONFIG_EQUALIZER is not set | ||
763 | # CONFIG_TUN is not set | ||
764 | # CONFIG_VETH is not set | ||
765 | # CONFIG_ARCNET is not set | ||
766 | # CONFIG_PHYLIB is not set | ||
767 | CONFIG_NET_ETHERNET=y | ||
768 | CONFIG_MII=y | ||
769 | # CONFIG_AX88796 is not set | ||
770 | # CONFIG_NET_VENDOR_3COM is not set | ||
771 | # CONFIG_NET_VENDOR_SMC is not set | ||
772 | # CONFIG_SMC91X is not set | ||
773 | CONFIG_DM9000=y | ||
774 | CONFIG_DM9000_DEBUGLEVEL=4 | ||
775 | # CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set | ||
776 | # CONFIG_ENC28J60 is not set | ||
777 | # CONFIG_ETHOC is not set | ||
778 | # CONFIG_SMC911X is not set | ||
779 | # CONFIG_SMSC911X is not set | ||
780 | # CONFIG_NET_VENDOR_RACAL is not set | ||
781 | # CONFIG_DNET is not set | ||
782 | # CONFIG_AT1700 is not set | ||
783 | # CONFIG_DEPCA is not set | ||
784 | # CONFIG_HP100 is not set | ||
785 | # CONFIG_NET_ISA is not set | ||
786 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
787 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
788 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
789 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
790 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
791 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
792 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
793 | # CONFIG_NET_PCI is not set | ||
794 | # CONFIG_B44 is not set | ||
795 | # CONFIG_CS89x0 is not set | ||
796 | # CONFIG_KS8842 is not set | ||
797 | # CONFIG_KS8851 is not set | ||
798 | # CONFIG_KS8851_MLL is not set | ||
799 | # CONFIG_NETDEV_1000 is not set | ||
800 | # CONFIG_NETDEV_10000 is not set | ||
801 | # CONFIG_TR is not set | ||
802 | CONFIG_WLAN=y | ||
803 | # CONFIG_PCMCIA_RAYCS is not set | ||
804 | # CONFIG_LIBERTAS_THINFIRM is not set | ||
805 | # CONFIG_ATMEL is not set | ||
806 | # CONFIG_AT76C50X_USB is not set | ||
807 | # CONFIG_AIRO_CS is not set | ||
808 | # CONFIG_PCMCIA_WL3501 is not set | ||
809 | # CONFIG_USB_ZD1201 is not set | ||
810 | # CONFIG_USB_NET_RNDIS_WLAN is not set | ||
811 | # CONFIG_RTL8187 is not set | ||
812 | # CONFIG_MAC80211_HWSIM is not set | ||
813 | # CONFIG_ATH_COMMON is not set | ||
814 | # CONFIG_B43 is not set | ||
815 | # CONFIG_B43LEGACY is not set | ||
816 | # CONFIG_HOSTAP is not set | ||
817 | # CONFIG_IWM is not set | ||
818 | # CONFIG_LIBERTAS is not set | ||
819 | CONFIG_HERMES=m | ||
820 | CONFIG_HERMES_CACHE_FW_ON_INIT=y | ||
821 | CONFIG_PCMCIA_HERMES=m | ||
822 | # CONFIG_PCMCIA_SPECTRUM is not set | ||
823 | # CONFIG_P54_COMMON is not set | ||
824 | CONFIG_RT2X00=m | ||
825 | # CONFIG_RT2500USB is not set | ||
826 | CONFIG_RT73USB=m | ||
827 | # CONFIG_RT2800USB is not set | ||
828 | CONFIG_RT2X00_LIB_USB=m | ||
829 | CONFIG_RT2X00_LIB=m | ||
830 | CONFIG_RT2X00_LIB_FIRMWARE=y | ||
831 | CONFIG_RT2X00_LIB_CRYPTO=y | ||
832 | CONFIG_RT2X00_LIB_LEDS=y | ||
833 | # CONFIG_RT2X00_DEBUG is not set | ||
834 | # CONFIG_WL12XX is not set | ||
835 | # CONFIG_ZD1211RW is not set | ||
836 | |||
837 | # | ||
838 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
839 | # | ||
840 | |||
841 | # | ||
842 | # USB Network Adapters | ||
843 | # | ||
844 | # CONFIG_USB_CATC is not set | ||
845 | # CONFIG_USB_KAWETH is not set | ||
846 | # CONFIG_USB_PEGASUS is not set | ||
847 | # CONFIG_USB_RTL8150 is not set | ||
848 | # CONFIG_USB_USBNET is not set | ||
849 | CONFIG_NET_PCMCIA=y | ||
850 | # CONFIG_PCMCIA_3C589 is not set | ||
851 | # CONFIG_PCMCIA_3C574 is not set | ||
852 | # CONFIG_PCMCIA_FMVJ18X is not set | ||
853 | # CONFIG_PCMCIA_PCNET is not set | ||
854 | # CONFIG_PCMCIA_NMCLAN is not set | ||
855 | # CONFIG_PCMCIA_SMC91C92 is not set | ||
856 | # CONFIG_PCMCIA_XIRC2PS is not set | ||
857 | # CONFIG_PCMCIA_AXNET is not set | ||
858 | # CONFIG_WAN is not set | ||
859 | CONFIG_PPP=m | ||
860 | # CONFIG_PPP_MULTILINK is not set | ||
861 | # CONFIG_PPP_FILTER is not set | ||
862 | CONFIG_PPP_ASYNC=m | ||
863 | # CONFIG_PPP_SYNC_TTY is not set | ||
864 | CONFIG_PPP_DEFLATE=m | ||
865 | CONFIG_PPP_BSDCOMP=m | ||
866 | # CONFIG_PPP_MPPE is not set | ||
867 | # CONFIG_PPPOE is not set | ||
868 | # CONFIG_PPPOL2TP is not set | ||
869 | # CONFIG_SLIP is not set | ||
870 | CONFIG_SLHC=m | ||
871 | # CONFIG_NETCONSOLE is not set | ||
872 | # CONFIG_NETPOLL is not set | ||
873 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
874 | # CONFIG_ISDN is not set | ||
875 | # CONFIG_PHONE is not set | ||
876 | |||
877 | # | ||
878 | # Input device support | ||
879 | # | ||
880 | CONFIG_INPUT=y | ||
881 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
882 | # CONFIG_INPUT_POLLDEV is not set | ||
883 | |||
884 | # | ||
885 | # Userland interfaces | ||
886 | # | ||
887 | CONFIG_INPUT_MOUSEDEV=y | ||
888 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
889 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
890 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
891 | # CONFIG_INPUT_JOYDEV is not set | ||
892 | CONFIG_INPUT_EVDEV=m | ||
893 | # CONFIG_INPUT_EVBUG is not set | ||
894 | |||
895 | # | ||
896 | # Input Device Drivers | ||
897 | # | ||
898 | # CONFIG_INPUT_KEYBOARD is not set | ||
899 | # CONFIG_INPUT_MOUSE is not set | ||
900 | # CONFIG_INPUT_JOYSTICK is not set | ||
901 | # CONFIG_INPUT_TABLET is not set | ||
902 | CONFIG_INPUT_TOUCHSCREEN=y | ||
903 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
904 | # CONFIG_TOUCHSCREEN_AD7877 is not set | ||
905 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set | ||
906 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set | ||
907 | # CONFIG_TOUCHSCREEN_AD7879 is not set | ||
908 | # CONFIG_TOUCHSCREEN_EETI is not set | ||
909 | CONFIG_TOUCHSCREEN_FUJITSU=m | ||
910 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
911 | CONFIG_TOUCHSCREEN_ELO=m | ||
912 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
913 | # CONFIG_TOUCHSCREEN_MCS5000 is not set | ||
914 | CONFIG_TOUCHSCREEN_MTOUCH=m | ||
915 | CONFIG_TOUCHSCREEN_INEXIO=m | ||
916 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
917 | CONFIG_TOUCHSCREEN_HTCPEN=m | ||
918 | CONFIG_TOUCHSCREEN_PENMOUNT=m | ||
919 | CONFIG_TOUCHSCREEN_TOUCHRIGHT=m | ||
920 | CONFIG_TOUCHSCREEN_TOUCHWIN=m | ||
921 | # CONFIG_TOUCHSCREEN_WM97XX is not set | ||
922 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
923 | CONFIG_TOUCHSCREEN_TOUCHIT213=m | ||
924 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
925 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
926 | CONFIG_INPUT_MISC=y | ||
927 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
928 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
929 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
930 | # CONFIG_INPUT_POWERMATE is not set | ||
931 | # CONFIG_INPUT_YEALINK is not set | ||
932 | # CONFIG_INPUT_CM109 is not set | ||
933 | CONFIG_INPUT_UINPUT=m | ||
934 | # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set | ||
935 | |||
936 | # | ||
937 | # Hardware I/O ports | ||
938 | # | ||
939 | CONFIG_SERIO=y | ||
940 | CONFIG_SERIO_SERPORT=y | ||
941 | # CONFIG_SERIO_RAW is not set | ||
942 | # CONFIG_GAMEPORT is not set | ||
943 | |||
944 | # | ||
945 | # Character devices | ||
946 | # | ||
947 | CONFIG_VT=y | ||
948 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
949 | CONFIG_VT_CONSOLE=y | ||
950 | CONFIG_HW_CONSOLE=y | ||
951 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
952 | CONFIG_DEVKMEM=y | ||
953 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
954 | |||
955 | # | ||
956 | # Serial drivers | ||
957 | # | ||
958 | CONFIG_SERIAL_8250=y | ||
959 | CONFIG_SERIAL_8250_CONSOLE=y | ||
960 | # CONFIG_SERIAL_8250_CS is not set | ||
961 | CONFIG_SERIAL_8250_NR_UARTS=7 | ||
962 | CONFIG_SERIAL_8250_RUNTIME_UARTS=7 | ||
963 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
964 | |||
965 | # | ||
966 | # Non-8250 serial port support | ||
967 | # | ||
968 | # CONFIG_SERIAL_MAX3100 is not set | ||
969 | # CONFIG_SERIAL_PXA is not set | ||
970 | CONFIG_SERIAL_CORE=y | ||
971 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
972 | CONFIG_UNIX98_PTYS=y | ||
973 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
974 | # CONFIG_LEGACY_PTYS is not set | ||
975 | # CONFIG_IPMI_HANDLER is not set | ||
976 | CONFIG_HW_RANDOM=m | ||
977 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
978 | # CONFIG_DTLK is not set | ||
979 | # CONFIG_R3964 is not set | ||
980 | |||
981 | # | ||
982 | # PCMCIA character devices | ||
983 | # | ||
984 | # CONFIG_SYNCLINK_CS is not set | ||
985 | # CONFIG_CARDMAN_4000 is not set | ||
986 | # CONFIG_CARDMAN_4040 is not set | ||
987 | # CONFIG_IPWIRELESS is not set | ||
988 | # CONFIG_RAW_DRIVER is not set | ||
989 | # CONFIG_TCG_TPM is not set | ||
990 | CONFIG_DEVPORT=y | ||
991 | CONFIG_I2C=y | ||
992 | CONFIG_I2C_BOARDINFO=y | ||
993 | CONFIG_I2C_COMPAT=y | ||
994 | CONFIG_I2C_CHARDEV=y | ||
995 | # CONFIG_I2C_HELPER_AUTO is not set | ||
996 | |||
997 | # | ||
998 | # I2C Algorithms | ||
999 | # | ||
1000 | CONFIG_I2C_ALGOBIT=y | ||
1001 | # CONFIG_I2C_ALGOPCF is not set | ||
1002 | # CONFIG_I2C_ALGOPCA is not set | ||
1003 | |||
1004 | # | ||
1005 | # I2C Hardware Bus support | ||
1006 | # | ||
1007 | |||
1008 | # | ||
1009 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1010 | # | ||
1011 | # CONFIG_I2C_DESIGNWARE is not set | ||
1012 | CONFIG_I2C_GPIO=y | ||
1013 | # CONFIG_I2C_OCORES is not set | ||
1014 | CONFIG_I2C_PXA=y | ||
1015 | # CONFIG_I2C_PXA_SLAVE is not set | ||
1016 | # CONFIG_I2C_SIMTEC is not set | ||
1017 | |||
1018 | # | ||
1019 | # External I2C/SMBus adapter drivers | ||
1020 | # | ||
1021 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1022 | # CONFIG_I2C_TAOS_EVM is not set | ||
1023 | # CONFIG_I2C_TINY_USB is not set | ||
1024 | |||
1025 | # | ||
1026 | # Other I2C/SMBus bus drivers | ||
1027 | # | ||
1028 | # CONFIG_I2C_ELEKTOR is not set | ||
1029 | # CONFIG_I2C_PCA_ISA is not set | ||
1030 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
1031 | # CONFIG_I2C_STUB is not set | ||
1032 | |||
1033 | # | ||
1034 | # Miscellaneous I2C Chip support | ||
1035 | # | ||
1036 | # CONFIG_SENSORS_TSL2550 is not set | ||
1037 | # CONFIG_I2C_DEBUG_CORE is not set | ||
1038 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
1039 | # CONFIG_I2C_DEBUG_BUS is not set | ||
1040 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
1041 | CONFIG_SPI=y | ||
1042 | # CONFIG_SPI_DEBUG is not set | ||
1043 | CONFIG_SPI_MASTER=y | ||
1044 | |||
1045 | # | ||
1046 | # SPI Master Controller Drivers | ||
1047 | # | ||
1048 | # CONFIG_SPI_BITBANG is not set | ||
1049 | # CONFIG_SPI_GPIO is not set | ||
1050 | CONFIG_SPI_PXA2XX=y | ||
1051 | |||
1052 | # | ||
1053 | # SPI Protocol Masters | ||
1054 | # | ||
1055 | # CONFIG_SPI_SPIDEV is not set | ||
1056 | # CONFIG_SPI_TLE62X0 is not set | ||
1057 | |||
1058 | # | ||
1059 | # PPS support | ||
1060 | # | ||
1061 | # CONFIG_PPS is not set | ||
1062 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1063 | CONFIG_GPIOLIB=y | ||
1064 | # CONFIG_DEBUG_GPIO is not set | ||
1065 | CONFIG_GPIO_SYSFS=y | ||
1066 | |||
1067 | # | ||
1068 | # Memory mapped GPIO expanders: | ||
1069 | # | ||
1070 | |||
1071 | # | ||
1072 | # I2C GPIO expanders: | ||
1073 | # | ||
1074 | # CONFIG_GPIO_MAX732X is not set | ||
1075 | CONFIG_GPIO_PCA953X=y | ||
1076 | # CONFIG_GPIO_PCF857X is not set | ||
1077 | |||
1078 | # | ||
1079 | # PCI GPIO expanders: | ||
1080 | # | ||
1081 | |||
1082 | # | ||
1083 | # SPI GPIO expanders: | ||
1084 | # | ||
1085 | # CONFIG_GPIO_MAX7301 is not set | ||
1086 | # CONFIG_GPIO_MCP23S08 is not set | ||
1087 | # CONFIG_GPIO_MC33880 is not set | ||
1088 | |||
1089 | # | ||
1090 | # AC97 GPIO expanders: | ||
1091 | # | ||
1092 | # CONFIG_W1 is not set | ||
1093 | # CONFIG_POWER_SUPPLY is not set | ||
1094 | CONFIG_HWMON=y | ||
1095 | # CONFIG_HWMON_VID is not set | ||
1096 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1097 | |||
1098 | # | ||
1099 | # Native drivers | ||
1100 | # | ||
1101 | # CONFIG_SENSORS_AD7414 is not set | ||
1102 | # CONFIG_SENSORS_AD7418 is not set | ||
1103 | # CONFIG_SENSORS_ADCXX is not set | ||
1104 | # CONFIG_SENSORS_ADM1021 is not set | ||
1105 | # CONFIG_SENSORS_ADM1025 is not set | ||
1106 | # CONFIG_SENSORS_ADM1026 is not set | ||
1107 | # CONFIG_SENSORS_ADM1029 is not set | ||
1108 | # CONFIG_SENSORS_ADM1031 is not set | ||
1109 | # CONFIG_SENSORS_ADM9240 is not set | ||
1110 | # CONFIG_SENSORS_ADT7462 is not set | ||
1111 | # CONFIG_SENSORS_ADT7470 is not set | ||
1112 | # CONFIG_SENSORS_ADT7473 is not set | ||
1113 | # CONFIG_SENSORS_ADT7475 is not set | ||
1114 | # CONFIG_SENSORS_ATXP1 is not set | ||
1115 | # CONFIG_SENSORS_DS1621 is not set | ||
1116 | # CONFIG_SENSORS_F71805F is not set | ||
1117 | # CONFIG_SENSORS_F71882FG is not set | ||
1118 | # CONFIG_SENSORS_F75375S is not set | ||
1119 | # CONFIG_SENSORS_G760A is not set | ||
1120 | # CONFIG_SENSORS_GL518SM is not set | ||
1121 | # CONFIG_SENSORS_GL520SM is not set | ||
1122 | # CONFIG_SENSORS_IT87 is not set | ||
1123 | # CONFIG_SENSORS_LM63 is not set | ||
1124 | # CONFIG_SENSORS_LM70 is not set | ||
1125 | CONFIG_SENSORS_LM75=m | ||
1126 | # CONFIG_SENSORS_LM77 is not set | ||
1127 | # CONFIG_SENSORS_LM78 is not set | ||
1128 | # CONFIG_SENSORS_LM80 is not set | ||
1129 | # CONFIG_SENSORS_LM83 is not set | ||
1130 | # CONFIG_SENSORS_LM85 is not set | ||
1131 | # CONFIG_SENSORS_LM87 is not set | ||
1132 | # CONFIG_SENSORS_LM90 is not set | ||
1133 | # CONFIG_SENSORS_LM92 is not set | ||
1134 | # CONFIG_SENSORS_LM93 is not set | ||
1135 | # CONFIG_SENSORS_LTC4215 is not set | ||
1136 | # CONFIG_SENSORS_LTC4245 is not set | ||
1137 | # CONFIG_SENSORS_LM95241 is not set | ||
1138 | # CONFIG_SENSORS_MAX1111 is not set | ||
1139 | # CONFIG_SENSORS_MAX1619 is not set | ||
1140 | # CONFIG_SENSORS_MAX6650 is not set | ||
1141 | # CONFIG_SENSORS_PC87360 is not set | ||
1142 | # CONFIG_SENSORS_PC87427 is not set | ||
1143 | # CONFIG_SENSORS_PCF8591 is not set | ||
1144 | # CONFIG_SENSORS_SHT15 is not set | ||
1145 | # CONFIG_SENSORS_DME1737 is not set | ||
1146 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
1147 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
1148 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
1149 | # CONFIG_SENSORS_ADS7828 is not set | ||
1150 | # CONFIG_SENSORS_THMC50 is not set | ||
1151 | # CONFIG_SENSORS_TMP401 is not set | ||
1152 | # CONFIG_SENSORS_TMP421 is not set | ||
1153 | # CONFIG_SENSORS_VT1211 is not set | ||
1154 | # CONFIG_SENSORS_W83781D is not set | ||
1155 | # CONFIG_SENSORS_W83791D is not set | ||
1156 | # CONFIG_SENSORS_W83792D is not set | ||
1157 | # CONFIG_SENSORS_W83793 is not set | ||
1158 | # CONFIG_SENSORS_W83L785TS is not set | ||
1159 | # CONFIG_SENSORS_W83L786NG is not set | ||
1160 | # CONFIG_SENSORS_W83627HF is not set | ||
1161 | # CONFIG_SENSORS_W83627EHF is not set | ||
1162 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
1163 | # CONFIG_THERMAL is not set | ||
1164 | CONFIG_WATCHDOG=y | ||
1165 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
1166 | |||
1167 | # | ||
1168 | # Watchdog Device Drivers | ||
1169 | # | ||
1170 | # CONFIG_SOFT_WATCHDOG is not set | ||
1171 | # CONFIG_SA1100_WATCHDOG is not set | ||
1172 | |||
1173 | # | ||
1174 | # ISA-based Watchdog Cards | ||
1175 | # | ||
1176 | # CONFIG_PCWATCHDOG is not set | ||
1177 | # CONFIG_MIXCOMWD is not set | ||
1178 | # CONFIG_WDT is not set | ||
1179 | |||
1180 | # | ||
1181 | # USB-based Watchdog Cards | ||
1182 | # | ||
1183 | # CONFIG_USBPCWATCHDOG is not set | ||
1184 | CONFIG_SSB_POSSIBLE=y | ||
1185 | |||
1186 | # | ||
1187 | # Sonics Silicon Backplane | ||
1188 | # | ||
1189 | # CONFIG_SSB is not set | ||
1190 | |||
1191 | # | ||
1192 | # Multifunction device drivers | ||
1193 | # | ||
1194 | # CONFIG_MFD_CORE is not set | ||
1195 | # CONFIG_MFD_SM501 is not set | ||
1196 | # CONFIG_MFD_ASIC3 is not set | ||
1197 | # CONFIG_HTC_EGPIO is not set | ||
1198 | # CONFIG_HTC_PASIC3 is not set | ||
1199 | # CONFIG_UCB1400_CORE is not set | ||
1200 | # CONFIG_TPS65010 is not set | ||
1201 | # CONFIG_TWL4030_CORE is not set | ||
1202 | # CONFIG_MFD_TMIO is not set | ||
1203 | # CONFIG_MFD_T7L66XB is not set | ||
1204 | # CONFIG_MFD_TC6387XB is not set | ||
1205 | # CONFIG_MFD_TC6393XB is not set | ||
1206 | # CONFIG_PMIC_DA903X is not set | ||
1207 | # CONFIG_MFD_WM8400 is not set | ||
1208 | # CONFIG_MFD_WM831X is not set | ||
1209 | # CONFIG_MFD_WM8350_I2C is not set | ||
1210 | # CONFIG_MFD_PCF50633 is not set | ||
1211 | # CONFIG_MFD_MC13783 is not set | ||
1212 | # CONFIG_AB3100_CORE is not set | ||
1213 | # CONFIG_EZX_PCAP is not set | ||
1214 | # CONFIG_REGULATOR is not set | ||
1215 | # CONFIG_MEDIA_SUPPORT is not set | ||
1216 | |||
1217 | # | ||
1218 | # Graphics support | ||
1219 | # | ||
1220 | # CONFIG_VGASTATE is not set | ||
1221 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
1222 | CONFIG_FB=y | ||
1223 | # CONFIG_FIRMWARE_EDID is not set | ||
1224 | # CONFIG_FB_DDC is not set | ||
1225 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1226 | CONFIG_FB_CFB_FILLRECT=m | ||
1227 | CONFIG_FB_CFB_COPYAREA=m | ||
1228 | CONFIG_FB_CFB_IMAGEBLIT=m | ||
1229 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1230 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1231 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1232 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1233 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1234 | # CONFIG_FB_SYS_FOPS is not set | ||
1235 | # CONFIG_FB_SVGALIB is not set | ||
1236 | # CONFIG_FB_MACMODES is not set | ||
1237 | # CONFIG_FB_BACKLIGHT is not set | ||
1238 | # CONFIG_FB_MODE_HELPERS is not set | ||
1239 | # CONFIG_FB_TILEBLITTING is not set | ||
1240 | |||
1241 | # | ||
1242 | # Frame buffer hardware drivers | ||
1243 | # | ||
1244 | # CONFIG_FB_S1D13XXX is not set | ||
1245 | CONFIG_FB_PXA=m | ||
1246 | # CONFIG_FB_PXA_OVERLAY is not set | ||
1247 | # CONFIG_FB_PXA_SMARTPANEL is not set | ||
1248 | CONFIG_FB_PXA_PARAMETERS=y | ||
1249 | # CONFIG_FB_MBX is not set | ||
1250 | # CONFIG_FB_W100 is not set | ||
1251 | # CONFIG_FB_VIRTUAL is not set | ||
1252 | # CONFIG_FB_METRONOME is not set | ||
1253 | # CONFIG_FB_MB862XX is not set | ||
1254 | # CONFIG_FB_BROADSHEET is not set | ||
1255 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1256 | CONFIG_LCD_CLASS_DEVICE=m | ||
1257 | # CONFIG_LCD_LMS283GF05 is not set | ||
1258 | # CONFIG_LCD_LTV350QV is not set | ||
1259 | # CONFIG_LCD_ILI9320 is not set | ||
1260 | # CONFIG_LCD_TDO24M is not set | ||
1261 | # CONFIG_LCD_VGG2432A4 is not set | ||
1262 | # CONFIG_LCD_PLATFORM is not set | ||
1263 | CONFIG_BACKLIGHT_CLASS_DEVICE=m | ||
1264 | CONFIG_BACKLIGHT_GENERIC=m | ||
1265 | |||
1266 | # | ||
1267 | # Display device support | ||
1268 | # | ||
1269 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1270 | |||
1271 | # | ||
1272 | # Console display driver support | ||
1273 | # | ||
1274 | # CONFIG_VGA_CONSOLE is not set | ||
1275 | # CONFIG_MDA_CONSOLE is not set | ||
1276 | CONFIG_DUMMY_CONSOLE=y | ||
1277 | CONFIG_FRAMEBUFFER_CONSOLE=m | ||
1278 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1279 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1280 | # CONFIG_FONTS is not set | ||
1281 | CONFIG_FONT_8x8=y | ||
1282 | CONFIG_FONT_8x16=y | ||
1283 | CONFIG_LOGO=y | ||
1284 | CONFIG_LOGO_LINUX_MONO=y | ||
1285 | CONFIG_LOGO_LINUX_VGA16=y | ||
1286 | CONFIG_LOGO_LINUX_CLUT224=y | ||
1287 | CONFIG_SOUND=m | ||
1288 | CONFIG_SOUND_OSS_CORE=y | ||
1289 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1290 | CONFIG_SND=m | ||
1291 | CONFIG_SND_TIMER=m | ||
1292 | CONFIG_SND_PCM=m | ||
1293 | CONFIG_SND_JACK=y | ||
1294 | # CONFIG_SND_SEQUENCER is not set | ||
1295 | CONFIG_SND_OSSEMUL=y | ||
1296 | CONFIG_SND_MIXER_OSS=m | ||
1297 | CONFIG_SND_PCM_OSS=m | ||
1298 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
1299 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1300 | # CONFIG_SND_SUPPORT_OLD_API is not set | ||
1301 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1302 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1303 | # CONFIG_SND_DEBUG is not set | ||
1304 | CONFIG_SND_VMASTER=y | ||
1305 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1306 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1307 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1308 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1309 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1310 | CONFIG_SND_AC97_CODEC=m | ||
1311 | CONFIG_SND_DRIVERS=y | ||
1312 | # CONFIG_SND_DUMMY is not set | ||
1313 | # CONFIG_SND_MTPAV is not set | ||
1314 | # CONFIG_SND_SERIAL_U16550 is not set | ||
1315 | # CONFIG_SND_MPU401 is not set | ||
1316 | # CONFIG_SND_AC97_POWER_SAVE is not set | ||
1317 | CONFIG_SND_ARM=y | ||
1318 | CONFIG_SND_PXA2XX_PCM=m | ||
1319 | CONFIG_SND_PXA2XX_LIB=m | ||
1320 | CONFIG_SND_PXA2XX_LIB_AC97=y | ||
1321 | CONFIG_SND_PXA2XX_AC97=m | ||
1322 | # CONFIG_SND_SPI is not set | ||
1323 | CONFIG_SND_USB=y | ||
1324 | # CONFIG_SND_USB_AUDIO is not set | ||
1325 | # CONFIG_SND_USB_CAIAQ is not set | ||
1326 | # CONFIG_SND_PCMCIA is not set | ||
1327 | CONFIG_SND_SOC=m | ||
1328 | CONFIG_SND_PXA2XX_SOC=m | ||
1329 | CONFIG_SND_SOC_I2C_AND_SPI=m | ||
1330 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
1331 | # CONFIG_SOUND_PRIME is not set | ||
1332 | CONFIG_AC97_BUS=m | ||
1333 | # CONFIG_HID_SUPPORT is not set | ||
1334 | CONFIG_USB_SUPPORT=y | ||
1335 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1336 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
1337 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
1338 | CONFIG_USB=m | ||
1339 | # CONFIG_USB_DEBUG is not set | ||
1340 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1341 | |||
1342 | # | ||
1343 | # Miscellaneous USB options | ||
1344 | # | ||
1345 | CONFIG_USB_DEVICEFS=y | ||
1346 | CONFIG_USB_DEVICE_CLASS=y | ||
1347 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1348 | CONFIG_USB_SUSPEND=y | ||
1349 | # CONFIG_USB_OTG is not set | ||
1350 | # CONFIG_USB_MON is not set | ||
1351 | # CONFIG_USB_WUSB is not set | ||
1352 | # CONFIG_USB_WUSB_CBAF is not set | ||
1353 | |||
1354 | # | ||
1355 | # USB Host Controller Drivers | ||
1356 | # | ||
1357 | # CONFIG_USB_C67X00_HCD is not set | ||
1358 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1359 | # CONFIG_USB_ISP116X_HCD is not set | ||
1360 | # CONFIG_USB_ISP1760_HCD is not set | ||
1361 | # CONFIG_USB_ISP1362_HCD is not set | ||
1362 | CONFIG_USB_OHCI_HCD=m | ||
1363 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
1364 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
1365 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
1366 | # CONFIG_USB_SL811_HCD is not set | ||
1367 | # CONFIG_USB_R8A66597_HCD is not set | ||
1368 | # CONFIG_USB_HWA_HCD is not set | ||
1369 | # CONFIG_USB_MUSB_HDRC is not set | ||
1370 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
1371 | |||
1372 | # | ||
1373 | # USB Device Class drivers | ||
1374 | # | ||
1375 | CONFIG_USB_ACM=m | ||
1376 | # CONFIG_USB_PRINTER is not set | ||
1377 | # CONFIG_USB_WDM is not set | ||
1378 | # CONFIG_USB_TMC is not set | ||
1379 | |||
1380 | # | ||
1381 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1382 | # | ||
1383 | |||
1384 | # | ||
1385 | # also be needed; see USB_STORAGE Help for more info | ||
1386 | # | ||
1387 | CONFIG_USB_STORAGE=m | ||
1388 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1389 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1390 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1391 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1392 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1393 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1394 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1395 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1396 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1397 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1398 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1399 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1400 | # CONFIG_USB_LIBUSUAL is not set | ||
1401 | |||
1402 | # | ||
1403 | # USB Imaging devices | ||
1404 | # | ||
1405 | # CONFIG_USB_MDC800 is not set | ||
1406 | # CONFIG_USB_MICROTEK is not set | ||
1407 | |||
1408 | # | ||
1409 | # USB port drivers | ||
1410 | # | ||
1411 | CONFIG_USB_SERIAL=m | ||
1412 | # CONFIG_USB_EZUSB is not set | ||
1413 | CONFIG_USB_SERIAL_GENERIC=y | ||
1414 | # CONFIG_USB_SERIAL_AIRCABLE is not set | ||
1415 | # CONFIG_USB_SERIAL_ARK3116 is not set | ||
1416 | # CONFIG_USB_SERIAL_BELKIN is not set | ||
1417 | # CONFIG_USB_SERIAL_CH341 is not set | ||
1418 | # CONFIG_USB_SERIAL_WHITEHEAT is not set | ||
1419 | # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set | ||
1420 | # CONFIG_USB_SERIAL_CP210X is not set | ||
1421 | # CONFIG_USB_SERIAL_CYPRESS_M8 is not set | ||
1422 | # CONFIG_USB_SERIAL_EMPEG is not set | ||
1423 | # CONFIG_USB_SERIAL_FTDI_SIO is not set | ||
1424 | # CONFIG_USB_SERIAL_FUNSOFT is not set | ||
1425 | # CONFIG_USB_SERIAL_VISOR is not set | ||
1426 | # CONFIG_USB_SERIAL_IPAQ is not set | ||
1427 | # CONFIG_USB_SERIAL_IR is not set | ||
1428 | # CONFIG_USB_SERIAL_EDGEPORT is not set | ||
1429 | # CONFIG_USB_SERIAL_EDGEPORT_TI is not set | ||
1430 | # CONFIG_USB_SERIAL_GARMIN is not set | ||
1431 | # CONFIG_USB_SERIAL_IPW is not set | ||
1432 | # CONFIG_USB_SERIAL_IUU is not set | ||
1433 | # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set | ||
1434 | # CONFIG_USB_SERIAL_KEYSPAN is not set | ||
1435 | # CONFIG_USB_SERIAL_KLSI is not set | ||
1436 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set | ||
1437 | CONFIG_USB_SERIAL_MCT_U232=m | ||
1438 | # CONFIG_USB_SERIAL_MOS7720 is not set | ||
1439 | # CONFIG_USB_SERIAL_MOS7840 is not set | ||
1440 | # CONFIG_USB_SERIAL_MOTOROLA is not set | ||
1441 | # CONFIG_USB_SERIAL_NAVMAN is not set | ||
1442 | # CONFIG_USB_SERIAL_PL2303 is not set | ||
1443 | # CONFIG_USB_SERIAL_OTI6858 is not set | ||
1444 | # CONFIG_USB_SERIAL_QUALCOMM is not set | ||
1445 | # CONFIG_USB_SERIAL_SPCP8X5 is not set | ||
1446 | # CONFIG_USB_SERIAL_HP4X is not set | ||
1447 | # CONFIG_USB_SERIAL_SAFE is not set | ||
1448 | # CONFIG_USB_SERIAL_SIEMENS_MPI is not set | ||
1449 | # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set | ||
1450 | # CONFIG_USB_SERIAL_SYMBOL is not set | ||
1451 | # CONFIG_USB_SERIAL_TI is not set | ||
1452 | # CONFIG_USB_SERIAL_CYBERJACK is not set | ||
1453 | # CONFIG_USB_SERIAL_XIRCOM is not set | ||
1454 | # CONFIG_USB_SERIAL_OPTION is not set | ||
1455 | # CONFIG_USB_SERIAL_OMNINET is not set | ||
1456 | # CONFIG_USB_SERIAL_OPTICON is not set | ||
1457 | # CONFIG_USB_SERIAL_DEBUG is not set | ||
1458 | |||
1459 | # | ||
1460 | # USB Miscellaneous drivers | ||
1461 | # | ||
1462 | # CONFIG_USB_EMI62 is not set | ||
1463 | # CONFIG_USB_EMI26 is not set | ||
1464 | # CONFIG_USB_ADUTUX is not set | ||
1465 | # CONFIG_USB_SEVSEG is not set | ||
1466 | # CONFIG_USB_RIO500 is not set | ||
1467 | # CONFIG_USB_LEGOTOWER is not set | ||
1468 | # CONFIG_USB_LCD is not set | ||
1469 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1470 | # CONFIG_USB_LED is not set | ||
1471 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1472 | # CONFIG_USB_CYTHERM is not set | ||
1473 | # CONFIG_USB_IDMOUSE is not set | ||
1474 | # CONFIG_USB_FTDI_ELAN is not set | ||
1475 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1476 | # CONFIG_USB_LD is not set | ||
1477 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1478 | # CONFIG_USB_IOWARRIOR is not set | ||
1479 | # CONFIG_USB_TEST is not set | ||
1480 | # CONFIG_USB_ISIGHTFW is not set | ||
1481 | # CONFIG_USB_VST is not set | ||
1482 | CONFIG_USB_GADGET=m | ||
1483 | # CONFIG_USB_GADGET_DEBUG is not set | ||
1484 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1485 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
1486 | CONFIG_USB_GADGET_SELECTED=y | ||
1487 | # CONFIG_USB_GADGET_AT91 is not set | ||
1488 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1489 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1490 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1491 | # CONFIG_USB_GADGET_OMAP is not set | ||
1492 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1493 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1494 | CONFIG_USB_GADGET_PXA27X=y | ||
1495 | CONFIG_USB_PXA27X=m | ||
1496 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | ||
1497 | # CONFIG_USB_GADGET_IMX is not set | ||
1498 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1499 | # CONFIG_USB_GADGET_M66592 is not set | ||
1500 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1501 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1502 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1503 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1504 | # CONFIG_USB_GADGET_GOKU is not set | ||
1505 | # CONFIG_USB_GADGET_LANGWELL is not set | ||
1506 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1507 | # CONFIG_USB_GADGET_DUALSPEED is not set | ||
1508 | # CONFIG_USB_ZERO is not set | ||
1509 | # CONFIG_USB_AUDIO is not set | ||
1510 | CONFIG_USB_ETH=m | ||
1511 | CONFIG_USB_ETH_RNDIS=y | ||
1512 | # CONFIG_USB_ETH_EEM is not set | ||
1513 | CONFIG_USB_GADGETFS=m | ||
1514 | CONFIG_USB_FILE_STORAGE=m | ||
1515 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1516 | CONFIG_USB_G_SERIAL=m | ||
1517 | # CONFIG_USB_MIDI_GADGET is not set | ||
1518 | CONFIG_USB_G_PRINTER=m | ||
1519 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
1520 | |||
1521 | # | ||
1522 | # OTG and related infrastructure | ||
1523 | # | ||
1524 | CONFIG_USB_OTG_UTILS=y | ||
1525 | # CONFIG_USB_GPIO_VBUS is not set | ||
1526 | # CONFIG_NOP_USB_XCEIV is not set | ||
1527 | CONFIG_MMC=y | ||
1528 | # CONFIG_MMC_DEBUG is not set | ||
1529 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
1530 | |||
1531 | # | ||
1532 | # MMC/SD/SDIO Card Drivers | ||
1533 | # | ||
1534 | CONFIG_MMC_BLOCK=y | ||
1535 | # CONFIG_MMC_BLOCK_BOUNCE is not set | ||
1536 | # CONFIG_SDIO_UART is not set | ||
1537 | # CONFIG_MMC_TEST is not set | ||
1538 | |||
1539 | # | ||
1540 | # MMC/SD/SDIO Host Controller Drivers | ||
1541 | # | ||
1542 | CONFIG_MMC_PXA=y | ||
1543 | # CONFIG_MMC_SDHCI is not set | ||
1544 | # CONFIG_MMC_AT91 is not set | ||
1545 | # CONFIG_MMC_ATMELMCI is not set | ||
1546 | # CONFIG_MMC_SPI is not set | ||
1547 | # CONFIG_MEMSTICK is not set | ||
1548 | CONFIG_NEW_LEDS=y | ||
1549 | CONFIG_LEDS_CLASS=m | ||
1550 | |||
1551 | # | ||
1552 | # LED drivers | ||
1553 | # | ||
1554 | # CONFIG_LEDS_PCA9532 is not set | ||
1555 | CONFIG_LEDS_GPIO=m | ||
1556 | CONFIG_LEDS_GPIO_PLATFORM=y | ||
1557 | # CONFIG_LEDS_LP3944 is not set | ||
1558 | # CONFIG_LEDS_PCA955X is not set | ||
1559 | # CONFIG_LEDS_DAC124S085 is not set | ||
1560 | # CONFIG_LEDS_BD2802 is not set | ||
1561 | |||
1562 | # | ||
1563 | # LED Triggers | ||
1564 | # | ||
1565 | CONFIG_LEDS_TRIGGERS=y | ||
1566 | CONFIG_LEDS_TRIGGER_TIMER=m | ||
1567 | CONFIG_LEDS_TRIGGER_HEARTBEAT=m | ||
1568 | CONFIG_LEDS_TRIGGER_BACKLIGHT=m | ||
1569 | CONFIG_LEDS_TRIGGER_GPIO=m | ||
1570 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=m | ||
1571 | |||
1572 | # | ||
1573 | # iptables trigger is under Netfilter config (LED target) | ||
1574 | # | ||
1575 | # CONFIG_ACCESSIBILITY is not set | ||
1576 | CONFIG_RTC_LIB=y | ||
1577 | CONFIG_RTC_CLASS=m | ||
1578 | |||
1579 | # | ||
1580 | # RTC interfaces | ||
1581 | # | ||
1582 | CONFIG_RTC_INTF_SYSFS=y | ||
1583 | CONFIG_RTC_INTF_PROC=y | ||
1584 | CONFIG_RTC_INTF_DEV=y | ||
1585 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1586 | # CONFIG_RTC_DRV_TEST is not set | ||
1587 | |||
1588 | # | ||
1589 | # I2C RTC drivers | ||
1590 | # | ||
1591 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1592 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1593 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1594 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1595 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1596 | CONFIG_RTC_DRV_ISL1208=m | ||
1597 | # CONFIG_RTC_DRV_X1205 is not set | ||
1598 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1599 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1600 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1601 | # CONFIG_RTC_DRV_S35390A is not set | ||
1602 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1603 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1604 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1605 | |||
1606 | # | ||
1607 | # SPI RTC drivers | ||
1608 | # | ||
1609 | # CONFIG_RTC_DRV_M41T94 is not set | ||
1610 | # CONFIG_RTC_DRV_DS1305 is not set | ||
1611 | # CONFIG_RTC_DRV_DS1390 is not set | ||
1612 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1613 | # CONFIG_RTC_DRV_R9701 is not set | ||
1614 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1615 | # CONFIG_RTC_DRV_DS3234 is not set | ||
1616 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1617 | |||
1618 | # | ||
1619 | # Platform RTC drivers | ||
1620 | # | ||
1621 | # CONFIG_RTC_DRV_CMOS is not set | ||
1622 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1623 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1624 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1625 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1626 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1627 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1628 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1629 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1630 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
1631 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1632 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
1633 | # CONFIG_RTC_DRV_V3020 is not set | ||
1634 | |||
1635 | # | ||
1636 | # on-CPU RTC drivers | ||
1637 | # | ||
1638 | # CONFIG_RTC_DRV_SA1100 is not set | ||
1639 | CONFIG_RTC_DRV_PXA=m | ||
1640 | # CONFIG_DMADEVICES is not set | ||
1641 | # CONFIG_AUXDISPLAY is not set | ||
1642 | # CONFIG_UIO is not set | ||
1643 | |||
1644 | # | ||
1645 | # TI VLYNQ | ||
1646 | # | ||
1647 | # CONFIG_STAGING is not set | ||
1648 | |||
1649 | # | ||
1650 | # File systems | ||
1651 | # | ||
1652 | CONFIG_EXT2_FS=y | ||
1653 | # CONFIG_EXT2_FS_XATTR is not set | ||
1654 | # CONFIG_EXT2_FS_XIP is not set | ||
1655 | CONFIG_EXT3_FS=y | ||
1656 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
1657 | # CONFIG_EXT3_FS_XATTR is not set | ||
1658 | # CONFIG_EXT4_FS is not set | ||
1659 | CONFIG_JBD=y | ||
1660 | # CONFIG_REISERFS_FS is not set | ||
1661 | # CONFIG_JFS_FS is not set | ||
1662 | # CONFIG_FS_POSIX_ACL is not set | ||
1663 | # CONFIG_XFS_FS is not set | ||
1664 | # CONFIG_GFS2_FS is not set | ||
1665 | # CONFIG_OCFS2_FS is not set | ||
1666 | # CONFIG_BTRFS_FS is not set | ||
1667 | # CONFIG_NILFS2_FS is not set | ||
1668 | CONFIG_FILE_LOCKING=y | ||
1669 | CONFIG_FSNOTIFY=y | ||
1670 | # CONFIG_DNOTIFY is not set | ||
1671 | CONFIG_INOTIFY=y | ||
1672 | CONFIG_INOTIFY_USER=y | ||
1673 | # CONFIG_QUOTA is not set | ||
1674 | # CONFIG_AUTOFS_FS is not set | ||
1675 | # CONFIG_AUTOFS4_FS is not set | ||
1676 | # CONFIG_FUSE_FS is not set | ||
1677 | |||
1678 | # | ||
1679 | # Caches | ||
1680 | # | ||
1681 | # CONFIG_FSCACHE is not set | ||
1682 | |||
1683 | # | ||
1684 | # CD-ROM/DVD Filesystems | ||
1685 | # | ||
1686 | # CONFIG_ISO9660_FS is not set | ||
1687 | # CONFIG_UDF_FS is not set | ||
1688 | |||
1689 | # | ||
1690 | # DOS/FAT/NT Filesystems | ||
1691 | # | ||
1692 | CONFIG_FAT_FS=m | ||
1693 | # CONFIG_MSDOS_FS is not set | ||
1694 | CONFIG_VFAT_FS=m | ||
1695 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1696 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1697 | # CONFIG_NTFS_FS is not set | ||
1698 | |||
1699 | # | ||
1700 | # Pseudo filesystems | ||
1701 | # | ||
1702 | CONFIG_PROC_FS=y | ||
1703 | CONFIG_PROC_SYSCTL=y | ||
1704 | CONFIG_PROC_PAGE_MONITOR=y | ||
1705 | CONFIG_SYSFS=y | ||
1706 | CONFIG_TMPFS=y | ||
1707 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1708 | # CONFIG_HUGETLB_PAGE is not set | ||
1709 | # CONFIG_CONFIGFS_FS is not set | ||
1710 | CONFIG_MISC_FILESYSTEMS=y | ||
1711 | # CONFIG_ADFS_FS is not set | ||
1712 | # CONFIG_AFFS_FS is not set | ||
1713 | # CONFIG_HFS_FS is not set | ||
1714 | # CONFIG_HFSPLUS_FS is not set | ||
1715 | # CONFIG_BEFS_FS is not set | ||
1716 | # CONFIG_BFS_FS is not set | ||
1717 | # CONFIG_EFS_FS is not set | ||
1718 | CONFIG_JFFS2_FS=y | ||
1719 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1720 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1721 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1722 | # CONFIG_JFFS2_SUMMARY is not set | ||
1723 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1724 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1725 | CONFIG_JFFS2_ZLIB=y | ||
1726 | # CONFIG_JFFS2_LZO is not set | ||
1727 | CONFIG_JFFS2_RTIME=y | ||
1728 | # CONFIG_JFFS2_RUBIN is not set | ||
1729 | # CONFIG_CRAMFS is not set | ||
1730 | # CONFIG_SQUASHFS is not set | ||
1731 | # CONFIG_VXFS_FS is not set | ||
1732 | # CONFIG_MINIX_FS is not set | ||
1733 | # CONFIG_OMFS_FS is not set | ||
1734 | # CONFIG_HPFS_FS is not set | ||
1735 | # CONFIG_QNX4FS_FS is not set | ||
1736 | # CONFIG_ROMFS_FS is not set | ||
1737 | # CONFIG_SYSV_FS is not set | ||
1738 | # CONFIG_UFS_FS is not set | ||
1739 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1740 | CONFIG_NFS_FS=y | ||
1741 | CONFIG_NFS_V3=y | ||
1742 | # CONFIG_NFS_V3_ACL is not set | ||
1743 | # CONFIG_NFS_V4 is not set | ||
1744 | CONFIG_ROOT_NFS=y | ||
1745 | CONFIG_NFSD=m | ||
1746 | CONFIG_NFSD_V3=y | ||
1747 | # CONFIG_NFSD_V3_ACL is not set | ||
1748 | # CONFIG_NFSD_V4 is not set | ||
1749 | CONFIG_LOCKD=y | ||
1750 | CONFIG_LOCKD_V4=y | ||
1751 | CONFIG_EXPORTFS=m | ||
1752 | CONFIG_NFS_COMMON=y | ||
1753 | CONFIG_SUNRPC=y | ||
1754 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1755 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1756 | # CONFIG_SMB_FS is not set | ||
1757 | # CONFIG_CIFS is not set | ||
1758 | # CONFIG_NCP_FS is not set | ||
1759 | # CONFIG_CODA_FS is not set | ||
1760 | # CONFIG_AFS_FS is not set | ||
1761 | |||
1762 | # | ||
1763 | # Partition Types | ||
1764 | # | ||
1765 | CONFIG_PARTITION_ADVANCED=y | ||
1766 | # CONFIG_ACORN_PARTITION is not set | ||
1767 | # CONFIG_OSF_PARTITION is not set | ||
1768 | # CONFIG_AMIGA_PARTITION is not set | ||
1769 | # CONFIG_ATARI_PARTITION is not set | ||
1770 | # CONFIG_MAC_PARTITION is not set | ||
1771 | CONFIG_MSDOS_PARTITION=y | ||
1772 | # CONFIG_BSD_DISKLABEL is not set | ||
1773 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1774 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1775 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1776 | # CONFIG_LDM_PARTITION is not set | ||
1777 | # CONFIG_SGI_PARTITION is not set | ||
1778 | # CONFIG_ULTRIX_PARTITION is not set | ||
1779 | # CONFIG_SUN_PARTITION is not set | ||
1780 | # CONFIG_KARMA_PARTITION is not set | ||
1781 | # CONFIG_EFI_PARTITION is not set | ||
1782 | # CONFIG_SYSV68_PARTITION is not set | ||
1783 | CONFIG_NLS=m | ||
1784 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1785 | CONFIG_NLS_CODEPAGE_437=m | ||
1786 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1787 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1788 | CONFIG_NLS_CODEPAGE_850=m | ||
1789 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1790 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1791 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1792 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1793 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1794 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1795 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1796 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1797 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1798 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1799 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1800 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1801 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1802 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1803 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1804 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1805 | # CONFIG_NLS_ISO8859_8 is not set | ||
1806 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1807 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1808 | # CONFIG_NLS_ASCII is not set | ||
1809 | CONFIG_NLS_ISO8859_1=m | ||
1810 | # CONFIG_NLS_ISO8859_2 is not set | ||
1811 | # CONFIG_NLS_ISO8859_3 is not set | ||
1812 | # CONFIG_NLS_ISO8859_4 is not set | ||
1813 | # CONFIG_NLS_ISO8859_5 is not set | ||
1814 | # CONFIG_NLS_ISO8859_6 is not set | ||
1815 | # CONFIG_NLS_ISO8859_7 is not set | ||
1816 | # CONFIG_NLS_ISO8859_9 is not set | ||
1817 | # CONFIG_NLS_ISO8859_13 is not set | ||
1818 | # CONFIG_NLS_ISO8859_14 is not set | ||
1819 | CONFIG_NLS_ISO8859_15=m | ||
1820 | # CONFIG_NLS_KOI8_R is not set | ||
1821 | # CONFIG_NLS_KOI8_U is not set | ||
1822 | CONFIG_NLS_UTF8=m | ||
1823 | # CONFIG_DLM is not set | ||
1824 | |||
1825 | # | ||
1826 | # Kernel hacking | ||
1827 | # | ||
1828 | # CONFIG_PRINTK_TIME is not set | ||
1829 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1830 | CONFIG_ENABLE_MUST_CHECK=y | ||
1831 | CONFIG_FRAME_WARN=1024 | ||
1832 | CONFIG_MAGIC_SYSRQ=y | ||
1833 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1834 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1835 | # CONFIG_DEBUG_FS is not set | ||
1836 | # CONFIG_HEADERS_CHECK is not set | ||
1837 | CONFIG_DEBUG_KERNEL=y | ||
1838 | # CONFIG_DEBUG_SHIRQ is not set | ||
1839 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1840 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1841 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1842 | CONFIG_DETECT_HUNG_TASK=y | ||
1843 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1844 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1845 | CONFIG_SCHED_DEBUG=y | ||
1846 | # CONFIG_SCHEDSTATS is not set | ||
1847 | # CONFIG_TIMER_STATS is not set | ||
1848 | # CONFIG_DEBUG_OBJECTS is not set | ||
1849 | # CONFIG_SLUB_DEBUG_ON is not set | ||
1850 | # CONFIG_SLUB_STATS is not set | ||
1851 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1852 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
1853 | # CONFIG_RT_MUTEX_TESTER is not set | ||
1854 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1855 | CONFIG_DEBUG_MUTEXES=y | ||
1856 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1857 | # CONFIG_PROVE_LOCKING is not set | ||
1858 | # CONFIG_LOCK_STAT is not set | ||
1859 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1860 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1861 | # CONFIG_DEBUG_KOBJECT is not set | ||
1862 | CONFIG_DEBUG_BUGVERBOSE=y | ||
1863 | # CONFIG_DEBUG_INFO is not set | ||
1864 | # CONFIG_DEBUG_VM is not set | ||
1865 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1866 | CONFIG_DEBUG_MEMORY_INIT=y | ||
1867 | # CONFIG_DEBUG_LIST is not set | ||
1868 | # CONFIG_DEBUG_SG is not set | ||
1869 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
1870 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1871 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
1872 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1873 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
1874 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
1875 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1876 | # CONFIG_FAULT_INJECTION is not set | ||
1877 | # CONFIG_LATENCYTOP is not set | ||
1878 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
1879 | # CONFIG_PAGE_POISONING is not set | ||
1880 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1881 | CONFIG_TRACING_SUPPORT=y | ||
1882 | CONFIG_FTRACE=y | ||
1883 | # CONFIG_FUNCTION_TRACER is not set | ||
1884 | # CONFIG_IRQSOFF_TRACER is not set | ||
1885 | # CONFIG_SCHED_TRACER is not set | ||
1886 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set | ||
1887 | # CONFIG_BOOT_TRACER is not set | ||
1888 | CONFIG_BRANCH_PROFILE_NONE=y | ||
1889 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1890 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1891 | # CONFIG_STACK_TRACER is not set | ||
1892 | # CONFIG_KMEMTRACE is not set | ||
1893 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1894 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1895 | # CONFIG_SAMPLES is not set | ||
1896 | CONFIG_HAVE_ARCH_KGDB=y | ||
1897 | # CONFIG_KGDB is not set | ||
1898 | CONFIG_ARM_UNWIND=y | ||
1899 | # CONFIG_DEBUG_USER is not set | ||
1900 | CONFIG_DEBUG_ERRORS=y | ||
1901 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
1902 | # CONFIG_DEBUG_LL is not set | ||
1903 | # CONFIG_OC_ETM is not set | ||
1904 | |||
1905 | # | ||
1906 | # Security options | ||
1907 | # | ||
1908 | # CONFIG_KEYS is not set | ||
1909 | # CONFIG_SECURITY is not set | ||
1910 | # CONFIG_SECURITYFS is not set | ||
1911 | # CONFIG_DEFAULT_SECURITY_SELINUX is not set | ||
1912 | # CONFIG_DEFAULT_SECURITY_SMACK is not set | ||
1913 | # CONFIG_DEFAULT_SECURITY_TOMOYO is not set | ||
1914 | CONFIG_DEFAULT_SECURITY_DAC=y | ||
1915 | CONFIG_DEFAULT_SECURITY="" | ||
1916 | CONFIG_CRYPTO=y | ||
1917 | |||
1918 | # | ||
1919 | # Crypto core or helper | ||
1920 | # | ||
1921 | CONFIG_CRYPTO_ALGAPI=m | ||
1922 | CONFIG_CRYPTO_ALGAPI2=m | ||
1923 | CONFIG_CRYPTO_AEAD2=m | ||
1924 | CONFIG_CRYPTO_BLKCIPHER=m | ||
1925 | CONFIG_CRYPTO_BLKCIPHER2=m | ||
1926 | CONFIG_CRYPTO_HASH=m | ||
1927 | CONFIG_CRYPTO_HASH2=m | ||
1928 | CONFIG_CRYPTO_RNG2=m | ||
1929 | CONFIG_CRYPTO_PCOMP=m | ||
1930 | CONFIG_CRYPTO_MANAGER=m | ||
1931 | CONFIG_CRYPTO_MANAGER2=m | ||
1932 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1933 | # CONFIG_CRYPTO_NULL is not set | ||
1934 | CONFIG_CRYPTO_WORKQUEUE=m | ||
1935 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1936 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1937 | # CONFIG_CRYPTO_TEST is not set | ||
1938 | |||
1939 | # | ||
1940 | # Authenticated Encryption with Associated Data | ||
1941 | # | ||
1942 | # CONFIG_CRYPTO_CCM is not set | ||
1943 | # CONFIG_CRYPTO_GCM is not set | ||
1944 | # CONFIG_CRYPTO_SEQIV is not set | ||
1945 | |||
1946 | # | ||
1947 | # Block modes | ||
1948 | # | ||
1949 | # CONFIG_CRYPTO_CBC is not set | ||
1950 | # CONFIG_CRYPTO_CTR is not set | ||
1951 | # CONFIG_CRYPTO_CTS is not set | ||
1952 | CONFIG_CRYPTO_ECB=m | ||
1953 | # CONFIG_CRYPTO_LRW is not set | ||
1954 | # CONFIG_CRYPTO_PCBC is not set | ||
1955 | # CONFIG_CRYPTO_XTS is not set | ||
1956 | |||
1957 | # | ||
1958 | # Hash modes | ||
1959 | # | ||
1960 | # CONFIG_CRYPTO_HMAC is not set | ||
1961 | # CONFIG_CRYPTO_XCBC is not set | ||
1962 | # CONFIG_CRYPTO_VMAC is not set | ||
1963 | |||
1964 | # | ||
1965 | # Digest | ||
1966 | # | ||
1967 | # CONFIG_CRYPTO_CRC32C is not set | ||
1968 | # CONFIG_CRYPTO_GHASH is not set | ||
1969 | # CONFIG_CRYPTO_MD4 is not set | ||
1970 | # CONFIG_CRYPTO_MD5 is not set | ||
1971 | CONFIG_CRYPTO_MICHAEL_MIC=m | ||
1972 | # CONFIG_CRYPTO_RMD128 is not set | ||
1973 | # CONFIG_CRYPTO_RMD160 is not set | ||
1974 | # CONFIG_CRYPTO_RMD256 is not set | ||
1975 | # CONFIG_CRYPTO_RMD320 is not set | ||
1976 | # CONFIG_CRYPTO_SHA1 is not set | ||
1977 | # CONFIG_CRYPTO_SHA256 is not set | ||
1978 | # CONFIG_CRYPTO_SHA512 is not set | ||
1979 | # CONFIG_CRYPTO_TGR192 is not set | ||
1980 | # CONFIG_CRYPTO_WP512 is not set | ||
1981 | |||
1982 | # | ||
1983 | # Ciphers | ||
1984 | # | ||
1985 | CONFIG_CRYPTO_AES=m | ||
1986 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1987 | CONFIG_CRYPTO_ARC4=m | ||
1988 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1989 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1990 | # CONFIG_CRYPTO_CAST5 is not set | ||
1991 | # CONFIG_CRYPTO_CAST6 is not set | ||
1992 | # CONFIG_CRYPTO_DES is not set | ||
1993 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1994 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1995 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1996 | # CONFIG_CRYPTO_SEED is not set | ||
1997 | # CONFIG_CRYPTO_SERPENT is not set | ||
1998 | # CONFIG_CRYPTO_TEA is not set | ||
1999 | # CONFIG_CRYPTO_TWOFISH is not set | ||
2000 | |||
2001 | # | ||
2002 | # Compression | ||
2003 | # | ||
2004 | # CONFIG_CRYPTO_DEFLATE is not set | ||
2005 | # CONFIG_CRYPTO_ZLIB is not set | ||
2006 | # CONFIG_CRYPTO_LZO is not set | ||
2007 | |||
2008 | # | ||
2009 | # Random Number Generation | ||
2010 | # | ||
2011 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
2012 | CONFIG_CRYPTO_HW=y | ||
2013 | # CONFIG_BINARY_PRINTF is not set | ||
2014 | |||
2015 | # | ||
2016 | # Library routines | ||
2017 | # | ||
2018 | CONFIG_BITREVERSE=y | ||
2019 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
2020 | CONFIG_CRC_CCITT=m | ||
2021 | CONFIG_CRC16=m | ||
2022 | CONFIG_CRC_T10DIF=m | ||
2023 | CONFIG_CRC_ITU_T=m | ||
2024 | CONFIG_CRC32=y | ||
2025 | # CONFIG_CRC7 is not set | ||
2026 | # CONFIG_LIBCRC32C is not set | ||
2027 | CONFIG_ZLIB_INFLATE=y | ||
2028 | CONFIG_ZLIB_DEFLATE=y | ||
2029 | CONFIG_HAS_IOMEM=y | ||
2030 | CONFIG_HAS_IOPORT=y | ||
2031 | CONFIG_HAS_DMA=y | ||
2032 | CONFIG_NLATTR=y | ||
diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h index acac5302e4ea..8920b2d6e3b8 100644 --- a/arch/arm/include/asm/mach/irq.h +++ b/arch/arm/include/asm/mach/irq.h | |||
@@ -26,9 +26,9 @@ extern int show_fiq_list(struct seq_file *, void *); | |||
26 | */ | 26 | */ |
27 | #define do_bad_IRQ(irq,desc) \ | 27 | #define do_bad_IRQ(irq,desc) \ |
28 | do { \ | 28 | do { \ |
29 | spin_lock(&desc->lock); \ | 29 | raw_spin_lock(&desc->lock); \ |
30 | handle_bad_irq(irq, desc); \ | 30 | handle_bad_irq(irq, desc); \ |
31 | spin_unlock(&desc->lock); \ | 31 | raw_spin_unlock(&desc->lock); \ |
32 | } while(0) | 32 | } while(0) |
33 | 33 | ||
34 | #endif | 34 | #endif |
diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h index c13681ac1ede..c91c64cab922 100644 --- a/arch/arm/include/asm/spinlock.h +++ b/arch/arm/include/asm/spinlock.h | |||
@@ -17,13 +17,13 @@ | |||
17 | * Locked value: 1 | 17 | * Locked value: 1 |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #define __raw_spin_is_locked(x) ((x)->lock != 0) | 20 | #define arch_spin_is_locked(x) ((x)->lock != 0) |
21 | #define __raw_spin_unlock_wait(lock) \ | 21 | #define arch_spin_unlock_wait(lock) \ |
22 | do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0) | 22 | do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0) |
23 | 23 | ||
24 | #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) | 24 | #define arch_spin_lock_flags(lock, flags) arch_spin_lock(lock) |
25 | 25 | ||
26 | static inline void __raw_spin_lock(raw_spinlock_t *lock) | 26 | static inline void arch_spin_lock(arch_spinlock_t *lock) |
27 | { | 27 | { |
28 | unsigned long tmp; | 28 | unsigned long tmp; |
29 | 29 | ||
@@ -43,7 +43,7 @@ static inline void __raw_spin_lock(raw_spinlock_t *lock) | |||
43 | smp_mb(); | 43 | smp_mb(); |
44 | } | 44 | } |
45 | 45 | ||
46 | static inline int __raw_spin_trylock(raw_spinlock_t *lock) | 46 | static inline int arch_spin_trylock(arch_spinlock_t *lock) |
47 | { | 47 | { |
48 | unsigned long tmp; | 48 | unsigned long tmp; |
49 | 49 | ||
@@ -63,7 +63,7 @@ static inline int __raw_spin_trylock(raw_spinlock_t *lock) | |||
63 | } | 63 | } |
64 | } | 64 | } |
65 | 65 | ||
66 | static inline void __raw_spin_unlock(raw_spinlock_t *lock) | 66 | static inline void arch_spin_unlock(arch_spinlock_t *lock) |
67 | { | 67 | { |
68 | smp_mb(); | 68 | smp_mb(); |
69 | 69 | ||
@@ -86,7 +86,7 @@ static inline void __raw_spin_unlock(raw_spinlock_t *lock) | |||
86 | * just write zero since the lock is exclusively held. | 86 | * just write zero since the lock is exclusively held. |
87 | */ | 87 | */ |
88 | 88 | ||
89 | static inline void __raw_write_lock(raw_rwlock_t *rw) | 89 | static inline void arch_write_lock(arch_rwlock_t *rw) |
90 | { | 90 | { |
91 | unsigned long tmp; | 91 | unsigned long tmp; |
92 | 92 | ||
@@ -106,7 +106,7 @@ static inline void __raw_write_lock(raw_rwlock_t *rw) | |||
106 | smp_mb(); | 106 | smp_mb(); |
107 | } | 107 | } |
108 | 108 | ||
109 | static inline int __raw_write_trylock(raw_rwlock_t *rw) | 109 | static inline int arch_write_trylock(arch_rwlock_t *rw) |
110 | { | 110 | { |
111 | unsigned long tmp; | 111 | unsigned long tmp; |
112 | 112 | ||
@@ -126,7 +126,7 @@ static inline int __raw_write_trylock(raw_rwlock_t *rw) | |||
126 | } | 126 | } |
127 | } | 127 | } |
128 | 128 | ||
129 | static inline void __raw_write_unlock(raw_rwlock_t *rw) | 129 | static inline void arch_write_unlock(arch_rwlock_t *rw) |
130 | { | 130 | { |
131 | smp_mb(); | 131 | smp_mb(); |
132 | 132 | ||
@@ -142,7 +142,7 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw) | |||
142 | } | 142 | } |
143 | 143 | ||
144 | /* write_can_lock - would write_trylock() succeed? */ | 144 | /* write_can_lock - would write_trylock() succeed? */ |
145 | #define __raw_write_can_lock(x) ((x)->lock == 0) | 145 | #define arch_write_can_lock(x) ((x)->lock == 0) |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * Read locks are a bit more hairy: | 148 | * Read locks are a bit more hairy: |
@@ -156,7 +156,7 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw) | |||
156 | * currently active. However, we know we won't have any write | 156 | * currently active. However, we know we won't have any write |
157 | * locks. | 157 | * locks. |
158 | */ | 158 | */ |
159 | static inline void __raw_read_lock(raw_rwlock_t *rw) | 159 | static inline void arch_read_lock(arch_rwlock_t *rw) |
160 | { | 160 | { |
161 | unsigned long tmp, tmp2; | 161 | unsigned long tmp, tmp2; |
162 | 162 | ||
@@ -176,7 +176,7 @@ static inline void __raw_read_lock(raw_rwlock_t *rw) | |||
176 | smp_mb(); | 176 | smp_mb(); |
177 | } | 177 | } |
178 | 178 | ||
179 | static inline void __raw_read_unlock(raw_rwlock_t *rw) | 179 | static inline void arch_read_unlock(arch_rwlock_t *rw) |
180 | { | 180 | { |
181 | unsigned long tmp, tmp2; | 181 | unsigned long tmp, tmp2; |
182 | 182 | ||
@@ -198,7 +198,7 @@ static inline void __raw_read_unlock(raw_rwlock_t *rw) | |||
198 | : "cc"); | 198 | : "cc"); |
199 | } | 199 | } |
200 | 200 | ||
201 | static inline int __raw_read_trylock(raw_rwlock_t *rw) | 201 | static inline int arch_read_trylock(arch_rwlock_t *rw) |
202 | { | 202 | { |
203 | unsigned long tmp, tmp2 = 1; | 203 | unsigned long tmp, tmp2 = 1; |
204 | 204 | ||
@@ -215,13 +215,13 @@ static inline int __raw_read_trylock(raw_rwlock_t *rw) | |||
215 | } | 215 | } |
216 | 216 | ||
217 | /* read_can_lock - would read_trylock() succeed? */ | 217 | /* read_can_lock - would read_trylock() succeed? */ |
218 | #define __raw_read_can_lock(x) ((x)->lock < 0x80000000) | 218 | #define arch_read_can_lock(x) ((x)->lock < 0x80000000) |
219 | 219 | ||
220 | #define __raw_read_lock_flags(lock, flags) __raw_read_lock(lock) | 220 | #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) |
221 | #define __raw_write_lock_flags(lock, flags) __raw_write_lock(lock) | 221 | #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) |
222 | 222 | ||
223 | #define _raw_spin_relax(lock) cpu_relax() | 223 | #define arch_spin_relax(lock) cpu_relax() |
224 | #define _raw_read_relax(lock) cpu_relax() | 224 | #define arch_read_relax(lock) cpu_relax() |
225 | #define _raw_write_relax(lock) cpu_relax() | 225 | #define arch_write_relax(lock) cpu_relax() |
226 | 226 | ||
227 | #endif /* __ASM_SPINLOCK_H */ | 227 | #endif /* __ASM_SPINLOCK_H */ |
diff --git a/arch/arm/include/asm/spinlock_types.h b/arch/arm/include/asm/spinlock_types.h index 43e83f6d2ee5..d14d197ae04a 100644 --- a/arch/arm/include/asm/spinlock_types.h +++ b/arch/arm/include/asm/spinlock_types.h | |||
@@ -7,14 +7,14 @@ | |||
7 | 7 | ||
8 | typedef struct { | 8 | typedef struct { |
9 | volatile unsigned int lock; | 9 | volatile unsigned int lock; |
10 | } raw_spinlock_t; | 10 | } arch_spinlock_t; |
11 | 11 | ||
12 | #define __RAW_SPIN_LOCK_UNLOCKED { 0 } | 12 | #define __ARCH_SPIN_LOCK_UNLOCKED { 0 } |
13 | 13 | ||
14 | typedef struct { | 14 | typedef struct { |
15 | volatile unsigned int lock; | 15 | volatile unsigned int lock; |
16 | } raw_rwlock_t; | 16 | } arch_rwlock_t; |
17 | 17 | ||
18 | #define __RAW_RW_LOCK_UNLOCKED { 0 } | 18 | #define __ARCH_RW_LOCK_UNLOCKED { 0 } |
19 | 19 | ||
20 | #endif | 20 | #endif |
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index e7ccf7e697ce..dd00f747e2ad 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
@@ -54,5 +54,6 @@ endif | |||
54 | 54 | ||
55 | head-y := head$(MMUEXT).o | 55 | head-y := head$(MMUEXT).o |
56 | obj-$(CONFIG_DEBUG_LL) += debug.o | 56 | obj-$(CONFIG_DEBUG_LL) += debug.o |
57 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
57 | 58 | ||
58 | extra-y := $(head-y) init_task.o vmlinux.lds | 59 | extra-y := $(head-y) init_task.o vmlinux.lds |
diff --git a/arch/arm/kernel/early_printk.c b/arch/arm/kernel/early_printk.c new file mode 100644 index 000000000000..85aa2b292692 --- /dev/null +++ b/arch/arm/kernel/early_printk.c | |||
@@ -0,0 +1,57 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/kernel/early_printk.c | ||
3 | * | ||
4 | * Copyright (C) 2009 Sascha Hauer <s.hauer@pengutronix.de> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/console.h> | ||
13 | #include <linux/init.h> | ||
14 | |||
15 | extern void printch(int); | ||
16 | |||
17 | static void early_write(const char *s, unsigned n) | ||
18 | { | ||
19 | while (n-- > 0) { | ||
20 | if (*s == '\n') | ||
21 | printch('\r'); | ||
22 | printch(*s); | ||
23 | s++; | ||
24 | } | ||
25 | } | ||
26 | |||
27 | static void early_console_write(struct console *con, const char *s, unsigned n) | ||
28 | { | ||
29 | early_write(s, n); | ||
30 | } | ||
31 | |||
32 | static struct console early_console = { | ||
33 | .name = "earlycon", | ||
34 | .write = early_console_write, | ||
35 | .flags = CON_PRINTBUFFER | CON_BOOT, | ||
36 | .index = -1, | ||
37 | }; | ||
38 | |||
39 | asmlinkage void early_printk(const char *fmt, ...) | ||
40 | { | ||
41 | char buf[512]; | ||
42 | int n; | ||
43 | va_list ap; | ||
44 | |||
45 | va_start(ap, fmt); | ||
46 | n = vscnprintf(buf, sizeof(buf), fmt, ap); | ||
47 | early_write(buf, n); | ||
48 | va_end(ap); | ||
49 | } | ||
50 | |||
51 | static int __init setup_early_printk(char *buf) | ||
52 | { | ||
53 | register_console(&early_console); | ||
54 | return 0; | ||
55 | } | ||
56 | |||
57 | early_param("earlyprintk", setup_early_printk); | ||
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index c9a8619f3856..b7cb45bb91e8 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -69,7 +69,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | if (i < NR_IRQS) { | 71 | if (i < NR_IRQS) { |
72 | spin_lock_irqsave(&irq_desc[i].lock, flags); | 72 | raw_spin_lock_irqsave(&irq_desc[i].lock, flags); |
73 | action = irq_desc[i].action; | 73 | action = irq_desc[i].action; |
74 | if (!action) | 74 | if (!action) |
75 | goto unlock; | 75 | goto unlock; |
@@ -84,7 +84,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
84 | 84 | ||
85 | seq_putc(p, '\n'); | 85 | seq_putc(p, '\n'); |
86 | unlock: | 86 | unlock: |
87 | spin_unlock_irqrestore(&irq_desc[i].lock, flags); | 87 | raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags); |
88 | } else if (i == NR_IRQS) { | 88 | } else if (i == NR_IRQS) { |
89 | #ifdef CONFIG_FIQ | 89 | #ifdef CONFIG_FIQ |
90 | show_fiq_list(p, v); | 90 | show_fiq_list(p, v); |
@@ -139,7 +139,7 @@ void set_irq_flags(unsigned int irq, unsigned int iflags) | |||
139 | } | 139 | } |
140 | 140 | ||
141 | desc = irq_desc + irq; | 141 | desc = irq_desc + irq; |
142 | spin_lock_irqsave(&desc->lock, flags); | 142 | raw_spin_lock_irqsave(&desc->lock, flags); |
143 | desc->status |= IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; | 143 | desc->status |= IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; |
144 | if (iflags & IRQF_VALID) | 144 | if (iflags & IRQF_VALID) |
145 | desc->status &= ~IRQ_NOREQUEST; | 145 | desc->status &= ~IRQ_NOREQUEST; |
@@ -147,7 +147,7 @@ void set_irq_flags(unsigned int irq, unsigned int iflags) | |||
147 | desc->status &= ~IRQ_NOPROBE; | 147 | desc->status &= ~IRQ_NOPROBE; |
148 | if (!(iflags & IRQF_NOAUTOEN)) | 148 | if (!(iflags & IRQF_NOAUTOEN)) |
149 | desc->status &= ~IRQ_NOAUTOEN; | 149 | desc->status &= ~IRQ_NOAUTOEN; |
150 | spin_unlock_irqrestore(&desc->lock, flags); | 150 | raw_spin_unlock_irqrestore(&desc->lock, flags); |
151 | } | 151 | } |
152 | 152 | ||
153 | void __init init_IRQ(void) | 153 | void __init init_IRQ(void) |
@@ -166,9 +166,9 @@ static void route_irq(struct irq_desc *desc, unsigned int irq, unsigned int cpu) | |||
166 | { | 166 | { |
167 | pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->node, cpu); | 167 | pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->node, cpu); |
168 | 168 | ||
169 | spin_lock_irq(&desc->lock); | 169 | raw_spin_lock_irq(&desc->lock); |
170 | desc->chip->set_affinity(irq, cpumask_of(cpu)); | 170 | desc->chip->set_affinity(irq, cpumask_of(cpu)); |
171 | spin_unlock_irq(&desc->lock); | 171 | raw_spin_unlock_irq(&desc->lock); |
172 | } | 172 | } |
173 | 173 | ||
174 | /* | 174 | /* |
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index a73a34dccf2a..ea02a7b1c244 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c | |||
@@ -160,6 +160,7 @@ void __cpuinit twd_timer_setup(struct clock_event_device *clk) | |||
160 | 160 | ||
161 | /* Make sure our local interrupt controller has this enabled */ | 161 | /* Make sure our local interrupt controller has this enabled */ |
162 | local_irq_save(flags); | 162 | local_irq_save(flags); |
163 | irq_to_desc(clk->irq)->status |= IRQ_NOPROBE; | ||
163 | get_irq_chip(clk->irq)->unmask(clk->irq); | 164 | get_irq_chip(clk->irq)->unmask(clk->irq); |
164 | local_irq_restore(flags); | 165 | local_irq_restore(flags); |
165 | 166 | ||
diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h new file mode 100644 index 000000000000..998cb0c07135 --- /dev/null +++ b/arch/arm/mach-at91/include/mach/atmel-mci.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef __MACH_ATMEL_MCI_H | ||
2 | #define __MACH_ATMEL_MCI_H | ||
3 | |||
4 | #include <mach/at_hdmac.h> | ||
5 | |||
6 | /** | ||
7 | * struct mci_dma_data - DMA data for MCI interface | ||
8 | */ | ||
9 | struct mci_dma_data { | ||
10 | struct at_dma_slave sdata; | ||
11 | }; | ||
12 | |||
13 | /* accessor macros */ | ||
14 | #define slave_data_ptr(s) (&(s)->sdata) | ||
15 | #define find_slave_dev(s) ((s)->sdata.dma_dev) | ||
16 | |||
17 | #define setup_dma_addr(s, t, r) do { \ | ||
18 | if (s) { \ | ||
19 | (s)->sdata.tx_reg = (t); \ | ||
20 | (s)->sdata.rx_reg = (r); \ | ||
21 | } \ | ||
22 | } while (0) | ||
23 | |||
24 | #endif /* __MACH_ATMEL_MCI_H */ | ||
diff --git a/arch/arm/mach-clps711x/include/mach/memory.h b/arch/arm/mach-clps711x/include/mach/memory.h index e522b20bcbc2..f70d52be48a2 100644 --- a/arch/arm/mach-clps711x/include/mach/memory.h +++ b/arch/arm/mach-clps711x/include/mach/memory.h | |||
@@ -30,6 +30,8 @@ | |||
30 | 30 | ||
31 | #define __virt_to_bus(x) ((x) - PAGE_OFFSET) | 31 | #define __virt_to_bus(x) ((x) - PAGE_OFFSET) |
32 | #define __bus_to_virt(x) ((x) + PAGE_OFFSET) | 32 | #define __bus_to_virt(x) ((x) + PAGE_OFFSET) |
33 | #define __pfn_to_bus(x) (__pfn_to_phys(x) - PHYS_OFFSET) | ||
34 | #define __bus_to_pfn(x) __phys_to_pfn((x) + PHYS_OFFSET) | ||
33 | 35 | ||
34 | #endif | 36 | #endif |
35 | 37 | ||
diff --git a/arch/arm/mach-footbridge/common.c b/arch/arm/mach-footbridge/common.c index b97f529e58e8..41febc796b1c 100644 --- a/arch/arm/mach-footbridge/common.c +++ b/arch/arm/mach-footbridge/common.c | |||
@@ -201,6 +201,11 @@ void __init footbridge_map_io(void) | |||
201 | 201 | ||
202 | #ifdef CONFIG_FOOTBRIDGE_ADDIN | 202 | #ifdef CONFIG_FOOTBRIDGE_ADDIN |
203 | 203 | ||
204 | static inline unsigned long fb_bus_sdram_offset(void) | ||
205 | { | ||
206 | return *CSR_PCISDRAMBASE & 0xfffffff0; | ||
207 | } | ||
208 | |||
204 | /* | 209 | /* |
205 | * These two functions convert virtual addresses to PCI addresses and PCI | 210 | * These two functions convert virtual addresses to PCI addresses and PCI |
206 | * addresses to virtual addresses. Note that it is only legal to use these | 211 | * addresses to virtual addresses. Note that it is only legal to use these |
@@ -210,14 +215,13 @@ unsigned long __virt_to_bus(unsigned long res) | |||
210 | { | 215 | { |
211 | WARN_ON(res < PAGE_OFFSET || res >= (unsigned long)high_memory); | 216 | WARN_ON(res < PAGE_OFFSET || res >= (unsigned long)high_memory); |
212 | 217 | ||
213 | return (res - PAGE_OFFSET) + (*CSR_PCISDRAMBASE & 0xfffffff0); | 218 | return res + (fb_bus_sdram_offset() - PAGE_OFFSET); |
214 | } | 219 | } |
215 | EXPORT_SYMBOL(__virt_to_bus); | 220 | EXPORT_SYMBOL(__virt_to_bus); |
216 | 221 | ||
217 | unsigned long __bus_to_virt(unsigned long res) | 222 | unsigned long __bus_to_virt(unsigned long res) |
218 | { | 223 | { |
219 | res -= (*CSR_PCISDRAMBASE & 0xfffffff0); | 224 | res = res - (fb_bus_sdram_offset() - PAGE_OFFSET); |
220 | res += PAGE_OFFSET; | ||
221 | 225 | ||
222 | WARN_ON(res < PAGE_OFFSET || res >= (unsigned long)high_memory); | 226 | WARN_ON(res < PAGE_OFFSET || res >= (unsigned long)high_memory); |
223 | 227 | ||
@@ -225,4 +229,16 @@ unsigned long __bus_to_virt(unsigned long res) | |||
225 | } | 229 | } |
226 | EXPORT_SYMBOL(__bus_to_virt); | 230 | EXPORT_SYMBOL(__bus_to_virt); |
227 | 231 | ||
232 | unsigned long __pfn_to_bus(unsigned long pfn) | ||
233 | { | ||
234 | return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET)); | ||
235 | } | ||
236 | EXPORT_SYMBOL(__pfn_to_bus); | ||
237 | |||
238 | unsigned long __bus_to_pfn(unsigned long bus) | ||
239 | { | ||
240 | return __phys_to_pfn(bus - (fb_bus_sdram_offset() - PHYS_OFFSET)); | ||
241 | } | ||
242 | EXPORT_SYMBOL(__bus_to_pfn); | ||
243 | |||
228 | #endif | 244 | #endif |
diff --git a/arch/arm/mach-footbridge/include/mach/memory.h b/arch/arm/mach-footbridge/include/mach/memory.h index cb16e59d87b6..8d64f4574087 100644 --- a/arch/arm/mach-footbridge/include/mach/memory.h +++ b/arch/arm/mach-footbridge/include/mach/memory.h | |||
@@ -29,6 +29,8 @@ | |||
29 | #ifndef __ASSEMBLY__ | 29 | #ifndef __ASSEMBLY__ |
30 | extern unsigned long __virt_to_bus(unsigned long); | 30 | extern unsigned long __virt_to_bus(unsigned long); |
31 | extern unsigned long __bus_to_virt(unsigned long); | 31 | extern unsigned long __bus_to_virt(unsigned long); |
32 | extern unsigned long __pfn_to_bus(unsigned long); | ||
33 | extern unsigned long __bus_to_pfn(unsigned long); | ||
32 | #endif | 34 | #endif |
33 | #define __virt_to_bus __virt_to_bus | 35 | #define __virt_to_bus __virt_to_bus |
34 | #define __bus_to_virt __bus_to_virt | 36 | #define __bus_to_virt __bus_to_virt |
@@ -36,14 +38,15 @@ extern unsigned long __bus_to_virt(unsigned long); | |||
36 | #elif defined(CONFIG_FOOTBRIDGE_HOST) | 38 | #elif defined(CONFIG_FOOTBRIDGE_HOST) |
37 | 39 | ||
38 | /* | 40 | /* |
39 | * The footbridge is programmed to expose the system RAM at the corresponding | 41 | * The footbridge is programmed to expose the system RAM at 0xe0000000. |
40 | * address. So, if PAGE_OFFSET is 0xc0000000, RAM appears at 0xe0000000. | 42 | * The requirement is that the RAM isn't placed at bus address 0, which |
41 | * If 0x80000000, then its exposed at 0xa0000000 on the bus. etc. | ||
42 | * The only requirement is that the RAM isn't placed at bus address 0 which | ||
43 | * would clash with VGA cards. | 43 | * would clash with VGA cards. |
44 | */ | 44 | */ |
45 | #define __virt_to_bus(x) ((x) - 0xe0000000) | 45 | #define BUS_OFFSET 0xe0000000 |
46 | #define __bus_to_virt(x) ((x) + 0xe0000000) | 46 | #define __virt_to_bus(x) ((x) + (BUS_OFFSET - PAGE_OFFSET)) |
47 | #define __bus_to_virt(x) ((x) - (BUS_OFFSET - PAGE_OFFSET)) | ||
48 | #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET)) | ||
49 | #define __bus_to_pfn(x) __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET)) | ||
47 | 50 | ||
48 | #else | 51 | #else |
49 | 52 | ||
diff --git a/arch/arm/mach-integrator/include/mach/memory.h b/arch/arm/mach-integrator/include/mach/memory.h index 4891828454f5..991f24d2c115 100644 --- a/arch/arm/mach-integrator/include/mach/memory.h +++ b/arch/arm/mach-integrator/include/mach/memory.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #define BUS_OFFSET UL(0x80000000) | 28 | #define BUS_OFFSET UL(0x80000000) |
29 | #define __virt_to_bus(x) ((x) - PAGE_OFFSET + BUS_OFFSET) | 29 | #define __virt_to_bus(x) ((x) - PAGE_OFFSET + BUS_OFFSET) |
30 | #define __bus_to_virt(x) ((x) - BUS_OFFSET + PAGE_OFFSET) | 30 | #define __bus_to_virt(x) ((x) - BUS_OFFSET + PAGE_OFFSET) |
31 | #define __pfn_to_bus(x) (((x) << PAGE_SHIFT) + BUS_OFFSET) | 31 | #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET)) |
32 | #define __bus_to_pfn(x) __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET)) | ||
32 | 33 | ||
33 | #endif | 34 | #endif |
diff --git a/arch/arm/mach-ixp2000/include/mach/memory.h b/arch/arm/mach-ixp2000/include/mach/memory.h index aee7eb8a71b2..98e3471be15b 100644 --- a/arch/arm/mach-ixp2000/include/mach/memory.h +++ b/arch/arm/mach-ixp2000/include/mach/memory.h | |||
@@ -17,11 +17,15 @@ | |||
17 | 17 | ||
18 | #include <mach/ixp2000-regs.h> | 18 | #include <mach/ixp2000-regs.h> |
19 | 19 | ||
20 | #define __virt_to_bus(v) \ | 20 | #define IXP2000_PCI_SDRAM_OFFSET (*IXP2000_PCI_SDRAM_BAR & 0xfffffff0) |
21 | (((__virt_to_phys(v) - 0x0) + (*IXP2000_PCI_SDRAM_BAR & 0xfffffff0))) | ||
22 | 21 | ||
23 | #define __bus_to_virt(b) \ | 22 | #define __phys_to_bus(x) ((x) + (IXP2000_PCI_SDRAM_OFFSET - PHYS_OFFSET)) |
24 | __phys_to_virt((((b - (*IXP2000_PCI_SDRAM_BAR & 0xfffffff0)) + 0x0))) | 23 | #define __bus_to_phys(x) ((x) - (IXP2000_PCI_SDRAM_OFFSET - PHYS_OFFSET)) |
24 | |||
25 | #define __virt_to_bus(v) __phys_to_bus(__virt_to_phys(v)) | ||
26 | #define __bus_to_virt(b) __phys_to_virt(__bus_to_phys(b)) | ||
27 | #define __pfn_to_bus(p) __phys_to_bus(__pfn_to_phys(p)) | ||
28 | #define __bus_to_pfn(b) __phys_to_pfn(__bus_to_phys(b)) | ||
25 | 29 | ||
26 | #endif | 30 | #endif |
27 | 31 | ||
diff --git a/arch/arm/mach-ixp23xx/include/mach/memory.h b/arch/arm/mach-ixp23xx/include/mach/memory.h index fdd138706c70..94a3a86cfeb8 100644 --- a/arch/arm/mach-ixp23xx/include/mach/memory.h +++ b/arch/arm/mach-ixp23xx/include/mach/memory.h | |||
@@ -19,16 +19,15 @@ | |||
19 | */ | 19 | */ |
20 | #define PHYS_OFFSET (0x00000000) | 20 | #define PHYS_OFFSET (0x00000000) |
21 | 21 | ||
22 | #define __virt_to_bus(v) \ | 22 | #define IXP23XX_PCI_SDRAM_OFFSET (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0)) |
23 | ({ unsigned int ret; \ | 23 | |
24 | ret = ((__virt_to_phys(v) - 0x00000000) + \ | 24 | #define __phys_to_bus(x) ((x) + (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET)) |
25 | (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0)); \ | 25 | #define __bus_to_phys(x) ((x) - (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET)) |
26 | ret; }) | 26 | |
27 | 27 | #define __virt_to_bus(v) __phys_to_bus(__virt_to_phys(v)) | |
28 | #define __bus_to_virt(b) \ | 28 | #define __bus_to_virt(b) __phys_to_virt(__bus_to_phys(b)) |
29 | ({ unsigned int data; \ | 29 | #define __pfn_to_bus(p) __phys_to_bus(__pfn_to_phys(p)) |
30 | data = *((volatile int *)IXP23XX_PCI_SDRAM_BAR); \ | 30 | #define __bus_to_pfn(b) __phys_to_pfn(__bus_to_phys(b)) |
31 | __phys_to_virt((((b - (data & 0xfffffff0)) + 0x00000000))); }) | ||
32 | 31 | ||
33 | #define arch_is_coherent() 1 | 32 | #define arch_is_coherent() 1 |
34 | 33 | ||
diff --git a/arch/arm/mach-lh7a40x/clocks.c b/arch/arm/mach-lh7a40x/clocks.c index 6182f5410b4d..fcaf876f19b6 100644 --- a/arch/arm/mach-lh7a40x/clocks.c +++ b/arch/arm/mach-lh7a40x/clocks.c | |||
@@ -7,8 +7,6 @@ | |||
7 | * version 2 as published by the Free Software Foundation. | 7 | * version 2 as published by the Free Software Foundation. |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | |||
11 | #include <linux/cpufreq.h> | ||
12 | #include <mach/hardware.h> | 10 | #include <mach/hardware.h> |
13 | #include <mach/clocks.h> | 11 | #include <mach/clocks.h> |
14 | #include <linux/err.h> | 12 | #include <linux/err.h> |
@@ -31,12 +29,6 @@ struct clk { | |||
31 | #define HCLKDIV(c) (((c) >> 0) & 0x02) | 29 | #define HCLKDIV(c) (((c) >> 0) & 0x02) |
32 | #define PCLKDIV(c) (((c) >> 16) & 0x03) | 30 | #define PCLKDIV(c) (((c) >> 16) & 0x03) |
33 | 31 | ||
34 | unsigned int cpufreq_get (unsigned int cpu) /* in kHz */ | ||
35 | { | ||
36 | return fclkfreq_get ()/1000; | ||
37 | } | ||
38 | EXPORT_SYMBOL(cpufreq_get); | ||
39 | |||
40 | unsigned int fclkfreq_get (void) | 32 | unsigned int fclkfreq_get (void) |
41 | { | 33 | { |
42 | unsigned int clkset = CSC_CLKSET; | 34 | unsigned int clkset = CSC_CLKSET; |
diff --git a/arch/arm/mach-ns9xxx/irq.c b/arch/arm/mach-ns9xxx/irq.c index feb0e54a91de..038f24d47023 100644 --- a/arch/arm/mach-ns9xxx/irq.c +++ b/arch/arm/mach-ns9xxx/irq.c | |||
@@ -66,7 +66,7 @@ static void handle_prio_irq(unsigned int irq, struct irq_desc *desc) | |||
66 | struct irqaction *action; | 66 | struct irqaction *action; |
67 | irqreturn_t action_ret; | 67 | irqreturn_t action_ret; |
68 | 68 | ||
69 | spin_lock(&desc->lock); | 69 | raw_spin_lock(&desc->lock); |
70 | 70 | ||
71 | BUG_ON(desc->status & IRQ_INPROGRESS); | 71 | BUG_ON(desc->status & IRQ_INPROGRESS); |
72 | 72 | ||
@@ -78,7 +78,7 @@ static void handle_prio_irq(unsigned int irq, struct irq_desc *desc) | |||
78 | goto out_mask; | 78 | goto out_mask; |
79 | 79 | ||
80 | desc->status |= IRQ_INPROGRESS; | 80 | desc->status |= IRQ_INPROGRESS; |
81 | spin_unlock(&desc->lock); | 81 | raw_spin_unlock(&desc->lock); |
82 | 82 | ||
83 | action_ret = handle_IRQ_event(irq, action); | 83 | action_ret = handle_IRQ_event(irq, action); |
84 | 84 | ||
@@ -87,7 +87,7 @@ static void handle_prio_irq(unsigned int irq, struct irq_desc *desc) | |||
87 | * Maybe this function should go to kernel/irq/chip.c? */ | 87 | * Maybe this function should go to kernel/irq/chip.c? */ |
88 | note_interrupt(irq, desc, action_ret); | 88 | note_interrupt(irq, desc, action_ret); |
89 | 89 | ||
90 | spin_lock(&desc->lock); | 90 | raw_spin_lock(&desc->lock); |
91 | desc->status &= ~IRQ_INPROGRESS; | 91 | desc->status &= ~IRQ_INPROGRESS; |
92 | 92 | ||
93 | if (desc->status & IRQ_DISABLED) | 93 | if (desc->status & IRQ_DISABLED) |
@@ -97,7 +97,7 @@ out_mask: | |||
97 | /* ack unconditionally to unmask lower prio irqs */ | 97 | /* ack unconditionally to unmask lower prio irqs */ |
98 | desc->chip->ack(irq); | 98 | desc->chip->ack(irq); |
99 | 99 | ||
100 | spin_unlock(&desc->lock); | 100 | raw_spin_unlock(&desc->lock); |
101 | } | 101 | } |
102 | #define handle_irq handle_prio_irq | 102 | #define handle_irq handle_prio_irq |
103 | #endif | 103 | #endif |
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index db9374bc528b..e508904fb67e 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/mtd/mtd.h> | 19 | #include <linux/mtd/mtd.h> |
20 | #include <linux/mtd/partitions.h> | 20 | #include <linux/mtd/partitions.h> |
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/i2c/twl4030.h> | 22 | #include <linux/i2c/twl.h> |
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | #include <linux/clk.h> | 24 | #include <linux/clk.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 4cfb7b68dfad..c90b0d0b1927 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/input/matrix_keypad.h> | 20 | #include <linux/input/matrix_keypad.h> |
21 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
22 | #include <linux/spi/ads7846.h> | 22 | #include <linux/spi/ads7846.h> |
23 | #include <linux/i2c/twl4030.h> | 23 | #include <linux/i2c/twl.h> |
24 | #include <linux/regulator/machine.h> | 24 | #include <linux/regulator/machine.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 37431738f1c2..995d4a2b2dfd 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/spi/spi.h> | 24 | #include <linux/spi/spi.h> |
25 | #include <linux/spi/ads7846.h> | 25 | #include <linux/spi/ads7846.h> |
26 | #include <linux/regulator/machine.h> | 26 | #include <linux/regulator/machine.h> |
27 | #include <linux/i2c/twl4030.h> | 27 | #include <linux/i2c/twl.h> |
28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
29 | #include <linux/smsc911x.h> | 29 | #include <linux/smsc911x.h> |
30 | 30 | ||
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 6ada8029f9a8..231cb4ec1847 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/mtd/nand.h> | 29 | #include <linux/mtd/nand.h> |
30 | 30 | ||
31 | #include <linux/regulator/machine.h> | 31 | #include <linux/regulator/machine.h> |
32 | #include <linux/i2c/twl4030.h> | 32 | #include <linux/i2c/twl.h> |
33 | 33 | ||
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 6f6c601eeab7..ef17cf1ab6d7 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/spi/spi.h> | 24 | #include <linux/spi/spi.h> |
25 | #include <linux/spi/ads7846.h> | 25 | #include <linux/spi/ads7846.h> |
26 | #include <linux/regulator/machine.h> | 26 | #include <linux/regulator/machine.h> |
27 | #include <linux/i2c/twl4030.h> | 27 | #include <linux/i2c/twl.h> |
28 | #include <linux/leds.h> | 28 | #include <linux/leds.h> |
29 | #include <linux/input.h> | 29 | #include <linux/input.h> |
30 | #include <linux/input/matrix_keypad.h> | 30 | #include <linux/input/matrix_keypad.h> |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 5b78a87217e0..d192dd98a591 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | #include <linux/i2c/twl4030.h> | 29 | #include <linux/i2c/twl.h> |
30 | #include <linux/regulator/machine.h> | 30 | #include <linux/regulator/machine.h> |
31 | 31 | ||
32 | #include <linux/mtd/mtd.h> | 32 | #include <linux/mtd/mtd.h> |
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index bf26ad31f9ba..17f3c91231db 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -402,15 +402,9 @@ static struct twl4030_usb_data rx51_usb_data = { | |||
402 | 402 | ||
403 | static struct twl4030_ins sleep_on_seq[] __initdata = { | 403 | static struct twl4030_ins sleep_on_seq[] __initdata = { |
404 | /* | 404 | /* |
405 | * Turn off VDD1 and VDD2. | 405 | * Turn off everything |
406 | */ | 406 | */ |
407 | {MSG_SINGULAR(DEV_GRP_P1, 0xf, RES_STATE_OFF), 4}, | 407 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, 1, 0, RES_STATE_SLEEP), 2}, |
408 | {MSG_SINGULAR(DEV_GRP_P1, 0x10, RES_STATE_OFF), 2}, | ||
409 | /* | ||
410 | * And also turn off the OMAP3 PLLs and the sysclk output. | ||
411 | */ | ||
412 | {MSG_SINGULAR(DEV_GRP_P1, 0x7, RES_STATE_OFF), 3}, | ||
413 | {MSG_SINGULAR(DEV_GRP_P1, 0x17, RES_STATE_OFF), 3}, | ||
414 | }; | 408 | }; |
415 | 409 | ||
416 | static struct twl4030_script sleep_on_script __initdata = { | 410 | static struct twl4030_script sleep_on_script __initdata = { |
@@ -421,14 +415,9 @@ static struct twl4030_script sleep_on_script __initdata = { | |||
421 | 415 | ||
422 | static struct twl4030_ins wakeup_seq[] __initdata = { | 416 | static struct twl4030_ins wakeup_seq[] __initdata = { |
423 | /* | 417 | /* |
424 | * Reenable the OMAP3 PLLs. | 418 | * Reenable everything |
425 | * Wakeup VDD1 and VDD2. | ||
426 | * Reenable sysclk output. | ||
427 | */ | 419 | */ |
428 | {MSG_SINGULAR(DEV_GRP_P1, 0x7, RES_STATE_ACTIVE), 0x30}, | 420 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, 1, 0, RES_STATE_ACTIVE), 2}, |
429 | {MSG_SINGULAR(DEV_GRP_P1, 0xf, RES_STATE_ACTIVE), 0x30}, | ||
430 | {MSG_SINGULAR(DEV_GRP_P1, 0x10, RES_STATE_ACTIVE), 0x37}, | ||
431 | {MSG_SINGULAR(DEV_GRP_P1, 0x19, RES_STATE_ACTIVE), 3}, | ||
432 | }; | 421 | }; |
433 | 422 | ||
434 | static struct twl4030_script wakeup_script __initdata = { | 423 | static struct twl4030_script wakeup_script __initdata = { |
@@ -439,10 +428,9 @@ static struct twl4030_script wakeup_script __initdata = { | |||
439 | 428 | ||
440 | static struct twl4030_ins wakeup_p3_seq[] __initdata = { | 429 | static struct twl4030_ins wakeup_p3_seq[] __initdata = { |
441 | /* | 430 | /* |
442 | * Wakeup VDD1 (dummy to be able to insert a delay) | 431 | * Reenable everything |
443 | * Enable CLKEN | ||
444 | */ | 432 | */ |
445 | {MSG_SINGULAR(DEV_GRP_P1, 0x17, RES_STATE_ACTIVE), 3}, | 433 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, 1, 0, RES_STATE_ACTIVE), 2}, |
446 | }; | 434 | }; |
447 | 435 | ||
448 | static struct twl4030_script wakeup_p3_script __initdata = { | 436 | static struct twl4030_script wakeup_p3_script __initdata = { |
@@ -463,12 +451,11 @@ static struct twl4030_ins wrst_seq[] __initdata = { | |||
463 | {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_OFF), 2}, | 451 | {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_OFF), 2}, |
464 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, 0, 1, RES_STATE_ACTIVE), | 452 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, 0, 1, RES_STATE_ACTIVE), |
465 | 0x13}, | 453 | 0x13}, |
466 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_PP, 0, 2, RES_STATE_WRST), 0x13}, | ||
467 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_PP, 0, 3, RES_STATE_OFF), 0x13}, | 454 | {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_PP, 0, 3, RES_STATE_OFF), 0x13}, |
468 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VDD1, RES_STATE_WRST), 0x13}, | 455 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VDD1, RES_STATE_WRST), 0x13}, |
469 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VDD2, RES_STATE_WRST), 0x13}, | 456 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VDD2, RES_STATE_WRST), 0x13}, |
470 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VPLL1, RES_STATE_WRST), 0x35}, | 457 | {MSG_SINGULAR(DEV_GRP_NULL, RES_VPLL1, RES_STATE_WRST), 0x35}, |
471 | {MSG_SINGULAR(DEV_GRP_P1, RES_HFCLKOUT, RES_STATE_ACTIVE), 2}, | 458 | {MSG_SINGULAR(DEV_GRP_P3, RES_HFCLKOUT, RES_STATE_ACTIVE), 2}, |
472 | {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_ACTIVE), 2}, | 459 | {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_ACTIVE), 2}, |
473 | }; | 460 | }; |
474 | 461 | ||
@@ -490,22 +477,81 @@ static struct twl4030_script *twl4030_scripts[] __initdata = { | |||
490 | }; | 477 | }; |
491 | 478 | ||
492 | static struct twl4030_resconfig twl4030_rconfig[] __initdata = { | 479 | static struct twl4030_resconfig twl4030_rconfig[] __initdata = { |
493 | { .resource = RES_VINTANA1, .devgroup = -1, .type = -1, .type2 = 1 }, | 480 | { .resource = RES_VDD1, .devgroup = -1, |
494 | { .resource = RES_VINTANA2, .devgroup = -1, .type = -1, .type2 = 1 }, | 481 | .type = 1, .type2 = -1, .remap_off = RES_STATE_OFF, |
495 | { .resource = RES_VINTDIG, .devgroup = -1, .type = -1, .type2 = 1 }, | 482 | .remap_sleep = RES_STATE_OFF |
496 | { .resource = RES_VMMC1, .devgroup = -1, .type = -1, .type2 = 3}, | 483 | }, |
497 | { .resource = RES_VMMC2, .devgroup = DEV_GRP_NULL, .type = -1, | 484 | { .resource = RES_VDD2, .devgroup = -1, |
498 | .type2 = 3}, | 485 | .type = 1, .type2 = -1, .remap_off = RES_STATE_OFF, |
499 | { .resource = RES_VAUX1, .devgroup = -1, .type = -1, .type2 = 3}, | 486 | .remap_sleep = RES_STATE_OFF |
500 | { .resource = RES_VAUX2, .devgroup = -1, .type = -1, .type2 = 3}, | 487 | }, |
501 | { .resource = RES_VAUX3, .devgroup = -1, .type = -1, .type2 = 3}, | 488 | { .resource = RES_VPLL1, .devgroup = -1, |
502 | { .resource = RES_VAUX4, .devgroup = -1, .type = -1, .type2 = 3}, | 489 | .type = 1, .type2 = -1, .remap_off = RES_STATE_OFF, |
503 | { .resource = RES_VPLL2, .devgroup = -1, .type = -1, .type2 = 3}, | 490 | .remap_sleep = RES_STATE_OFF |
504 | { .resource = RES_VDAC, .devgroup = -1, .type = -1, .type2 = 3}, | 491 | }, |
505 | { .resource = RES_VSIM, .devgroup = DEV_GRP_NULL, .type = -1, | 492 | { .resource = RES_VPLL2, .devgroup = -1, |
506 | .type2 = 3}, | 493 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 |
507 | { .resource = RES_CLKEN, .devgroup = DEV_GRP_P3, .type = -1, | 494 | }, |
508 | .type2 = 1 }, | 495 | { .resource = RES_VAUX1, .devgroup = -1, |
496 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
497 | }, | ||
498 | { .resource = RES_VAUX2, .devgroup = -1, | ||
499 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
500 | }, | ||
501 | { .resource = RES_VAUX3, .devgroup = -1, | ||
502 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
503 | }, | ||
504 | { .resource = RES_VAUX4, .devgroup = -1, | ||
505 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
506 | }, | ||
507 | { .resource = RES_VMMC1, .devgroup = -1, | ||
508 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
509 | }, | ||
510 | { .resource = RES_VMMC2, .devgroup = -1, | ||
511 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
512 | }, | ||
513 | { .resource = RES_VDAC, .devgroup = -1, | ||
514 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
515 | }, | ||
516 | { .resource = RES_VSIM, .devgroup = -1, | ||
517 | .type = -1, .type2 = 3, .remap_off = -1, .remap_sleep = -1 | ||
518 | }, | ||
519 | { .resource = RES_VINTANA1, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
520 | .type = -1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
521 | }, | ||
522 | { .resource = RES_VINTANA2, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
523 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
524 | }, | ||
525 | { .resource = RES_VINTDIG, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
526 | .type = -1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
527 | }, | ||
528 | { .resource = RES_VIO, .devgroup = DEV_GRP_P3, | ||
529 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
530 | }, | ||
531 | { .resource = RES_CLKEN, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
532 | .type = 1, .type2 = -1 , .remap_off = -1, .remap_sleep = -1 | ||
533 | }, | ||
534 | { .resource = RES_REGEN, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
535 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
536 | }, | ||
537 | { .resource = RES_NRES_PWRON, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
538 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
539 | }, | ||
540 | { .resource = RES_SYSEN, .devgroup = DEV_GRP_P1 | DEV_GRP_P3, | ||
541 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
542 | }, | ||
543 | { .resource = RES_HFCLKOUT, .devgroup = DEV_GRP_P3, | ||
544 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
545 | }, | ||
546 | { .resource = RES_32KCLKOUT, .devgroup = -1, | ||
547 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
548 | }, | ||
549 | { .resource = RES_RESET, .devgroup = -1, | ||
550 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
551 | }, | ||
552 | { .resource = RES_Main_Ref, .devgroup = -1, | ||
553 | .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 | ||
554 | }, | ||
509 | { 0, 0}, | 555 | { 0, 0}, |
510 | }; | 556 | }; |
511 | 557 | ||
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index d89c6adbe8bc..e6d8e10ae5d1 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -63,6 +63,15 @@ config ARCH_VIPER | |||
63 | select HAVE_PWM | 63 | select HAVE_PWM |
64 | select PXA_HAVE_BOARD_IRQS | 64 | select PXA_HAVE_BOARD_IRQS |
65 | select PXA_HAVE_ISA_IRQS | 65 | select PXA_HAVE_ISA_IRQS |
66 | select ARCOM_PCMCIA | ||
67 | |||
68 | config MACH_ARCOM_ZEUS | ||
69 | bool "Arcom/Eurotech ZEUS SBC" | ||
70 | select PXA27x | ||
71 | select ISA | ||
72 | select PXA_HAVE_BOARD_IRQS | ||
73 | select PXA_HAVE_ISA_IRQS | ||
74 | select ARCOM_PCMCIA | ||
66 | 75 | ||
67 | config MACH_BALLOON3 | 76 | config MACH_BALLOON3 |
68 | bool "Balloon 3 board" | 77 | bool "Balloon 3 board" |
@@ -179,6 +188,11 @@ config MACH_TRIZEPS_ANY | |||
179 | 188 | ||
180 | endchoice | 189 | endchoice |
181 | 190 | ||
191 | config ARCOM_PCMCIA | ||
192 | bool | ||
193 | help | ||
194 | Generic option for Arcom Viper/Zeus PCMCIA | ||
195 | |||
182 | config TRIZEPS_PCMCIA | 196 | config TRIZEPS_PCMCIA |
183 | bool | 197 | bool |
184 | help | 198 | help |
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index b5d29e60a341..f64afda7e6f6 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile | |||
@@ -38,6 +38,7 @@ obj-$(CONFIG_MACH_SAAR) += saar.o | |||
38 | # 3rd Party Dev Platforms | 38 | # 3rd Party Dev Platforms |
39 | obj-$(CONFIG_ARCH_PXA_IDP) += idp.o | 39 | obj-$(CONFIG_ARCH_PXA_IDP) += idp.o |
40 | obj-$(CONFIG_ARCH_VIPER) += viper.o | 40 | obj-$(CONFIG_ARCH_VIPER) += viper.o |
41 | obj-$(CONFIG_MACH_ARCOM_ZEUS) += zeus.o | ||
41 | obj-$(CONFIG_MACH_BALLOON3) += balloon3.o | 42 | obj-$(CONFIG_MACH_BALLOON3) += balloon3.o |
42 | obj-$(CONFIG_MACH_CSB726) += csb726.o | 43 | obj-$(CONFIG_MACH_CSB726) += csb726.o |
43 | obj-$(CONFIG_CSB726_CSB701) += csb701.o | 44 | obj-$(CONFIG_CSB726_CSB701) += csb701.o |
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 1c0de808b54d..c8a01bc85fde 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -497,16 +497,15 @@ static int em_x270_usb_hub_init(void) | |||
497 | goto err_free_vbus_gpio; | 497 | goto err_free_vbus_gpio; |
498 | 498 | ||
499 | /* USB Hub power-on and reset */ | 499 | /* USB Hub power-on and reset */ |
500 | gpio_direction_output(usb_hub_reset, 0); | 500 | gpio_direction_output(usb_hub_reset, 1); |
501 | gpio_direction_output(GPIO9_USB_VBUS_EN, 0); | ||
501 | regulator_enable(em_x270_usb_ldo); | 502 | regulator_enable(em_x270_usb_ldo); |
502 | gpio_set_value(usb_hub_reset, 1); | ||
503 | gpio_set_value(usb_hub_reset, 0); | 503 | gpio_set_value(usb_hub_reset, 0); |
504 | gpio_set_value(usb_hub_reset, 1); | ||
504 | regulator_disable(em_x270_usb_ldo); | 505 | regulator_disable(em_x270_usb_ldo); |
505 | regulator_enable(em_x270_usb_ldo); | 506 | regulator_enable(em_x270_usb_ldo); |
506 | gpio_set_value(usb_hub_reset, 1); | 507 | gpio_set_value(usb_hub_reset, 0); |
507 | 508 | gpio_set_value(GPIO9_USB_VBUS_EN, 1); | |
508 | /* enable VBUS */ | ||
509 | gpio_direction_output(GPIO9_USB_VBUS_EN, 1); | ||
510 | 509 | ||
511 | return 0; | 510 | return 0; |
512 | 511 | ||
diff --git a/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h b/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h new file mode 100644 index 000000000000..d428be4db44c --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef __ARCOM_PCMCIA_H | ||
2 | #define __ARCOM_PCMCIA_H | ||
3 | |||
4 | struct arcom_pcmcia_pdata { | ||
5 | int cd_gpio; | ||
6 | int rdy_gpio; | ||
7 | int pwr_gpio; | ||
8 | void (*reset)(int state); | ||
9 | }; | ||
10 | |||
11 | #endif | ||
diff --git a/arch/arm/mach-pxa/include/mach/viper.h b/arch/arm/mach-pxa/include/mach/viper.h index 10988c270ca3..5f5fbf1f6489 100644 --- a/arch/arm/mach-pxa/include/mach/viper.h +++ b/arch/arm/mach-pxa/include/mach/viper.h | |||
@@ -85,8 +85,6 @@ | |||
85 | /* Interrupt and Configuration Register (VIPER_ICR) */ | 85 | /* Interrupt and Configuration Register (VIPER_ICR) */ |
86 | /* This is a write only register. Only CF_RST is used under Linux */ | 86 | /* This is a write only register. Only CF_RST is used under Linux */ |
87 | 87 | ||
88 | extern void viper_cf_rst(int state); | ||
89 | |||
90 | #define VIPER_ICR_RETRIG (1 << 0) | 88 | #define VIPER_ICR_RETRIG (1 << 0) |
91 | #define VIPER_ICR_AUTO_CLR (1 << 1) | 89 | #define VIPER_ICR_AUTO_CLR (1 << 1) |
92 | #define VIPER_ICR_R_DIS (1 << 2) | 90 | #define VIPER_ICR_R_DIS (1 << 2) |
diff --git a/arch/arm/mach-pxa/include/mach/zeus.h b/arch/arm/mach-pxa/include/mach/zeus.h new file mode 100644 index 000000000000..c387046d2f28 --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/zeus.h | |||
@@ -0,0 +1,82 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-pxa/include/mach/zeus.h | ||
3 | * | ||
4 | * Author: David Vrabel | ||
5 | * Created: Sept 28, 2005 | ||
6 | * Copyright: Arcom Control Systems Ltd. | ||
7 | * | ||
8 | * Maintained by: Marc Zyngier <maz@misterjones.org> | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | ||
14 | |||
15 | #ifndef _MACH_ZEUS_H | ||
16 | #define _MACH_ZEUS_H | ||
17 | |||
18 | /* Physical addresses */ | ||
19 | #define ZEUS_FLASH_PHYS PXA_CS0_PHYS | ||
20 | #define ZEUS_ETH0_PHYS PXA_CS1_PHYS | ||
21 | #define ZEUS_ETH1_PHYS PXA_CS2_PHYS | ||
22 | #define ZEUS_CPLD_PHYS (PXA_CS4_PHYS+0x2000000) | ||
23 | #define ZEUS_SRAM_PHYS PXA_CS5_PHYS | ||
24 | #define ZEUS_PC104IO_PHYS (0x30000000) | ||
25 | |||
26 | #define ZEUS_CPLD_VERSION_PHYS (ZEUS_CPLD_PHYS + 0x00000000) | ||
27 | #define ZEUS_CPLD_ISA_IRQ_PHYS (ZEUS_CPLD_PHYS + 0x00800000) | ||
28 | #define ZEUS_CPLD_CONTROL_PHYS (ZEUS_CPLD_PHYS + 0x01000000) | ||
29 | #define ZEUS_CPLD_EXTWDOG_PHYS (ZEUS_CPLD_PHYS + 0x01800000) | ||
30 | |||
31 | /* GPIOs */ | ||
32 | #define ZEUS_AC97_GPIO 0 | ||
33 | #define ZEUS_WAKEUP_GPIO 1 | ||
34 | #define ZEUS_UARTA_GPIO 9 | ||
35 | #define ZEUS_UARTB_GPIO 10 | ||
36 | #define ZEUS_UARTC_GPIO 12 | ||
37 | #define ZEUS_UARTD_GPIO 11 | ||
38 | #define ZEUS_ETH0_GPIO 14 | ||
39 | #define ZEUS_ISA_GPIO 17 | ||
40 | #define ZEUS_BKLEN_GPIO 19 | ||
41 | #define ZEUS_USB2_PWREN_GPIO 22 | ||
42 | #define ZEUS_PTT_GPIO 27 | ||
43 | #define ZEUS_CF_CD_GPIO 35 | ||
44 | #define ZEUS_MMC_WP_GPIO 52 | ||
45 | #define ZEUS_MMC_CD_GPIO 53 | ||
46 | #define ZEUS_EXTGPIO_GPIO 91 | ||
47 | #define ZEUS_CF_PWEN_GPIO 97 | ||
48 | #define ZEUS_CF_RDY_GPIO 99 | ||
49 | #define ZEUS_LCD_EN_GPIO 101 | ||
50 | #define ZEUS_ETH1_GPIO 113 | ||
51 | #define ZEUS_CAN_GPIO 116 | ||
52 | |||
53 | #define ZEUS_EXT0_GPIO_BASE 128 | ||
54 | #define ZEUS_EXT1_GPIO_BASE 160 | ||
55 | #define ZEUS_USER_GPIO_BASE 192 | ||
56 | |||
57 | #define ZEUS_EXT0_GPIO(x) (ZEUS_EXT0_GPIO_BASE + (x)) | ||
58 | #define ZEUS_EXT1_GPIO(x) (ZEUS_EXT1_GPIO_BASE + (x)) | ||
59 | #define ZEUS_USER_GPIO(x) (ZEUS_USER_GPIO_BASE + (x)) | ||
60 | |||
61 | /* | ||
62 | * CPLD registers: | ||
63 | * Only 4 registers, but spreaded over a 32MB address space. | ||
64 | * Be gentle, and remap that over 32kB... | ||
65 | */ | ||
66 | |||
67 | #define ZEUS_CPLD (0xf0000000) | ||
68 | #define ZEUS_CPLD_VERSION (ZEUS_CPLD + 0x0000) | ||
69 | #define ZEUS_CPLD_ISA_IRQ (ZEUS_CPLD + 0x1000) | ||
70 | #define ZEUS_CPLD_CONTROL (ZEUS_CPLD + 0x2000) | ||
71 | #define ZEUS_CPLD_EXTWDOG (ZEUS_CPLD + 0x3000) | ||
72 | |||
73 | /* CPLD register bits */ | ||
74 | #define ZEUS_CPLD_CONTROL_CF_RST 0x01 | ||
75 | |||
76 | #define ZEUS_PC104IO (0xf1000000) | ||
77 | |||
78 | #define ZEUS_SRAM_SIZE (256 * 1024) | ||
79 | |||
80 | #endif | ||
81 | |||
82 | |||
diff --git a/arch/arm/mach-pxa/viper.c b/arch/arm/mach-pxa/viper.c index cf0d71b7797e..5352b4e5a7dd 100644 --- a/arch/arm/mach-pxa/viper.c +++ b/arch/arm/mach-pxa/viper.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <mach/pxafb.h> | 47 | #include <mach/pxafb.h> |
48 | #include <plat/i2c.h> | 48 | #include <plat/i2c.h> |
49 | #include <mach/regs-uart.h> | 49 | #include <mach/regs-uart.h> |
50 | #include <mach/arcom-pcmcia.h> | ||
50 | #include <mach/viper.h> | 51 | #include <mach/viper.h> |
51 | 52 | ||
52 | #include <asm/setup.h> | 53 | #include <asm/setup.h> |
@@ -76,14 +77,28 @@ static void viper_icr_clear_bit(unsigned int bit) | |||
76 | } | 77 | } |
77 | 78 | ||
78 | /* This function is used from the pcmcia module to reset the CF */ | 79 | /* This function is used from the pcmcia module to reset the CF */ |
79 | void viper_cf_rst(int state) | 80 | static void viper_cf_reset(int state) |
80 | { | 81 | { |
81 | if (state) | 82 | if (state) |
82 | viper_icr_set_bit(VIPER_ICR_CF_RST); | 83 | viper_icr_set_bit(VIPER_ICR_CF_RST); |
83 | else | 84 | else |
84 | viper_icr_clear_bit(VIPER_ICR_CF_RST); | 85 | viper_icr_clear_bit(VIPER_ICR_CF_RST); |
85 | } | 86 | } |
86 | EXPORT_SYMBOL(viper_cf_rst); | 87 | |
88 | static struct arcom_pcmcia_pdata viper_pcmcia_info = { | ||
89 | .cd_gpio = VIPER_CF_CD_GPIO, | ||
90 | .rdy_gpio = VIPER_CF_RDY_GPIO, | ||
91 | .pwr_gpio = VIPER_CF_POWER_GPIO, | ||
92 | .reset = viper_cf_reset, | ||
93 | }; | ||
94 | |||
95 | static struct platform_device viper_pcmcia_device = { | ||
96 | .name = "viper-pcmcia", | ||
97 | .id = -1, | ||
98 | .dev = { | ||
99 | .platform_data = &viper_pcmcia_info, | ||
100 | }, | ||
101 | }; | ||
87 | 102 | ||
88 | /* | 103 | /* |
89 | * The CPLD version register was not present on VIPER boards prior to | 104 | * The CPLD version register was not present on VIPER boards prior to |
@@ -685,6 +700,7 @@ static struct platform_device *viper_devs[] __initdata = { | |||
685 | &viper_mtd_devices[0], | 700 | &viper_mtd_devices[0], |
686 | &viper_mtd_devices[1], | 701 | &viper_mtd_devices[1], |
687 | &viper_backlight_device, | 702 | &viper_backlight_device, |
703 | &viper_pcmcia_device, | ||
688 | }; | 704 | }; |
689 | 705 | ||
690 | static mfp_cfg_t viper_pin_config[] __initdata = { | 706 | static mfp_cfg_t viper_pin_config[] __initdata = { |
diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c new file mode 100644 index 000000000000..5b986a8bd9e6 --- /dev/null +++ b/arch/arm/mach-pxa/zeus.c | |||
@@ -0,0 +1,820 @@ | |||
1 | /* | ||
2 | * Support for the Arcom ZEUS. | ||
3 | * | ||
4 | * Copyright (C) 2006 Arcom Control Systems Ltd. | ||
5 | * | ||
6 | * Loosely based on Arcom's 2.6.16.28. | ||
7 | * Maintained by Marc Zyngier <maz@misterjones.org> | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | |||
14 | #include <linux/cpufreq.h> | ||
15 | #include <linux/interrupt.h> | ||
16 | #include <linux/irq.h> | ||
17 | #include <linux/pm.h> | ||
18 | #include <linux/gpio.h> | ||
19 | #include <linux/serial_8250.h> | ||
20 | #include <linux/dm9000.h> | ||
21 | #include <linux/mmc/host.h> | ||
22 | #include <linux/spi/spi.h> | ||
23 | #include <linux/mtd/mtd.h> | ||
24 | #include <linux/mtd/partitions.h> | ||
25 | #include <linux/mtd/physmap.h> | ||
26 | #include <linux/i2c.h> | ||
27 | #include <linux/i2c/pca953x.h> | ||
28 | |||
29 | #include <asm/mach-types.h> | ||
30 | #include <asm/mach/arch.h> | ||
31 | #include <asm/mach/map.h> | ||
32 | |||
33 | #include <plat/i2c.h> | ||
34 | |||
35 | #include <mach/pxa2xx-regs.h> | ||
36 | #include <mach/regs-uart.h> | ||
37 | #include <mach/ohci.h> | ||
38 | #include <mach/mmc.h> | ||
39 | #include <mach/pxa27x-udc.h> | ||
40 | #include <mach/udc.h> | ||
41 | #include <mach/pxafb.h> | ||
42 | #include <mach/pxa2xx_spi.h> | ||
43 | #include <mach/mfp-pxa27x.h> | ||
44 | #include <mach/pm.h> | ||
45 | #include <mach/audio.h> | ||
46 | #include <mach/arcom-pcmcia.h> | ||
47 | #include <mach/zeus.h> | ||
48 | |||
49 | #include "generic.h" | ||
50 | |||
51 | /* | ||
52 | * Interrupt handling | ||
53 | */ | ||
54 | |||
55 | static unsigned long zeus_irq_enabled_mask; | ||
56 | static const int zeus_isa_irqs[] = { 3, 4, 5, 6, 7, 10, 11, 12, }; | ||
57 | static const int zeus_isa_irq_map[] = { | ||
58 | 0, /* ISA irq #0, invalid */ | ||
59 | 0, /* ISA irq #1, invalid */ | ||
60 | 0, /* ISA irq #2, invalid */ | ||
61 | 1 << 0, /* ISA irq #3 */ | ||
62 | 1 << 1, /* ISA irq #4 */ | ||
63 | 1 << 2, /* ISA irq #5 */ | ||
64 | 1 << 3, /* ISA irq #6 */ | ||
65 | 1 << 4, /* ISA irq #7 */ | ||
66 | 0, /* ISA irq #8, invalid */ | ||
67 | 0, /* ISA irq #9, invalid */ | ||
68 | 1 << 5, /* ISA irq #10 */ | ||
69 | 1 << 6, /* ISA irq #11 */ | ||
70 | 1 << 7, /* ISA irq #12 */ | ||
71 | }; | ||
72 | |||
73 | static inline int zeus_irq_to_bitmask(unsigned int irq) | ||
74 | { | ||
75 | return zeus_isa_irq_map[irq - PXA_ISA_IRQ(0)]; | ||
76 | } | ||
77 | |||
78 | static inline int zeus_bit_to_irq(int bit) | ||
79 | { | ||
80 | return zeus_isa_irqs[bit] + PXA_ISA_IRQ(0); | ||
81 | } | ||
82 | |||
83 | static void zeus_ack_irq(unsigned int irq) | ||
84 | { | ||
85 | __raw_writew(zeus_irq_to_bitmask(irq), ZEUS_CPLD_ISA_IRQ); | ||
86 | } | ||
87 | |||
88 | static void zeus_mask_irq(unsigned int irq) | ||
89 | { | ||
90 | zeus_irq_enabled_mask &= ~(zeus_irq_to_bitmask(irq)); | ||
91 | } | ||
92 | |||
93 | static void zeus_unmask_irq(unsigned int irq) | ||
94 | { | ||
95 | zeus_irq_enabled_mask |= zeus_irq_to_bitmask(irq); | ||
96 | } | ||
97 | |||
98 | static inline unsigned long zeus_irq_pending(void) | ||
99 | { | ||
100 | return __raw_readw(ZEUS_CPLD_ISA_IRQ) & zeus_irq_enabled_mask; | ||
101 | } | ||
102 | |||
103 | static void zeus_irq_handler(unsigned int irq, struct irq_desc *desc) | ||
104 | { | ||
105 | unsigned long pending; | ||
106 | |||
107 | pending = zeus_irq_pending(); | ||
108 | do { | ||
109 | /* we're in a chained irq handler, | ||
110 | * so ack the interrupt by hand */ | ||
111 | desc->chip->ack(gpio_to_irq(ZEUS_ISA_GPIO)); | ||
112 | |||
113 | if (likely(pending)) { | ||
114 | irq = zeus_bit_to_irq(__ffs(pending)); | ||
115 | generic_handle_irq(irq); | ||
116 | } | ||
117 | pending = zeus_irq_pending(); | ||
118 | } while (pending); | ||
119 | } | ||
120 | |||
121 | static struct irq_chip zeus_irq_chip = { | ||
122 | .name = "ISA", | ||
123 | .ack = zeus_ack_irq, | ||
124 | .mask = zeus_mask_irq, | ||
125 | .unmask = zeus_unmask_irq, | ||
126 | }; | ||
127 | |||
128 | static void __init zeus_init_irq(void) | ||
129 | { | ||
130 | int level; | ||
131 | int isa_irq; | ||
132 | |||
133 | pxa27x_init_irq(); | ||
134 | |||
135 | /* Peripheral IRQs. It would be nice to move those inside driver | ||
136 | configuration, but it is not supported at the moment. */ | ||
137 | set_irq_type(gpio_to_irq(ZEUS_AC97_GPIO), IRQ_TYPE_EDGE_RISING); | ||
138 | set_irq_type(gpio_to_irq(ZEUS_WAKEUP_GPIO), IRQ_TYPE_EDGE_RISING); | ||
139 | set_irq_type(gpio_to_irq(ZEUS_PTT_GPIO), IRQ_TYPE_EDGE_RISING); | ||
140 | set_irq_type(gpio_to_irq(ZEUS_EXTGPIO_GPIO), IRQ_TYPE_EDGE_FALLING); | ||
141 | set_irq_type(gpio_to_irq(ZEUS_CAN_GPIO), IRQ_TYPE_EDGE_FALLING); | ||
142 | |||
143 | /* Setup ISA IRQs */ | ||
144 | for (level = 0; level < ARRAY_SIZE(zeus_isa_irqs); level++) { | ||
145 | isa_irq = zeus_bit_to_irq(level); | ||
146 | set_irq_chip(isa_irq, &zeus_irq_chip); | ||
147 | set_irq_handler(isa_irq, handle_edge_irq); | ||
148 | set_irq_flags(isa_irq, IRQF_VALID | IRQF_PROBE); | ||
149 | } | ||
150 | |||
151 | set_irq_type(gpio_to_irq(ZEUS_ISA_GPIO), IRQ_TYPE_EDGE_RISING); | ||
152 | set_irq_chained_handler(gpio_to_irq(ZEUS_ISA_GPIO), zeus_irq_handler); | ||
153 | } | ||
154 | |||
155 | |||
156 | /* | ||
157 | * Platform devices | ||
158 | */ | ||
159 | |||
160 | /* Flash */ | ||
161 | static struct resource zeus_mtd_resources[] = { | ||
162 | [0] = { /* NOR Flash (up to 64MB) */ | ||
163 | .start = ZEUS_FLASH_PHYS, | ||
164 | .end = ZEUS_FLASH_PHYS + SZ_64M - 1, | ||
165 | .flags = IORESOURCE_MEM, | ||
166 | }, | ||
167 | [1] = { /* SRAM */ | ||
168 | .start = ZEUS_SRAM_PHYS, | ||
169 | .end = ZEUS_SRAM_PHYS + SZ_512K - 1, | ||
170 | .flags = IORESOURCE_MEM, | ||
171 | }, | ||
172 | }; | ||
173 | |||
174 | static struct physmap_flash_data zeus_flash_data[] = { | ||
175 | [0] = { | ||
176 | .width = 2, | ||
177 | .parts = NULL, | ||
178 | .nr_parts = 0, | ||
179 | }, | ||
180 | }; | ||
181 | |||
182 | static struct platform_device zeus_mtd_devices[] = { | ||
183 | [0] = { | ||
184 | .name = "physmap-flash", | ||
185 | .id = 0, | ||
186 | .dev = { | ||
187 | .platform_data = &zeus_flash_data[0], | ||
188 | }, | ||
189 | .resource = &zeus_mtd_resources[0], | ||
190 | .num_resources = 1, | ||
191 | }, | ||
192 | }; | ||
193 | |||
194 | /* Serial */ | ||
195 | static struct resource zeus_serial_resources[] = { | ||
196 | { | ||
197 | .start = 0x10000000, | ||
198 | .end = 0x1000000f, | ||
199 | .flags = IORESOURCE_MEM, | ||
200 | }, | ||
201 | { | ||
202 | .start = 0x10800000, | ||
203 | .end = 0x1080000f, | ||
204 | .flags = IORESOURCE_MEM, | ||
205 | }, | ||
206 | { | ||
207 | .start = 0x11000000, | ||
208 | .end = 0x1100000f, | ||
209 | .flags = IORESOURCE_MEM, | ||
210 | }, | ||
211 | { | ||
212 | .start = 0x40100000, | ||
213 | .end = 0x4010001f, | ||
214 | .flags = IORESOURCE_MEM, | ||
215 | }, | ||
216 | { | ||
217 | .start = 0x40200000, | ||
218 | .end = 0x4020001f, | ||
219 | .flags = IORESOURCE_MEM, | ||
220 | }, | ||
221 | { | ||
222 | .start = 0x40700000, | ||
223 | .end = 0x4070001f, | ||
224 | .flags = IORESOURCE_MEM, | ||
225 | }, | ||
226 | }; | ||
227 | |||
228 | static struct plat_serial8250_port serial_platform_data[] = { | ||
229 | /* External UARTs */ | ||
230 | /* FIXME: Shared IRQs on COM1-COM4 will not work properly on v1i1 hardware. */ | ||
231 | { /* COM1 */ | ||
232 | .mapbase = 0x10000000, | ||
233 | .irq = gpio_to_irq(ZEUS_UARTA_GPIO), | ||
234 | .irqflags = IRQF_TRIGGER_RISING, | ||
235 | .uartclk = 14745600, | ||
236 | .regshift = 1, | ||
237 | .flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
238 | .iotype = UPIO_MEM, | ||
239 | }, | ||
240 | { /* COM2 */ | ||
241 | .mapbase = 0x10800000, | ||
242 | .irq = gpio_to_irq(ZEUS_UARTB_GPIO), | ||
243 | .irqflags = IRQF_TRIGGER_RISING, | ||
244 | .uartclk = 14745600, | ||
245 | .regshift = 1, | ||
246 | .flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
247 | .iotype = UPIO_MEM, | ||
248 | }, | ||
249 | { /* COM3 */ | ||
250 | .mapbase = 0x11000000, | ||
251 | .irq = gpio_to_irq(ZEUS_UARTC_GPIO), | ||
252 | .irqflags = IRQF_TRIGGER_RISING, | ||
253 | .uartclk = 14745600, | ||
254 | .regshift = 1, | ||
255 | .flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
256 | .iotype = UPIO_MEM, | ||
257 | }, | ||
258 | { /* COM4 */ | ||
259 | .mapbase = 0x11800000, | ||
260 | .irq = gpio_to_irq(ZEUS_UARTD_GPIO), | ||
261 | .irqflags = IRQF_TRIGGER_RISING, | ||
262 | .uartclk = 14745600, | ||
263 | .regshift = 1, | ||
264 | .flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
265 | .iotype = UPIO_MEM, | ||
266 | }, | ||
267 | /* Internal UARTs */ | ||
268 | { /* FFUART */ | ||
269 | .membase = (void *)&FFUART, | ||
270 | .mapbase = __PREG(FFUART), | ||
271 | .irq = IRQ_FFUART, | ||
272 | .uartclk = 921600 * 16, | ||
273 | .regshift = 2, | ||
274 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
275 | .iotype = UPIO_MEM, | ||
276 | }, | ||
277 | { /* BTUART */ | ||
278 | .membase = (void *)&BTUART, | ||
279 | .mapbase = __PREG(BTUART), | ||
280 | .irq = IRQ_BTUART, | ||
281 | .uartclk = 921600 * 16, | ||
282 | .regshift = 2, | ||
283 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
284 | .iotype = UPIO_MEM, | ||
285 | }, | ||
286 | { /* STUART */ | ||
287 | .membase = (void *)&STUART, | ||
288 | .mapbase = __PREG(STUART), | ||
289 | .irq = IRQ_STUART, | ||
290 | .uartclk = 921600 * 16, | ||
291 | .regshift = 2, | ||
292 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | ||
293 | .iotype = UPIO_MEM, | ||
294 | }, | ||
295 | { }, | ||
296 | }; | ||
297 | |||
298 | static struct platform_device zeus_serial_device = { | ||
299 | .name = "serial8250", | ||
300 | .id = PLAT8250_DEV_PLATFORM, | ||
301 | .dev = { | ||
302 | .platform_data = serial_platform_data, | ||
303 | }, | ||
304 | .num_resources = ARRAY_SIZE(zeus_serial_resources), | ||
305 | .resource = zeus_serial_resources, | ||
306 | }; | ||
307 | |||
308 | /* Ethernet */ | ||
309 | static struct resource zeus_dm9k0_resource[] = { | ||
310 | [0] = { | ||
311 | .start = ZEUS_ETH0_PHYS, | ||
312 | .end = ZEUS_ETH0_PHYS + 1, | ||
313 | .flags = IORESOURCE_MEM | ||
314 | }, | ||
315 | [1] = { | ||
316 | .start = ZEUS_ETH0_PHYS + 2, | ||
317 | .end = ZEUS_ETH0_PHYS + 3, | ||
318 | .flags = IORESOURCE_MEM | ||
319 | }, | ||
320 | [2] = { | ||
321 | .start = gpio_to_irq(ZEUS_ETH0_GPIO), | ||
322 | .end = gpio_to_irq(ZEUS_ETH0_GPIO), | ||
323 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, | ||
324 | }, | ||
325 | }; | ||
326 | |||
327 | static struct resource zeus_dm9k1_resource[] = { | ||
328 | [0] = { | ||
329 | .start = ZEUS_ETH1_PHYS, | ||
330 | .end = ZEUS_ETH1_PHYS + 1, | ||
331 | .flags = IORESOURCE_MEM | ||
332 | }, | ||
333 | [1] = { | ||
334 | .start = ZEUS_ETH1_PHYS + 2, | ||
335 | .end = ZEUS_ETH1_PHYS + 3, | ||
336 | .flags = IORESOURCE_MEM, | ||
337 | }, | ||
338 | [2] = { | ||
339 | .start = gpio_to_irq(ZEUS_ETH1_GPIO), | ||
340 | .end = gpio_to_irq(ZEUS_ETH1_GPIO), | ||
341 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, | ||
342 | }, | ||
343 | }; | ||
344 | |||
345 | static struct dm9000_plat_data zeus_dm9k_platdata = { | ||
346 | .flags = DM9000_PLATF_16BITONLY, | ||
347 | }; | ||
348 | |||
349 | static struct platform_device zeus_dm9k0_device = { | ||
350 | .name = "dm9000", | ||
351 | .id = 0, | ||
352 | .num_resources = ARRAY_SIZE(zeus_dm9k0_resource), | ||
353 | .resource = zeus_dm9k0_resource, | ||
354 | .dev = { | ||
355 | .platform_data = &zeus_dm9k_platdata, | ||
356 | } | ||
357 | }; | ||
358 | |||
359 | static struct platform_device zeus_dm9k1_device = { | ||
360 | .name = "dm9000", | ||
361 | .id = 1, | ||
362 | .num_resources = ARRAY_SIZE(zeus_dm9k1_resource), | ||
363 | .resource = zeus_dm9k1_resource, | ||
364 | .dev = { | ||
365 | .platform_data = &zeus_dm9k_platdata, | ||
366 | } | ||
367 | }; | ||
368 | |||
369 | /* External SRAM */ | ||
370 | static struct resource zeus_sram_resource = { | ||
371 | .start = ZEUS_SRAM_PHYS, | ||
372 | .end = ZEUS_SRAM_PHYS + ZEUS_SRAM_SIZE * 2 - 1, | ||
373 | .flags = IORESOURCE_MEM, | ||
374 | }; | ||
375 | |||
376 | static struct platform_device zeus_sram_device = { | ||
377 | .name = "pxa2xx-8bit-sram", | ||
378 | .id = 0, | ||
379 | .num_resources = 1, | ||
380 | .resource = &zeus_sram_resource, | ||
381 | }; | ||
382 | |||
383 | /* SPI interface on SSP3 */ | ||
384 | static struct pxa2xx_spi_master pxa2xx_spi_ssp3_master_info = { | ||
385 | .num_chipselect = 1, | ||
386 | .enable_dma = 1, | ||
387 | }; | ||
388 | |||
389 | static struct platform_device pxa2xx_spi_ssp3_device = { | ||
390 | .name = "pxa2xx-spi", | ||
391 | .id = 3, | ||
392 | .dev = { | ||
393 | .platform_data = &pxa2xx_spi_ssp3_master_info, | ||
394 | }, | ||
395 | }; | ||
396 | |||
397 | /* Leds */ | ||
398 | static struct gpio_led zeus_leds[] = { | ||
399 | [0] = { | ||
400 | .name = "zeus:yellow:1", | ||
401 | .default_trigger = "heartbeat", | ||
402 | .gpio = ZEUS_EXT0_GPIO(3), | ||
403 | .active_low = 1, | ||
404 | }, | ||
405 | [1] = { | ||
406 | .name = "zeus:yellow:2", | ||
407 | .default_trigger = "default-on", | ||
408 | .gpio = ZEUS_EXT0_GPIO(4), | ||
409 | .active_low = 1, | ||
410 | }, | ||
411 | [2] = { | ||
412 | .name = "zeus:yellow:3", | ||
413 | .default_trigger = "default-on", | ||
414 | .gpio = ZEUS_EXT0_GPIO(5), | ||
415 | .active_low = 1, | ||
416 | }, | ||
417 | }; | ||
418 | |||
419 | static struct gpio_led_platform_data zeus_leds_info = { | ||
420 | .leds = zeus_leds, | ||
421 | .num_leds = ARRAY_SIZE(zeus_leds), | ||
422 | }; | ||
423 | |||
424 | static struct platform_device zeus_leds_device = { | ||
425 | .name = "leds-gpio", | ||
426 | .id = -1, | ||
427 | .dev = { | ||
428 | .platform_data = &zeus_leds_info, | ||
429 | }, | ||
430 | }; | ||
431 | |||
432 | static void zeus_cf_reset(int state) | ||
433 | { | ||
434 | u16 cpld_state = __raw_readw(ZEUS_CPLD_CONTROL); | ||
435 | |||
436 | if (state) | ||
437 | cpld_state |= ZEUS_CPLD_CONTROL_CF_RST; | ||
438 | else | ||
439 | cpld_state &= ~ZEUS_CPLD_CONTROL_CF_RST; | ||
440 | |||
441 | __raw_writew(cpld_state, ZEUS_CPLD_CONTROL); | ||
442 | } | ||
443 | |||
444 | static struct arcom_pcmcia_pdata zeus_pcmcia_info = { | ||
445 | .cd_gpio = ZEUS_CF_CD_GPIO, | ||
446 | .rdy_gpio = ZEUS_CF_RDY_GPIO, | ||
447 | .pwr_gpio = ZEUS_CF_PWEN_GPIO, | ||
448 | .reset = zeus_cf_reset, | ||
449 | }; | ||
450 | |||
451 | static struct platform_device zeus_pcmcia_device = { | ||
452 | .name = "zeus-pcmcia", | ||
453 | .id = -1, | ||
454 | .dev = { | ||
455 | .platform_data = &zeus_pcmcia_info, | ||
456 | }, | ||
457 | }; | ||
458 | |||
459 | static struct platform_device *zeus_devices[] __initdata = { | ||
460 | &zeus_serial_device, | ||
461 | &zeus_mtd_devices[0], | ||
462 | &zeus_dm9k0_device, | ||
463 | &zeus_dm9k1_device, | ||
464 | &zeus_sram_device, | ||
465 | &pxa2xx_spi_ssp3_device, | ||
466 | &zeus_leds_device, | ||
467 | &zeus_pcmcia_device, | ||
468 | }; | ||
469 | |||
470 | /* AC'97 */ | ||
471 | static pxa2xx_audio_ops_t zeus_ac97_info = { | ||
472 | .reset_gpio = 95, | ||
473 | }; | ||
474 | |||
475 | |||
476 | /* | ||
477 | * USB host | ||
478 | */ | ||
479 | |||
480 | static int zeus_ohci_init(struct device *dev) | ||
481 | { | ||
482 | int err; | ||
483 | |||
484 | /* Switch on port 2. */ | ||
485 | if ((err = gpio_request(ZEUS_USB2_PWREN_GPIO, "USB2_PWREN"))) { | ||
486 | dev_err(dev, "Can't request USB2_PWREN\n"); | ||
487 | return err; | ||
488 | } | ||
489 | |||
490 | if ((err = gpio_direction_output(ZEUS_USB2_PWREN_GPIO, 1))) { | ||
491 | gpio_free(ZEUS_USB2_PWREN_GPIO); | ||
492 | dev_err(dev, "Can't enable USB2_PWREN\n"); | ||
493 | return err; | ||
494 | } | ||
495 | |||
496 | /* Port 2 is shared between host and client interface. */ | ||
497 | UP2OCR = UP2OCR_HXOE | UP2OCR_HXS | UP2OCR_DMPDE | UP2OCR_DPPDE; | ||
498 | |||
499 | return 0; | ||
500 | } | ||
501 | |||
502 | static void zeus_ohci_exit(struct device *dev) | ||
503 | { | ||
504 | /* Power-off port 2 */ | ||
505 | gpio_direction_output(ZEUS_USB2_PWREN_GPIO, 0); | ||
506 | gpio_free(ZEUS_USB2_PWREN_GPIO); | ||
507 | } | ||
508 | |||
509 | static struct pxaohci_platform_data zeus_ohci_platform_data = { | ||
510 | .port_mode = PMM_NPS_MODE, | ||
511 | .flags = ENABLE_PORT_ALL | POWER_CONTROL_LOW | POWER_SENSE_LOW, | ||
512 | .init = zeus_ohci_init, | ||
513 | .exit = zeus_ohci_exit, | ||
514 | }; | ||
515 | |||
516 | /* | ||
517 | * Flat Panel | ||
518 | */ | ||
519 | |||
520 | static void zeus_lcd_power(int on, struct fb_var_screeninfo *si) | ||
521 | { | ||
522 | gpio_set_value(ZEUS_LCD_EN_GPIO, on); | ||
523 | } | ||
524 | |||
525 | static void zeus_backlight_power(int on) | ||
526 | { | ||
527 | gpio_set_value(ZEUS_BKLEN_GPIO, on); | ||
528 | } | ||
529 | |||
530 | static int zeus_setup_fb_gpios(void) | ||
531 | { | ||
532 | int err; | ||
533 | |||
534 | if ((err = gpio_request(ZEUS_LCD_EN_GPIO, "LCD_EN"))) | ||
535 | goto out_err; | ||
536 | |||
537 | if ((err = gpio_direction_output(ZEUS_LCD_EN_GPIO, 0))) | ||
538 | goto out_err_lcd; | ||
539 | |||
540 | if ((err = gpio_request(ZEUS_BKLEN_GPIO, "BKLEN"))) | ||
541 | goto out_err_lcd; | ||
542 | |||
543 | if ((err = gpio_direction_output(ZEUS_BKLEN_GPIO, 0))) | ||
544 | goto out_err_bkl; | ||
545 | |||
546 | return 0; | ||
547 | |||
548 | out_err_bkl: | ||
549 | gpio_free(ZEUS_BKLEN_GPIO); | ||
550 | out_err_lcd: | ||
551 | gpio_free(ZEUS_LCD_EN_GPIO); | ||
552 | out_err: | ||
553 | return err; | ||
554 | } | ||
555 | |||
556 | static struct pxafb_mode_info zeus_fb_mode_info[] = { | ||
557 | { | ||
558 | .pixclock = 39722, | ||
559 | |||
560 | .xres = 640, | ||
561 | .yres = 480, | ||
562 | |||
563 | .bpp = 16, | ||
564 | |||
565 | .hsync_len = 63, | ||
566 | .left_margin = 16, | ||
567 | .right_margin = 81, | ||
568 | |||
569 | .vsync_len = 2, | ||
570 | .upper_margin = 12, | ||
571 | .lower_margin = 31, | ||
572 | |||
573 | .sync = 0, | ||
574 | }, | ||
575 | }; | ||
576 | |||
577 | static struct pxafb_mach_info zeus_fb_info = { | ||
578 | .modes = zeus_fb_mode_info, | ||
579 | .num_modes = 1, | ||
580 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL, | ||
581 | .pxafb_lcd_power = zeus_lcd_power, | ||
582 | .pxafb_backlight_power = zeus_backlight_power, | ||
583 | }; | ||
584 | |||
585 | /* | ||
586 | * MMC/SD Device | ||
587 | * | ||
588 | * The card detect interrupt isn't debounced so we delay it by 250ms | ||
589 | * to give the card a chance to fully insert/eject. | ||
590 | */ | ||
591 | |||
592 | static struct pxamci_platform_data zeus_mci_platform_data = { | ||
593 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | ||
594 | .detect_delay = HZ/4, | ||
595 | .gpio_card_detect = ZEUS_MMC_CD_GPIO, | ||
596 | .gpio_card_ro = ZEUS_MMC_WP_GPIO, | ||
597 | .gpio_card_ro_invert = 1, | ||
598 | .gpio_power = -1 | ||
599 | }; | ||
600 | |||
601 | /* | ||
602 | * USB Device Controller | ||
603 | */ | ||
604 | static void zeus_udc_command(int cmd) | ||
605 | { | ||
606 | switch (cmd) { | ||
607 | case PXA2XX_UDC_CMD_DISCONNECT: | ||
608 | pr_info("zeus: disconnecting USB client\n"); | ||
609 | UP2OCR = UP2OCR_HXOE | UP2OCR_HXS | UP2OCR_DMPDE | UP2OCR_DPPDE; | ||
610 | break; | ||
611 | |||
612 | case PXA2XX_UDC_CMD_CONNECT: | ||
613 | pr_info("zeus: connecting USB client\n"); | ||
614 | UP2OCR = UP2OCR_HXOE | UP2OCR_DPPUE; | ||
615 | break; | ||
616 | } | ||
617 | } | ||
618 | |||
619 | static struct pxa2xx_udc_mach_info zeus_udc_info = { | ||
620 | .udc_command = zeus_udc_command, | ||
621 | }; | ||
622 | |||
623 | static void zeus_power_off(void) | ||
624 | { | ||
625 | local_irq_disable(); | ||
626 | pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP); | ||
627 | } | ||
628 | |||
629 | int zeus_get_pcb_info(struct i2c_client *client, unsigned gpio, | ||
630 | unsigned ngpio, void *context) | ||
631 | { | ||
632 | int i; | ||
633 | u8 pcb_info = 0; | ||
634 | |||
635 | for (i = 0; i < 8; i++) { | ||
636 | int pcb_bit = gpio + i + 8; | ||
637 | |||
638 | if (gpio_request(pcb_bit, "pcb info")) { | ||
639 | dev_err(&client->dev, "Can't request pcb info %d\n", i); | ||
640 | continue; | ||
641 | } | ||
642 | |||
643 | if (gpio_direction_input(pcb_bit)) { | ||
644 | dev_err(&client->dev, "Can't read pcb info %d\n", i); | ||
645 | gpio_free(pcb_bit); | ||
646 | continue; | ||
647 | } | ||
648 | |||
649 | pcb_info |= !!gpio_get_value(pcb_bit) << i; | ||
650 | |||
651 | gpio_free(pcb_bit); | ||
652 | } | ||
653 | |||
654 | dev_info(&client->dev, "Zeus PCB version %d issue %d\n", | ||
655 | pcb_info >> 4, pcb_info & 0xf); | ||
656 | |||
657 | return 0; | ||
658 | } | ||
659 | |||
660 | static struct pca953x_platform_data zeus_pca953x_pdata[] = { | ||
661 | [0] = { .gpio_base = ZEUS_EXT0_GPIO_BASE, }, | ||
662 | [1] = { | ||
663 | .gpio_base = ZEUS_EXT1_GPIO_BASE, | ||
664 | .setup = zeus_get_pcb_info, | ||
665 | }, | ||
666 | [2] = { .gpio_base = ZEUS_USER_GPIO_BASE, }, | ||
667 | }; | ||
668 | |||
669 | static struct i2c_board_info __initdata zeus_i2c_devices[] = { | ||
670 | { | ||
671 | I2C_BOARD_INFO("pca9535", 0x21), | ||
672 | .platform_data = &zeus_pca953x_pdata[0], | ||
673 | }, | ||
674 | { | ||
675 | I2C_BOARD_INFO("pca9535", 0x22), | ||
676 | .platform_data = &zeus_pca953x_pdata[1], | ||
677 | }, | ||
678 | { | ||
679 | I2C_BOARD_INFO("pca9535", 0x20), | ||
680 | .platform_data = &zeus_pca953x_pdata[2], | ||
681 | .irq = gpio_to_irq(ZEUS_EXTGPIO_GPIO), | ||
682 | }, | ||
683 | { I2C_BOARD_INFO("lm75a", 0x48) }, | ||
684 | { I2C_BOARD_INFO("24c01", 0x50) }, | ||
685 | { I2C_BOARD_INFO("isl1208", 0x6f) }, | ||
686 | }; | ||
687 | |||
688 | static mfp_cfg_t zeus_pin_config[] __initdata = { | ||
689 | GPIO15_nCS_1, | ||
690 | GPIO78_nCS_2, | ||
691 | GPIO80_nCS_4, | ||
692 | GPIO33_nCS_5, | ||
693 | |||
694 | GPIO22_GPIO, | ||
695 | GPIO32_MMC_CLK, | ||
696 | GPIO92_MMC_DAT_0, | ||
697 | GPIO109_MMC_DAT_1, | ||
698 | GPIO110_MMC_DAT_2, | ||
699 | GPIO111_MMC_DAT_3, | ||
700 | GPIO112_MMC_CMD, | ||
701 | |||
702 | GPIO88_USBH1_PWR, | ||
703 | GPIO89_USBH1_PEN, | ||
704 | GPIO119_USBH2_PWR, | ||
705 | GPIO120_USBH2_PEN, | ||
706 | |||
707 | GPIO86_LCD_LDD_16, | ||
708 | GPIO87_LCD_LDD_17, | ||
709 | |||
710 | GPIO102_GPIO, | ||
711 | GPIO104_CIF_DD_2, | ||
712 | GPIO105_CIF_DD_1, | ||
713 | |||
714 | GPIO48_nPOE, | ||
715 | GPIO49_nPWE, | ||
716 | GPIO50_nPIOR, | ||
717 | GPIO51_nPIOW, | ||
718 | GPIO85_nPCE_1, | ||
719 | GPIO54_nPCE_2, | ||
720 | GPIO79_PSKTSEL, | ||
721 | GPIO55_nPREG, | ||
722 | GPIO56_nPWAIT, | ||
723 | GPIO57_nIOIS16, | ||
724 | GPIO36_GPIO, /* CF CD */ | ||
725 | GPIO97_GPIO, /* CF PWREN */ | ||
726 | GPIO99_GPIO, /* CF RDY */ | ||
727 | }; | ||
728 | |||
729 | static void __init zeus_init(void) | ||
730 | { | ||
731 | u16 dm9000_msc = 0xe279; | ||
732 | |||
733 | system_rev = __raw_readw(ZEUS_CPLD_VERSION); | ||
734 | pr_info("Zeus CPLD V%dI%d\n", (system_rev & 0xf0) >> 4, (system_rev & 0x0f)); | ||
735 | |||
736 | /* Fix timings for dm9000s (CS1/CS2)*/ | ||
737 | MSC0 = (MSC0 & 0xffff) | (dm9000_msc << 16); | ||
738 | MSC1 = (MSC1 & 0xffff0000) | dm9000_msc; | ||
739 | |||
740 | pm_power_off = zeus_power_off; | ||
741 | |||
742 | pxa2xx_mfp_config(ARRAY_AND_SIZE(zeus_pin_config)); | ||
743 | |||
744 | platform_add_devices(zeus_devices, ARRAY_SIZE(zeus_devices)); | ||
745 | |||
746 | pxa_set_ohci_info(&zeus_ohci_platform_data); | ||
747 | |||
748 | if (zeus_setup_fb_gpios()) | ||
749 | pr_err("Failed to setup fb gpios\n"); | ||
750 | else | ||
751 | set_pxa_fb_info(&zeus_fb_info); | ||
752 | |||
753 | pxa_set_mci_info(&zeus_mci_platform_data); | ||
754 | pxa_set_udc_info(&zeus_udc_info); | ||
755 | pxa_set_ac97_info(&zeus_ac97_info); | ||
756 | pxa_set_i2c_info(NULL); | ||
757 | i2c_register_board_info(0, ARRAY_AND_SIZE(zeus_i2c_devices)); | ||
758 | } | ||
759 | |||
760 | static struct map_desc zeus_io_desc[] __initdata = { | ||
761 | { | ||
762 | .virtual = ZEUS_CPLD_VERSION, | ||
763 | .pfn = __phys_to_pfn(ZEUS_CPLD_VERSION_PHYS), | ||
764 | .length = 0x1000, | ||
765 | .type = MT_DEVICE, | ||
766 | }, | ||
767 | { | ||
768 | .virtual = ZEUS_CPLD_ISA_IRQ, | ||
769 | .pfn = __phys_to_pfn(ZEUS_CPLD_ISA_IRQ_PHYS), | ||
770 | .length = 0x1000, | ||
771 | .type = MT_DEVICE, | ||
772 | }, | ||
773 | { | ||
774 | .virtual = ZEUS_CPLD_CONTROL, | ||
775 | .pfn = __phys_to_pfn(ZEUS_CPLD_CONTROL_PHYS), | ||
776 | .length = 0x1000, | ||
777 | .type = MT_DEVICE, | ||
778 | }, | ||
779 | { | ||
780 | .virtual = ZEUS_CPLD_EXTWDOG, | ||
781 | .pfn = __phys_to_pfn(ZEUS_CPLD_EXTWDOG_PHYS), | ||
782 | .length = 0x1000, | ||
783 | .type = MT_DEVICE, | ||
784 | }, | ||
785 | { | ||
786 | .virtual = ZEUS_PC104IO, | ||
787 | .pfn = __phys_to_pfn(ZEUS_PC104IO_PHYS), | ||
788 | .length = 0x00800000, | ||
789 | .type = MT_DEVICE, | ||
790 | }, | ||
791 | }; | ||
792 | |||
793 | static void __init zeus_map_io(void) | ||
794 | { | ||
795 | pxa_map_io(); | ||
796 | |||
797 | iotable_init(zeus_io_desc, ARRAY_SIZE(zeus_io_desc)); | ||
798 | |||
799 | /* Clear PSPR to ensure a full restart on wake-up. */ | ||
800 | PMCR = PSPR = 0; | ||
801 | |||
802 | /* enable internal 32.768Khz oscillator (ignore OSCC_OOK) */ | ||
803 | OSCC |= OSCC_OON; | ||
804 | |||
805 | /* Some clock cycles later (from OSCC_ON), programme PCFR (OPDE...). | ||
806 | * float chip selects and PCMCIA */ | ||
807 | PCFR = PCFR_OPDE | PCFR_DC_EN | PCFR_FS | PCFR_FP; | ||
808 | } | ||
809 | |||
810 | MACHINE_START(ARCOM_ZEUS, "Arcom ZEUS") | ||
811 | /* Maintainer: Marc Zyngier <maz@misterjones.org> */ | ||
812 | .phys_io = 0x40000000, | ||
813 | .io_pg_offst = ((io_p2v(0x40000000) >> 18) & 0xfffc), | ||
814 | .boot_params = 0xa0000100, | ||
815 | .map_io = zeus_map_io, | ||
816 | .init_irq = zeus_init_irq, | ||
817 | .timer = &pxa_timer, | ||
818 | .init_machine = zeus_init, | ||
819 | MACHINE_END | ||
820 | |||
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index c48e1f2c3349..ee5e392430e8 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
@@ -70,7 +70,7 @@ config MACH_REALVIEW_PBX | |||
70 | bool "Support RealView/PBX platform" | 70 | bool "Support RealView/PBX platform" |
71 | select ARM_GIC | 71 | select ARM_GIC |
72 | select HAVE_PATA_PLATFORM | 72 | select HAVE_PATA_PLATFORM |
73 | select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !HIGH_PHYS_OFFSET | 73 | select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !REALVIEW_HIGH_PHYS_OFFSET |
74 | select ZONE_DMA if SPARSEMEM | 74 | select ZONE_DMA if SPARSEMEM |
75 | help | 75 | help |
76 | Include support for the ARM(R) RealView PBX platform. | 76 | Include support for the ARM(R) RealView PBX platform. |
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index f76d6ff4aeb9..0b4a3a03071f 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c | |||
@@ -268,6 +268,9 @@ struct pcf50633_platform_data gta02_pcf_pdata = { | |||
268 | 268 | ||
269 | .batteries = gta02_batteries, | 269 | .batteries = gta02_batteries, |
270 | .num_batteries = ARRAY_SIZE(gta02_batteries), | 270 | .num_batteries = ARRAY_SIZE(gta02_batteries), |
271 | |||
272 | .charger_reference_current_ma = 1000, | ||
273 | |||
271 | .reg_init_data = { | 274 | .reg_init_data = { |
272 | [PCF50633_REGULATOR_AUTO] = { | 275 | [PCF50633_REGULATOR_AUTO] = { |
273 | .constraints = { | 276 | .constraints = { |
diff --git a/arch/arm/mach-s3c24a0/include/mach/memory.h b/arch/arm/mach-s3c24a0/include/mach/memory.h index 585211ca0187..7d74fd5c8d66 100644 --- a/arch/arm/mach-s3c24a0/include/mach/memory.h +++ b/arch/arm/mach-s3c24a0/include/mach/memory.h | |||
@@ -15,5 +15,7 @@ | |||
15 | 15 | ||
16 | #define __virt_to_bus(x) __virt_to_phys(x) | 16 | #define __virt_to_bus(x) __virt_to_phys(x) |
17 | #define __bus_to_virt(x) __phys_to_virt(x) | 17 | #define __bus_to_virt(x) __phys_to_virt(x) |
18 | #define __pfn_to_bus(x) __pfn_to_phys(x) | ||
19 | #define __bus_to_pfn(x) __phys_to_pfn(x) | ||
18 | 20 | ||
19 | #endif | 21 | #endif |
diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig index 03a7f3857c5e..b17d52f7cc48 100644 --- a/arch/arm/mach-sa1100/Kconfig +++ b/arch/arm/mach-sa1100/Kconfig | |||
@@ -4,6 +4,7 @@ menu "SA11x0 Implementations" | |||
4 | 4 | ||
5 | config SA1100_ASSABET | 5 | config SA1100_ASSABET |
6 | bool "Assabet" | 6 | bool "Assabet" |
7 | select CPU_FREQ_SA1110 | ||
7 | help | 8 | help |
8 | Say Y here if you are using the Intel(R) StrongARM(R) SA-1110 | 9 | Say Y here if you are using the Intel(R) StrongARM(R) SA-1110 |
9 | Microprocessor Development Board (also known as the Assabet). | 10 | Microprocessor Development Board (also known as the Assabet). |
@@ -19,6 +20,7 @@ config ASSABET_NEPONSET | |||
19 | 20 | ||
20 | config SA1100_CERF | 21 | config SA1100_CERF |
21 | bool "CerfBoard" | 22 | bool "CerfBoard" |
23 | select CPU_FREQ_SA1110 | ||
22 | help | 24 | help |
23 | The Intrinsyc CerfBoard is based on the StrongARM 1110 (Discontinued). | 25 | The Intrinsyc CerfBoard is based on the StrongARM 1110 (Discontinued). |
24 | More information is available at: | 26 | More information is available at: |
@@ -45,6 +47,7 @@ endchoice | |||
45 | 47 | ||
46 | config SA1100_COLLIE | 48 | config SA1100_COLLIE |
47 | bool "Sharp Zaurus SL5500" | 49 | bool "Sharp Zaurus SL5500" |
50 | # FIXME: select CPU_FREQ_SA11x0 | ||
48 | select SHARP_LOCOMO | 51 | select SHARP_LOCOMO |
49 | select SHARP_SCOOP | 52 | select SHARP_SCOOP |
50 | select SHARP_PARAM | 53 | select SHARP_PARAM |
@@ -54,6 +57,7 @@ config SA1100_COLLIE | |||
54 | config SA1100_H3100 | 57 | config SA1100_H3100 |
55 | bool "Compaq iPAQ H3100" | 58 | bool "Compaq iPAQ H3100" |
56 | select HTC_EGPIO | 59 | select HTC_EGPIO |
60 | select CPU_FREQ_SA1100 | ||
57 | help | 61 | help |
58 | Say Y here if you intend to run this kernel on the Compaq iPAQ | 62 | Say Y here if you intend to run this kernel on the Compaq iPAQ |
59 | H3100 handheld computer. Information about this machine and the | 63 | H3100 handheld computer. Information about this machine and the |
@@ -64,6 +68,7 @@ config SA1100_H3100 | |||
64 | config SA1100_H3600 | 68 | config SA1100_H3600 |
65 | bool "Compaq iPAQ H3600/H3700" | 69 | bool "Compaq iPAQ H3600/H3700" |
66 | select HTC_EGPIO | 70 | select HTC_EGPIO |
71 | select CPU_FREQ_SA1100 | ||
67 | help | 72 | help |
68 | Say Y here if you intend to run this kernel on the Compaq iPAQ | 73 | Say Y here if you intend to run this kernel on the Compaq iPAQ |
69 | H3600 handheld computer. Information about this machine and the | 74 | H3600 handheld computer. Information about this machine and the |
@@ -74,6 +79,7 @@ config SA1100_H3600 | |||
74 | config SA1100_BADGE4 | 79 | config SA1100_BADGE4 |
75 | bool "HP Labs BadgePAD 4" | 80 | bool "HP Labs BadgePAD 4" |
76 | select SA1111 | 81 | select SA1111 |
82 | select CPU_FREQ_SA1100 | ||
77 | help | 83 | help |
78 | Say Y here if you want to build a kernel for the HP Laboratories | 84 | Say Y here if you want to build a kernel for the HP Laboratories |
79 | BadgePAD 4. | 85 | BadgePAD 4. |
@@ -81,6 +87,7 @@ config SA1100_BADGE4 | |||
81 | config SA1100_JORNADA720 | 87 | config SA1100_JORNADA720 |
82 | bool "HP Jornada 720" | 88 | bool "HP Jornada 720" |
83 | select SA1111 | 89 | select SA1111 |
90 | # FIXME: select CPU_FREQ_SA11x0 | ||
84 | help | 91 | help |
85 | Say Y here if you want to build a kernel for the HP Jornada 720 | 92 | Say Y here if you want to build a kernel for the HP Jornada 720 |
86 | handheld computer. See <http://www.hp.com/jornada/products/720> | 93 | handheld computer. See <http://www.hp.com/jornada/products/720> |
@@ -98,12 +105,14 @@ config SA1100_JORNADA720_SSP | |||
98 | 105 | ||
99 | config SA1100_HACKKIT | 106 | config SA1100_HACKKIT |
100 | bool "HackKit Core CPU Board" | 107 | bool "HackKit Core CPU Board" |
108 | select CPU_FREQ_SA1100 | ||
101 | help | 109 | help |
102 | Say Y here to support the HackKit Core CPU Board | 110 | Say Y here to support the HackKit Core CPU Board |
103 | <http://hackkit.eletztrick.de>; | 111 | <http://hackkit.eletztrick.de>; |
104 | 112 | ||
105 | config SA1100_LART | 113 | config SA1100_LART |
106 | bool "LART" | 114 | bool "LART" |
115 | select CPU_FREQ_SA1100 | ||
107 | help | 116 | help |
108 | Say Y here if you are using the Linux Advanced Radio Terminal | 117 | Say Y here if you are using the Linux Advanced Radio Terminal |
109 | (also known as the LART). See <http://www.lartmaker.nl/> for | 118 | (also known as the LART). See <http://www.lartmaker.nl/> for |
@@ -111,6 +120,7 @@ config SA1100_LART | |||
111 | 120 | ||
112 | config SA1100_PLEB | 121 | config SA1100_PLEB |
113 | bool "PLEB" | 122 | bool "PLEB" |
123 | select CPU_FREQ_SA1100 | ||
114 | help | 124 | help |
115 | Say Y here if you are using version 1 of the Portable Linux | 125 | Say Y here if you are using version 1 of the Portable Linux |
116 | Embedded Board (also known as PLEB). | 126 | Embedded Board (also known as PLEB). |
@@ -119,6 +129,7 @@ config SA1100_PLEB | |||
119 | 129 | ||
120 | config SA1100_SHANNON | 130 | config SA1100_SHANNON |
121 | bool "Shannon" | 131 | bool "Shannon" |
132 | select CPU_FREQ_SA1100 | ||
122 | help | 133 | help |
123 | The Shannon (also known as a Tuxscreen, and also as a IS2630) was a | 134 | The Shannon (also known as a Tuxscreen, and also as a IS2630) was a |
124 | limited edition webphone produced by Philips. The Shannon is a SA1100 | 135 | limited edition webphone produced by Philips. The Shannon is a SA1100 |
@@ -127,6 +138,7 @@ config SA1100_SHANNON | |||
127 | 138 | ||
128 | config SA1100_SIMPAD | 139 | config SA1100_SIMPAD |
129 | bool "Simpad" | 140 | bool "Simpad" |
141 | select CPU_FREQ_SA1110 | ||
130 | help | 142 | help |
131 | The SIEMENS webpad SIMpad is based on the StrongARM 1110. There | 143 | The SIEMENS webpad SIMpad is based on the StrongARM 1110. There |
132 | are two different versions CL4 and SL4. CL4 has 32MB RAM and 16MB | 144 | are two different versions CL4 and SL4. CL4 has 32MB RAM and 16MB |
@@ -145,3 +157,4 @@ config SA1100_SSP | |||
145 | endmenu | 157 | endmenu |
146 | 158 | ||
147 | endif | 159 | endif |
160 | |||
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c index 9faea1511c1f..3c1fcd696714 100644 --- a/arch/arm/mach-sa1100/generic.c +++ b/arch/arm/mach-sa1100/generic.c | |||
@@ -58,7 +58,6 @@ static const unsigned short cclk_frequency_100khz[NR_FREQS] = { | |||
58 | 2802 /* 280.2 MHz */ | 58 | 2802 /* 280.2 MHz */ |
59 | }; | 59 | }; |
60 | 60 | ||
61 | #if defined(CONFIG_CPU_FREQ_SA1100) || defined(CONFIG_CPU_FREQ_SA1110) | ||
62 | /* rounds up(!) */ | 61 | /* rounds up(!) */ |
63 | unsigned int sa11x0_freq_to_ppcr(unsigned int khz) | 62 | unsigned int sa11x0_freq_to_ppcr(unsigned int khz) |
64 | { | 63 | { |
@@ -110,17 +109,6 @@ unsigned int sa11x0_getspeed(unsigned int cpu) | |||
110 | return cclk_frequency_100khz[PPCR & 0xf] * 100; | 109 | return cclk_frequency_100khz[PPCR & 0xf] * 100; |
111 | } | 110 | } |
112 | 111 | ||
113 | #else | ||
114 | /* | ||
115 | * We still need to provide this so building without cpufreq works. | ||
116 | */ | ||
117 | unsigned int cpufreq_get(unsigned int cpu) | ||
118 | { | ||
119 | return cclk_frequency_100khz[PPCR & 0xf] * 100; | ||
120 | } | ||
121 | EXPORT_SYMBOL(cpufreq_get); | ||
122 | #endif | ||
123 | |||
124 | /* | 112 | /* |
125 | * This is the SA11x0 sched_clock implementation. This has | 113 | * This is the SA11x0 sched_clock implementation. This has |
126 | * a resolution of 271ns, and a maximum value of 32025597s (370 days). | 114 | * a resolution of 271ns, and a maximum value of 32025597s (370 days). |
diff --git a/arch/arm/mach-w90x900/include/mach/nuc900_spi.h b/arch/arm/mach-w90x900/include/mach/nuc900_spi.h new file mode 100644 index 000000000000..bd94819e314f --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/nuc900_spi.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-w90x900/include/mach/nuc900_spi.h | ||
3 | * | ||
4 | * Copyright (c) 2009 Nuvoton technology corporation. | ||
5 | * | ||
6 | * Wan ZongShun <mcuos.com@gmail.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation;version 2 of the License. | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | #ifndef __ASM_ARCH_SPI_H | ||
15 | #define __ASM_ARCH_SPI_H | ||
16 | |||
17 | extern void mfp_set_groupg(struct device *dev); | ||
18 | |||
19 | struct nuc900_spi_info { | ||
20 | unsigned int num_cs; | ||
21 | unsigned int lsb; | ||
22 | unsigned int txneg; | ||
23 | unsigned int rxneg; | ||
24 | unsigned int divider; | ||
25 | unsigned int sleep; | ||
26 | unsigned int txnum; | ||
27 | unsigned int txbitlen; | ||
28 | int bus_num; | ||
29 | }; | ||
30 | |||
31 | struct nuc900_spi_chip { | ||
32 | unsigned char bits_per_word; | ||
33 | }; | ||
34 | |||
35 | #endif /* __ASM_ARCH_SPI_H */ | ||
diff --git a/arch/arm/plat-omap/debug-leds.c b/arch/arm/plat-omap/debug-leds.c index 6c768b71ad64..53fcef7c5201 100644 --- a/arch/arm/plat-omap/debug-leds.c +++ b/arch/arm/plat-omap/debug-leds.c | |||
@@ -293,7 +293,7 @@ static int fpga_resume_noirq(struct device *dev) | |||
293 | return 0; | 293 | return 0; |
294 | } | 294 | } |
295 | 295 | ||
296 | static struct dev_pm_ops fpga_dev_pm_ops = { | 296 | static const struct dev_pm_ops fpga_dev_pm_ops = { |
297 | .suspend_noirq = fpga_suspend_noirq, | 297 | .suspend_noirq = fpga_suspend_noirq, |
298 | .resume_noirq = fpga_resume_noirq, | 298 | .resume_noirq = fpga_resume_noirq, |
299 | }; | 299 | }; |
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 055160e0620e..04846811d0aa 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1431,7 +1431,7 @@ static int omap_mpuio_resume_noirq(struct device *dev) | |||
1431 | return 0; | 1431 | return 0; |
1432 | } | 1432 | } |
1433 | 1433 | ||
1434 | static struct dev_pm_ops omap_mpuio_dev_pm_ops = { | 1434 | static const struct dev_pm_ops omap_mpuio_dev_pm_ops = { |
1435 | .suspend_noirq = omap_mpuio_suspend_noirq, | 1435 | .suspend_noirq = omap_mpuio_suspend_noirq, |
1436 | .resume_noirq = omap_mpuio_resume_noirq, | 1436 | .resume_noirq = omap_mpuio_resume_noirq, |
1437 | }; | 1437 | }; |
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index ce5dd2d1dc21..97d6c50c3dcb 100644 --- a/arch/arm/plat-omap/include/plat/irqs.h +++ b/arch/arm/plat-omap/include/plat/irqs.h | |||
@@ -472,8 +472,22 @@ | |||
472 | #endif | 472 | #endif |
473 | #define TWL4030_GPIO_IRQ_END (TWL4030_GPIO_IRQ_BASE + TWL4030_GPIO_NR_IRQS) | 473 | #define TWL4030_GPIO_IRQ_END (TWL4030_GPIO_IRQ_BASE + TWL4030_GPIO_NR_IRQS) |
474 | 474 | ||
475 | #define TWL6030_IRQ_BASE (OMAP_FPGA_IRQ_END) | ||
476 | #ifdef CONFIG_TWL4030_CORE | ||
477 | #define TWL6030_BASE_NR_IRQS 20 | ||
478 | #else | ||
479 | #define TWL6030_BASE_NR_IRQS 0 | ||
480 | #endif | ||
481 | #define TWL6030_IRQ_END (TWL6030_IRQ_BASE + TWL6030_BASE_NR_IRQS) | ||
482 | |||
475 | /* Total number of interrupts depends on the enabled blocks above */ | 483 | /* Total number of interrupts depends on the enabled blocks above */ |
476 | #define NR_IRQS TWL4030_GPIO_IRQ_END | 484 | #if (TWL4030_GPIO_IRQ_END > TWL6030_IRQ_END) |
485 | #define TWL_IRQ_END TWL4030_GPIO_IRQ_END | ||
486 | #else | ||
487 | #define TWL_IRQ_END TWL6030_IRQ_END | ||
488 | #endif | ||
489 | |||
490 | #define NR_IRQS TWL_IRQ_END | ||
477 | 491 | ||
478 | #define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32)) | 492 | #define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32)) |
479 | 493 | ||
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 2d7423af1197..aed05bc3c2ea 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
@@ -38,16 +38,72 @@ union vfp_state *last_VFP_context[NR_CPUS]; | |||
38 | */ | 38 | */ |
39 | unsigned int VFP_arch; | 39 | unsigned int VFP_arch; |
40 | 40 | ||
41 | /* | ||
42 | * Per-thread VFP initialization. | ||
43 | */ | ||
44 | static void vfp_thread_flush(struct thread_info *thread) | ||
45 | { | ||
46 | union vfp_state *vfp = &thread->vfpstate; | ||
47 | unsigned int cpu; | ||
48 | |||
49 | memset(vfp, 0, sizeof(union vfp_state)); | ||
50 | |||
51 | vfp->hard.fpexc = FPEXC_EN; | ||
52 | vfp->hard.fpscr = FPSCR_ROUND_NEAREST; | ||
53 | |||
54 | /* | ||
55 | * Disable VFP to ensure we initialize it first. We must ensure | ||
56 | * that the modification of last_VFP_context[] and hardware disable | ||
57 | * are done for the same CPU and without preemption. | ||
58 | */ | ||
59 | cpu = get_cpu(); | ||
60 | if (last_VFP_context[cpu] == vfp) | ||
61 | last_VFP_context[cpu] = NULL; | ||
62 | fmxr(FPEXC, fmrx(FPEXC) & ~FPEXC_EN); | ||
63 | put_cpu(); | ||
64 | } | ||
65 | |||
66 | static void vfp_thread_release(struct thread_info *thread) | ||
67 | { | ||
68 | /* release case: Per-thread VFP cleanup. */ | ||
69 | union vfp_state *vfp = &thread->vfpstate; | ||
70 | unsigned int cpu = thread->cpu; | ||
71 | |||
72 | if (last_VFP_context[cpu] == vfp) | ||
73 | last_VFP_context[cpu] = NULL; | ||
74 | } | ||
75 | |||
76 | /* | ||
77 | * When this function is called with the following 'cmd's, the following | ||
78 | * is true while this function is being run: | ||
79 | * THREAD_NOFTIFY_SWTICH: | ||
80 | * - the previously running thread will not be scheduled onto another CPU. | ||
81 | * - the next thread to be run (v) will not be running on another CPU. | ||
82 | * - thread->cpu is the local CPU number | ||
83 | * - not preemptible as we're called in the middle of a thread switch | ||
84 | * THREAD_NOTIFY_FLUSH: | ||
85 | * - the thread (v) will be running on the local CPU, so | ||
86 | * v === current_thread_info() | ||
87 | * - thread->cpu is the local CPU number at the time it is accessed, | ||
88 | * but may change at any time. | ||
89 | * - we could be preempted if tree preempt rcu is enabled, so | ||
90 | * it is unsafe to use thread->cpu. | ||
91 | * THREAD_NOTIFY_RELEASE: | ||
92 | * - the thread (v) will not be running on any CPU; it is a dead thread. | ||
93 | * - thread->cpu will be the last CPU the thread ran on, which may not | ||
94 | * be the current CPU. | ||
95 | * - we could be preempted if tree preempt rcu is enabled. | ||
96 | */ | ||
41 | static int vfp_notifier(struct notifier_block *self, unsigned long cmd, void *v) | 97 | static int vfp_notifier(struct notifier_block *self, unsigned long cmd, void *v) |
42 | { | 98 | { |
43 | struct thread_info *thread = v; | 99 | struct thread_info *thread = v; |
44 | union vfp_state *vfp; | ||
45 | __u32 cpu = thread->cpu; | ||
46 | 100 | ||
47 | if (likely(cmd == THREAD_NOTIFY_SWITCH)) { | 101 | if (likely(cmd == THREAD_NOTIFY_SWITCH)) { |
48 | u32 fpexc = fmrx(FPEXC); | 102 | u32 fpexc = fmrx(FPEXC); |
49 | 103 | ||
50 | #ifdef CONFIG_SMP | 104 | #ifdef CONFIG_SMP |
105 | unsigned int cpu = thread->cpu; | ||
106 | |||
51 | /* | 107 | /* |
52 | * On SMP, if VFP is enabled, save the old state in | 108 | * On SMP, if VFP is enabled, save the old state in |
53 | * case the thread migrates to a different CPU. The | 109 | * case the thread migrates to a different CPU. The |
@@ -74,25 +130,10 @@ static int vfp_notifier(struct notifier_block *self, unsigned long cmd, void *v) | |||
74 | return NOTIFY_DONE; | 130 | return NOTIFY_DONE; |
75 | } | 131 | } |
76 | 132 | ||
77 | vfp = &thread->vfpstate; | 133 | if (cmd == THREAD_NOTIFY_FLUSH) |
78 | if (cmd == THREAD_NOTIFY_FLUSH) { | 134 | vfp_thread_flush(thread); |
79 | /* | 135 | else |
80 | * Per-thread VFP initialisation. | 136 | vfp_thread_release(thread); |
81 | */ | ||
82 | memset(vfp, 0, sizeof(union vfp_state)); | ||
83 | |||
84 | vfp->hard.fpexc = FPEXC_EN; | ||
85 | vfp->hard.fpscr = FPSCR_ROUND_NEAREST; | ||
86 | |||
87 | /* | ||
88 | * Disable VFP to ensure we initialise it first. | ||
89 | */ | ||
90 | fmxr(FPEXC, fmrx(FPEXC) & ~FPEXC_EN); | ||
91 | } | ||
92 | |||
93 | /* flush and release case: Per-thread VFP cleanup. */ | ||
94 | if (last_VFP_context[cpu] == vfp) | ||
95 | last_VFP_context[cpu] = NULL; | ||
96 | 137 | ||
97 | return NOTIFY_DONE; | 138 | return NOTIFY_DONE; |
98 | } | 139 | } |