diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-05 04:22:26 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-05 04:22:26 -0400 |
commit | 0c15702445eef6ff9dba774fd1995aca10176969 (patch) | |
tree | 33e865edad4ed4cc1cbb9667717a7261123b5f2a | |
parent | 64724ef8bd2a25aa91678c253a5dbfdad1a95662 (diff) | |
parent | 25971dfe3a9d14c3b91fc51de96d7f48da394c99 (diff) |
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/configs/mx31moboard_defconfig | 790 | ||||
-rw-r--r-- | arch/arm/configs/mx3_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/dma-mx1-mx2.c | 17 | ||||
-rw-r--r-- | arch/arm/plat-mxc/gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-mx27ads.h | 2 | ||||
-rw-r--r-- | drivers/video/mx3fb.c | 14 |
7 files changed, 16 insertions, 812 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9faccc411c2a..e60ec54df334 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -454,6 +454,7 @@ config ARCH_MXC | |||
454 | select ARCH_MTD_XIP | 454 | select ARCH_MTD_XIP |
455 | select GENERIC_GPIO | 455 | select GENERIC_GPIO |
456 | select ARCH_REQUIRE_GPIOLIB | 456 | select ARCH_REQUIRE_GPIOLIB |
457 | select HAVE_CLK | ||
457 | help | 458 | help |
458 | Support for Freescale MXC/iMX-based family of processors | 459 | Support for Freescale MXC/iMX-based family of processors |
459 | 460 | ||
diff --git a/arch/arm/configs/mx31moboard_defconfig b/arch/arm/configs/mx31moboard_defconfig deleted file mode 100644 index e90f86d6deef..000000000000 --- a/arch/arm/configs/mx31moboard_defconfig +++ /dev/null | |||
@@ -1,790 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.27-rc5 | ||
4 | # Fri Oct 24 11:41:22 2008 | ||
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_MMU=y | ||
12 | # CONFIG_NO_IOPORT is not set | ||
13 | CONFIG_GENERIC_HARDIRQS=y | ||
14 | CONFIG_STACKTRACE_SUPPORT=y | ||
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
16 | CONFIG_LOCKDEP_SUPPORT=y | ||
17 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
18 | CONFIG_HARDIRQS_SW_RESEND=y | ||
19 | CONFIG_GENERIC_IRQ_PROBE=y | ||
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
21 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
22 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
23 | CONFIG_GENERIC_HWEIGHT=y | ||
24 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
25 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
26 | CONFIG_ZONE_DMA=y | ||
27 | CONFIG_ARCH_MTD_XIP=y | ||
28 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
29 | CONFIG_VECTORS_BASE=0xffff0000 | ||
30 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
31 | |||
32 | # | ||
33 | # General setup | ||
34 | # | ||
35 | CONFIG_EXPERIMENTAL=y | ||
36 | CONFIG_BROKEN_ON_SMP=y | ||
37 | CONFIG_LOCK_KERNEL=y | ||
38 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
39 | CONFIG_LOCALVERSION="" | ||
40 | CONFIG_LOCALVERSION_AUTO=y | ||
41 | CONFIG_SWAP=y | ||
42 | CONFIG_SYSVIPC=y | ||
43 | CONFIG_SYSVIPC_SYSCTL=y | ||
44 | # CONFIG_POSIX_MQUEUE is not set | ||
45 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
46 | # CONFIG_TASKSTATS is not set | ||
47 | # CONFIG_AUDIT is not set | ||
48 | CONFIG_IKCONFIG=y | ||
49 | CONFIG_IKCONFIG_PROC=y | ||
50 | CONFIG_LOG_BUF_SHIFT=14 | ||
51 | # CONFIG_CGROUPS is not set | ||
52 | CONFIG_GROUP_SCHED=y | ||
53 | CONFIG_FAIR_GROUP_SCHED=y | ||
54 | # CONFIG_RT_GROUP_SCHED is not set | ||
55 | CONFIG_USER_SCHED=y | ||
56 | # CONFIG_CGROUP_SCHED is not set | ||
57 | CONFIG_SYSFS_DEPRECATED=y | ||
58 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
59 | # CONFIG_RELAY is not set | ||
60 | # CONFIG_NAMESPACES is not set | ||
61 | # CONFIG_BLK_DEV_INITRD is not set | ||
62 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
63 | CONFIG_SYSCTL=y | ||
64 | CONFIG_EMBEDDED=y | ||
65 | CONFIG_UID16=y | ||
66 | CONFIG_SYSCTL_SYSCALL=y | ||
67 | CONFIG_KALLSYMS=y | ||
68 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
69 | CONFIG_HOTPLUG=y | ||
70 | CONFIG_PRINTK=y | ||
71 | CONFIG_BUG=y | ||
72 | CONFIG_ELF_CORE=y | ||
73 | CONFIG_COMPAT_BRK=y | ||
74 | CONFIG_BASE_FULL=y | ||
75 | CONFIG_FUTEX=y | ||
76 | CONFIG_ANON_INODES=y | ||
77 | CONFIG_EPOLL=y | ||
78 | CONFIG_SIGNALFD=y | ||
79 | CONFIG_TIMERFD=y | ||
80 | CONFIG_EVENTFD=y | ||
81 | CONFIG_SHMEM=y | ||
82 | CONFIG_VM_EVENT_COUNTERS=y | ||
83 | CONFIG_SLAB=y | ||
84 | # CONFIG_SLUB is not set | ||
85 | # CONFIG_SLOB is not set | ||
86 | # CONFIG_PROFILING is not set | ||
87 | # CONFIG_MARKERS is not set | ||
88 | CONFIG_HAVE_OPROFILE=y | ||
89 | # CONFIG_KPROBES is not set | ||
90 | # CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set | ||
91 | # CONFIG_HAVE_IOREMAP_PROT is not set | ||
92 | CONFIG_HAVE_KPROBES=y | ||
93 | CONFIG_HAVE_KRETPROBES=y | ||
94 | # CONFIG_HAVE_ARCH_TRACEHOOK is not set | ||
95 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
96 | # CONFIG_USE_GENERIC_SMP_HELPERS is not set | ||
97 | # CONFIG_HAVE_CLK is not set | ||
98 | CONFIG_PROC_PAGE_MONITOR=y | ||
99 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
100 | CONFIG_SLABINFO=y | ||
101 | CONFIG_RT_MUTEXES=y | ||
102 | # CONFIG_TINY_SHMEM is not set | ||
103 | CONFIG_BASE_SMALL=0 | ||
104 | CONFIG_MODULES=y | ||
105 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
106 | CONFIG_MODULE_UNLOAD=y | ||
107 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
108 | CONFIG_MODVERSIONS=y | ||
109 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
110 | CONFIG_KMOD=y | ||
111 | CONFIG_BLOCK=y | ||
112 | # CONFIG_LBD is not set | ||
113 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
114 | # CONFIG_LSF is not set | ||
115 | # CONFIG_BLK_DEV_BSG is not set | ||
116 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
117 | |||
118 | # | ||
119 | # IO Schedulers | ||
120 | # | ||
121 | CONFIG_IOSCHED_NOOP=y | ||
122 | CONFIG_IOSCHED_AS=y | ||
123 | CONFIG_IOSCHED_DEADLINE=y | ||
124 | CONFIG_IOSCHED_CFQ=y | ||
125 | # CONFIG_DEFAULT_AS is not set | ||
126 | # CONFIG_DEFAULT_DEADLINE is not set | ||
127 | CONFIG_DEFAULT_CFQ=y | ||
128 | # CONFIG_DEFAULT_NOOP is not set | ||
129 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
130 | CONFIG_CLASSIC_RCU=y | ||
131 | |||
132 | # | ||
133 | # System Type | ||
134 | # | ||
135 | # CONFIG_ARCH_AAEC2000 is not set | ||
136 | # CONFIG_ARCH_INTEGRATOR is not set | ||
137 | # CONFIG_ARCH_REALVIEW is not set | ||
138 | # CONFIG_ARCH_VERSATILE is not set | ||
139 | # CONFIG_ARCH_AT91 is not set | ||
140 | # CONFIG_ARCH_CLPS7500 is not set | ||
141 | # CONFIG_ARCH_CLPS711X is not set | ||
142 | # CONFIG_ARCH_EBSA110 is not set | ||
143 | # CONFIG_ARCH_EP93XX is not set | ||
144 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
145 | # CONFIG_ARCH_NETX is not set | ||
146 | # CONFIG_ARCH_H720X is not set | ||
147 | # CONFIG_ARCH_IMX is not set | ||
148 | # CONFIG_ARCH_IOP13XX is not set | ||
149 | # CONFIG_ARCH_IOP32X is not set | ||
150 | # CONFIG_ARCH_IOP33X is not set | ||
151 | # CONFIG_ARCH_IXP23XX is not set | ||
152 | # CONFIG_ARCH_IXP2000 is not set | ||
153 | # CONFIG_ARCH_IXP4XX is not set | ||
154 | # CONFIG_ARCH_L7200 is not set | ||
155 | # CONFIG_ARCH_KIRKWOOD is not set | ||
156 | # CONFIG_ARCH_KS8695 is not set | ||
157 | # CONFIG_ARCH_NS9XXX is not set | ||
158 | # CONFIG_ARCH_LOKI is not set | ||
159 | # CONFIG_ARCH_MV78XX0 is not set | ||
160 | CONFIG_ARCH_MXC=y | ||
161 | # CONFIG_ARCH_ORION5X is not set | ||
162 | # CONFIG_ARCH_PNX4008 is not set | ||
163 | # CONFIG_ARCH_PXA is not set | ||
164 | # CONFIG_ARCH_RPC is not set | ||
165 | # CONFIG_ARCH_SA1100 is not set | ||
166 | # CONFIG_ARCH_S3C2410 is not set | ||
167 | # CONFIG_ARCH_SHARK is not set | ||
168 | # CONFIG_ARCH_LH7A40X is not set | ||
169 | # CONFIG_ARCH_DAVINCI is not set | ||
170 | # CONFIG_ARCH_OMAP is not set | ||
171 | # CONFIG_ARCH_MSM7X00A is not set | ||
172 | |||
173 | # | ||
174 | # Boot options | ||
175 | # | ||
176 | |||
177 | # | ||
178 | # Power management | ||
179 | # | ||
180 | |||
181 | # | ||
182 | # Freescale MXC Implementations | ||
183 | # | ||
184 | # CONFIG_ARCH_MX2 is not set | ||
185 | CONFIG_ARCH_MX3=y | ||
186 | |||
187 | # | ||
188 | # MX3 Options | ||
189 | # | ||
190 | # CONFIG_MACH_MX31ADS is not set | ||
191 | # CONFIG_MACH_PCM037 is not set | ||
192 | # CONFIG_MACH_MX31LITE is not set | ||
193 | CONFIG_MACH_MX31MOBOARD=y | ||
194 | # CONFIG_MXC_IRQ_PRIOR is not set | ||
195 | |||
196 | # | ||
197 | # Processor Type | ||
198 | # | ||
199 | CONFIG_CPU_32=y | ||
200 | CONFIG_CPU_V6=y | ||
201 | # CONFIG_CPU_32v6K is not set | ||
202 | CONFIG_CPU_32v6=y | ||
203 | CONFIG_CPU_ABRT_EV6=y | ||
204 | CONFIG_CPU_PABRT_NOIFAR=y | ||
205 | CONFIG_CPU_CACHE_V6=y | ||
206 | CONFIG_CPU_CACHE_VIPT=y | ||
207 | CONFIG_CPU_COPY_V6=y | ||
208 | CONFIG_CPU_TLB_V6=y | ||
209 | CONFIG_CPU_HAS_ASID=y | ||
210 | CONFIG_CPU_CP15=y | ||
211 | CONFIG_CPU_CP15_MMU=y | ||
212 | |||
213 | # | ||
214 | # Processor Features | ||
215 | # | ||
216 | CONFIG_ARM_THUMB=y | ||
217 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
218 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
219 | # CONFIG_CPU_BPREDICT_DISABLE is not set | ||
220 | # CONFIG_OUTER_CACHE is not set | ||
221 | |||
222 | # | ||
223 | # Bus support | ||
224 | # | ||
225 | # CONFIG_PCI_SYSCALL is not set | ||
226 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
227 | # CONFIG_PCCARD is not set | ||
228 | |||
229 | # | ||
230 | # Kernel Features | ||
231 | # | ||
232 | CONFIG_TICK_ONESHOT=y | ||
233 | CONFIG_NO_HZ=y | ||
234 | CONFIG_HIGH_RES_TIMERS=y | ||
235 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
236 | CONFIG_PREEMPT=y | ||
237 | CONFIG_HZ=100 | ||
238 | CONFIG_AEABI=y | ||
239 | # CONFIG_OABI_COMPAT is not set | ||
240 | CONFIG_ARCH_FLATMEM_HAS_HOLES=y | ||
241 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
242 | CONFIG_SELECT_MEMORY_MODEL=y | ||
243 | CONFIG_FLATMEM_MANUAL=y | ||
244 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
245 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
246 | CONFIG_FLATMEM=y | ||
247 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
248 | # CONFIG_SPARSEMEM_STATIC is not set | ||
249 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
250 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
251 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
252 | # CONFIG_RESOURCES_64BIT is not set | ||
253 | CONFIG_ZONE_DMA_FLAG=1 | ||
254 | CONFIG_BOUNCE=y | ||
255 | CONFIG_VIRT_TO_BUS=y | ||
256 | CONFIG_ALIGNMENT_TRAP=y | ||
257 | |||
258 | # | ||
259 | # Boot options | ||
260 | # | ||
261 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
262 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
263 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw ip=off" | ||
264 | # CONFIG_XIP_KERNEL is not set | ||
265 | # CONFIG_KEXEC is not set | ||
266 | |||
267 | # | ||
268 | # Floating point emulation | ||
269 | # | ||
270 | |||
271 | # | ||
272 | # At least one emulation must be selected | ||
273 | # | ||
274 | CONFIG_VFP=y | ||
275 | |||
276 | # | ||
277 | # Userspace binary formats | ||
278 | # | ||
279 | CONFIG_BINFMT_ELF=y | ||
280 | # CONFIG_BINFMT_AOUT is not set | ||
281 | # CONFIG_BINFMT_MISC is not set | ||
282 | |||
283 | # | ||
284 | # Power management options | ||
285 | # | ||
286 | # CONFIG_PM is not set | ||
287 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
288 | CONFIG_NET=y | ||
289 | |||
290 | # | ||
291 | # Networking options | ||
292 | # | ||
293 | CONFIG_PACKET=y | ||
294 | # CONFIG_PACKET_MMAP is not set | ||
295 | CONFIG_UNIX=y | ||
296 | # CONFIG_NET_KEY is not set | ||
297 | CONFIG_INET=y | ||
298 | # CONFIG_IP_MULTICAST is not set | ||
299 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
300 | CONFIG_IP_FIB_HASH=y | ||
301 | CONFIG_IP_PNP=y | ||
302 | CONFIG_IP_PNP_DHCP=y | ||
303 | # CONFIG_IP_PNP_BOOTP is not set | ||
304 | # CONFIG_IP_PNP_RARP is not set | ||
305 | # CONFIG_NET_IPIP is not set | ||
306 | # CONFIG_NET_IPGRE is not set | ||
307 | # CONFIG_ARPD is not set | ||
308 | # CONFIG_SYN_COOKIES is not set | ||
309 | # CONFIG_INET_AH is not set | ||
310 | # CONFIG_INET_ESP is not set | ||
311 | # CONFIG_INET_IPCOMP is not set | ||
312 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
313 | # CONFIG_INET_TUNNEL is not set | ||
314 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
315 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
316 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
317 | # CONFIG_INET_LRO is not set | ||
318 | # CONFIG_INET_DIAG is not set | ||
319 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
320 | CONFIG_TCP_CONG_CUBIC=y | ||
321 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
322 | # CONFIG_TCP_MD5SIG is not set | ||
323 | # CONFIG_IPV6 is not set | ||
324 | # CONFIG_NETWORK_SECMARK is not set | ||
325 | # CONFIG_NETFILTER is not set | ||
326 | # CONFIG_IP_DCCP is not set | ||
327 | # CONFIG_IP_SCTP is not set | ||
328 | # CONFIG_TIPC is not set | ||
329 | # CONFIG_ATM is not set | ||
330 | # CONFIG_BRIDGE is not set | ||
331 | # CONFIG_VLAN_8021Q is not set | ||
332 | # CONFIG_DECNET is not set | ||
333 | # CONFIG_LLC2 is not set | ||
334 | # CONFIG_IPX is not set | ||
335 | # CONFIG_ATALK is not set | ||
336 | # CONFIG_X25 is not set | ||
337 | # CONFIG_LAPB is not set | ||
338 | # CONFIG_ECONET is not set | ||
339 | # CONFIG_WAN_ROUTER is not set | ||
340 | # CONFIG_NET_SCHED is not set | ||
341 | |||
342 | # | ||
343 | # Network testing | ||
344 | # | ||
345 | # CONFIG_NET_PKTGEN is not set | ||
346 | # CONFIG_HAMRADIO is not set | ||
347 | # CONFIG_CAN is not set | ||
348 | # CONFIG_IRDA is not set | ||
349 | # CONFIG_BT is not set | ||
350 | # CONFIG_AF_RXRPC is not set | ||
351 | |||
352 | # | ||
353 | # Wireless | ||
354 | # | ||
355 | # CONFIG_CFG80211 is not set | ||
356 | # CONFIG_WIRELESS_EXT is not set | ||
357 | # CONFIG_MAC80211 is not set | ||
358 | # CONFIG_IEEE80211 is not set | ||
359 | # CONFIG_RFKILL is not set | ||
360 | # CONFIG_NET_9P is not set | ||
361 | |||
362 | # | ||
363 | # Device Drivers | ||
364 | # | ||
365 | |||
366 | # | ||
367 | # Generic Driver Options | ||
368 | # | ||
369 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
370 | CONFIG_STANDALONE=y | ||
371 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
372 | CONFIG_FW_LOADER=m | ||
373 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
374 | CONFIG_EXTRA_FIRMWARE="" | ||
375 | # CONFIG_SYS_HYPERVISOR is not set | ||
376 | # CONFIG_CONNECTOR is not set | ||
377 | CONFIG_MTD=y | ||
378 | # CONFIG_MTD_DEBUG is not set | ||
379 | # CONFIG_MTD_CONCAT is not set | ||
380 | CONFIG_MTD_PARTITIONS=y | ||
381 | CONFIG_MTD_REDBOOT_PARTS=y | ||
382 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
383 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | ||
384 | CONFIG_MTD_REDBOOT_PARTS_READONLY=y | ||
385 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
386 | # CONFIG_MTD_AFS_PARTS is not set | ||
387 | # CONFIG_MTD_AR7_PARTS is not set | ||
388 | |||
389 | # | ||
390 | # User Modules And Translation Layers | ||
391 | # | ||
392 | CONFIG_MTD_CHAR=y | ||
393 | CONFIG_MTD_BLKDEVS=y | ||
394 | CONFIG_MTD_BLOCK=y | ||
395 | # CONFIG_FTL is not set | ||
396 | # CONFIG_NFTL is not set | ||
397 | # CONFIG_INFTL is not set | ||
398 | # CONFIG_RFD_FTL is not set | ||
399 | # CONFIG_SSFDC is not set | ||
400 | # CONFIG_MTD_OOPS is not set | ||
401 | |||
402 | # | ||
403 | # RAM/ROM/Flash chip drivers | ||
404 | # | ||
405 | CONFIG_MTD_CFI=y | ||
406 | # CONFIG_MTD_JEDECPROBE is not set | ||
407 | CONFIG_MTD_GEN_PROBE=y | ||
408 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
409 | CONFIG_MTD_CFI_NOSWAP=y | ||
410 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
411 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
412 | CONFIG_MTD_CFI_GEOMETRY=y | ||
413 | # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set | ||
414 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
415 | # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set | ||
416 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
417 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
418 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
419 | CONFIG_MTD_CFI_I1=y | ||
420 | # CONFIG_MTD_CFI_I2 is not set | ||
421 | # CONFIG_MTD_CFI_I4 is not set | ||
422 | # CONFIG_MTD_CFI_I8 is not set | ||
423 | # CONFIG_MTD_OTP is not set | ||
424 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
425 | CONFIG_MTD_CFI_AMDSTD=y | ||
426 | # CONFIG_MTD_CFI_STAA is not set | ||
427 | CONFIG_MTD_CFI_UTIL=y | ||
428 | # CONFIG_MTD_RAM is not set | ||
429 | # CONFIG_MTD_ROM is not set | ||
430 | # CONFIG_MTD_ABSENT is not set | ||
431 | # CONFIG_MTD_XIP is not set | ||
432 | |||
433 | # | ||
434 | # Mapping drivers for chip access | ||
435 | # | ||
436 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
437 | CONFIG_MTD_PHYSMAP=y | ||
438 | CONFIG_MTD_PHYSMAP_START=0x0 | ||
439 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
440 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
441 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
442 | # CONFIG_MTD_PLATRAM is not set | ||
443 | |||
444 | # | ||
445 | # Self-contained MTD device drivers | ||
446 | # | ||
447 | # CONFIG_MTD_SLRAM is not set | ||
448 | # CONFIG_MTD_PHRAM is not set | ||
449 | # CONFIG_MTD_MTDRAM is not set | ||
450 | # CONFIG_MTD_BLOCK2MTD is not set | ||
451 | |||
452 | # | ||
453 | # Disk-On-Chip Device Drivers | ||
454 | # | ||
455 | # CONFIG_MTD_DOC2000 is not set | ||
456 | # CONFIG_MTD_DOC2001 is not set | ||
457 | # CONFIG_MTD_DOC2001PLUS is not set | ||
458 | # CONFIG_MTD_NAND is not set | ||
459 | # CONFIG_MTD_ONENAND is not set | ||
460 | |||
461 | # | ||
462 | # UBI - Unsorted block images | ||
463 | # | ||
464 | # CONFIG_MTD_UBI is not set | ||
465 | # CONFIG_PARPORT is not set | ||
466 | # CONFIG_BLK_DEV is not set | ||
467 | # CONFIG_MISC_DEVICES is not set | ||
468 | CONFIG_HAVE_IDE=y | ||
469 | # CONFIG_IDE is not set | ||
470 | |||
471 | # | ||
472 | # SCSI device support | ||
473 | # | ||
474 | # CONFIG_RAID_ATTRS is not set | ||
475 | # CONFIG_SCSI is not set | ||
476 | # CONFIG_SCSI_DMA is not set | ||
477 | # CONFIG_SCSI_NETLINK is not set | ||
478 | # CONFIG_ATA is not set | ||
479 | # CONFIG_MD is not set | ||
480 | CONFIG_NETDEVICES=y | ||
481 | # CONFIG_DUMMY is not set | ||
482 | # CONFIG_BONDING is not set | ||
483 | # CONFIG_MACVLAN is not set | ||
484 | # CONFIG_EQUALIZER is not set | ||
485 | # CONFIG_TUN is not set | ||
486 | # CONFIG_VETH is not set | ||
487 | # CONFIG_PHYLIB is not set | ||
488 | CONFIG_NET_ETHERNET=y | ||
489 | CONFIG_MII=y | ||
490 | # CONFIG_AX88796 is not set | ||
491 | CONFIG_SMC91X=y | ||
492 | # CONFIG_DM9000 is not set | ||
493 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
494 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
495 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
496 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
497 | # CONFIG_B44 is not set | ||
498 | # CONFIG_NETDEV_1000 is not set | ||
499 | # CONFIG_NETDEV_10000 is not set | ||
500 | |||
501 | # | ||
502 | # Wireless LAN | ||
503 | # | ||
504 | # CONFIG_WLAN_PRE80211 is not set | ||
505 | # CONFIG_WLAN_80211 is not set | ||
506 | # CONFIG_IWLWIFI_LEDS is not set | ||
507 | # CONFIG_WAN is not set | ||
508 | # CONFIG_PPP is not set | ||
509 | # CONFIG_SLIP is not set | ||
510 | # CONFIG_NETCONSOLE is not set | ||
511 | # CONFIG_NETPOLL is not set | ||
512 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
513 | # CONFIG_ISDN is not set | ||
514 | |||
515 | # | ||
516 | # Input device support | ||
517 | # | ||
518 | # CONFIG_INPUT is not set | ||
519 | |||
520 | # | ||
521 | # Hardware I/O ports | ||
522 | # | ||
523 | # CONFIG_SERIO is not set | ||
524 | # CONFIG_GAMEPORT is not set | ||
525 | |||
526 | # | ||
527 | # Character devices | ||
528 | # | ||
529 | # CONFIG_VT is not set | ||
530 | CONFIG_DEVKMEM=y | ||
531 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
532 | |||
533 | # | ||
534 | # Serial drivers | ||
535 | # | ||
536 | # CONFIG_SERIAL_8250 is not set | ||
537 | |||
538 | # | ||
539 | # Non-8250 serial port support | ||
540 | # | ||
541 | CONFIG_SERIAL_IMX=y | ||
542 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
543 | CONFIG_SERIAL_CORE=y | ||
544 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
545 | CONFIG_UNIX98_PTYS=y | ||
546 | # CONFIG_LEGACY_PTYS is not set | ||
547 | # CONFIG_IPMI_HANDLER is not set | ||
548 | # CONFIG_HW_RANDOM is not set | ||
549 | # CONFIG_NVRAM is not set | ||
550 | # CONFIG_R3964 is not set | ||
551 | # CONFIG_RAW_DRIVER is not set | ||
552 | # CONFIG_TCG_TPM is not set | ||
553 | # CONFIG_I2C is not set | ||
554 | # CONFIG_SPI is not set | ||
555 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
556 | CONFIG_GPIOLIB=y | ||
557 | # CONFIG_GPIO_SYSFS is not set | ||
558 | |||
559 | # | ||
560 | # I2C GPIO expanders: | ||
561 | # | ||
562 | |||
563 | # | ||
564 | # PCI GPIO expanders: | ||
565 | # | ||
566 | |||
567 | # | ||
568 | # SPI GPIO expanders: | ||
569 | # | ||
570 | # CONFIG_W1 is not set | ||
571 | # CONFIG_POWER_SUPPLY is not set | ||
572 | # CONFIG_HWMON is not set | ||
573 | # CONFIG_WATCHDOG is not set | ||
574 | |||
575 | # | ||
576 | # Sonics Silicon Backplane | ||
577 | # | ||
578 | CONFIG_SSB_POSSIBLE=y | ||
579 | # CONFIG_SSB is not set | ||
580 | |||
581 | # | ||
582 | # Multifunction device drivers | ||
583 | # | ||
584 | # CONFIG_MFD_CORE is not set | ||
585 | # CONFIG_MFD_SM501 is not set | ||
586 | # CONFIG_HTC_EGPIO is not set | ||
587 | # CONFIG_HTC_PASIC3 is not set | ||
588 | # CONFIG_MFD_TMIO is not set | ||
589 | # CONFIG_MFD_T7L66XB is not set | ||
590 | # CONFIG_MFD_TC6387XB is not set | ||
591 | # CONFIG_MFD_TC6393XB is not set | ||
592 | |||
593 | # | ||
594 | # Multimedia devices | ||
595 | # | ||
596 | |||
597 | # | ||
598 | # Multimedia core support | ||
599 | # | ||
600 | # CONFIG_VIDEO_DEV is not set | ||
601 | # CONFIG_DVB_CORE is not set | ||
602 | # CONFIG_VIDEO_MEDIA is not set | ||
603 | |||
604 | # | ||
605 | # Multimedia drivers | ||
606 | # | ||
607 | # CONFIG_DAB is not set | ||
608 | |||
609 | # | ||
610 | # Graphics support | ||
611 | # | ||
612 | # CONFIG_VGASTATE is not set | ||
613 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
614 | # CONFIG_FB is not set | ||
615 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
616 | |||
617 | # | ||
618 | # Display device support | ||
619 | # | ||
620 | # CONFIG_DISPLAY_SUPPORT is not set | ||
621 | # CONFIG_SOUND is not set | ||
622 | # CONFIG_USB_SUPPORT is not set | ||
623 | # CONFIG_MMC is not set | ||
624 | # CONFIG_NEW_LEDS is not set | ||
625 | CONFIG_RTC_LIB=y | ||
626 | # CONFIG_RTC_CLASS is not set | ||
627 | # CONFIG_DMADEVICES is not set | ||
628 | |||
629 | # | ||
630 | # Voltage and Current regulators | ||
631 | # | ||
632 | # CONFIG_REGULATOR is not set | ||
633 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
634 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
635 | # CONFIG_REGULATOR_BQ24022 is not set | ||
636 | # CONFIG_UIO is not set | ||
637 | |||
638 | # | ||
639 | # File systems | ||
640 | # | ||
641 | # CONFIG_EXT2_FS is not set | ||
642 | # CONFIG_EXT3_FS is not set | ||
643 | # CONFIG_EXT4DEV_FS is not set | ||
644 | # CONFIG_REISERFS_FS is not set | ||
645 | # CONFIG_JFS_FS is not set | ||
646 | # CONFIG_FS_POSIX_ACL is not set | ||
647 | # CONFIG_XFS_FS is not set | ||
648 | # CONFIG_OCFS2_FS is not set | ||
649 | # CONFIG_DNOTIFY is not set | ||
650 | CONFIG_INOTIFY=y | ||
651 | CONFIG_INOTIFY_USER=y | ||
652 | # CONFIG_QUOTA is not set | ||
653 | # CONFIG_AUTOFS_FS is not set | ||
654 | # CONFIG_AUTOFS4_FS is not set | ||
655 | # CONFIG_FUSE_FS is not set | ||
656 | |||
657 | # | ||
658 | # CD-ROM/DVD Filesystems | ||
659 | # | ||
660 | # CONFIG_ISO9660_FS is not set | ||
661 | # CONFIG_UDF_FS is not set | ||
662 | |||
663 | # | ||
664 | # DOS/FAT/NT Filesystems | ||
665 | # | ||
666 | # CONFIG_MSDOS_FS is not set | ||
667 | # CONFIG_VFAT_FS is not set | ||
668 | # CONFIG_NTFS_FS is not set | ||
669 | |||
670 | # | ||
671 | # Pseudo filesystems | ||
672 | # | ||
673 | CONFIG_PROC_FS=y | ||
674 | CONFIG_PROC_SYSCTL=y | ||
675 | CONFIG_SYSFS=y | ||
676 | CONFIG_TMPFS=y | ||
677 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
678 | # CONFIG_HUGETLB_PAGE is not set | ||
679 | # CONFIG_CONFIGFS_FS is not set | ||
680 | |||
681 | # | ||
682 | # Miscellaneous filesystems | ||
683 | # | ||
684 | # CONFIG_ADFS_FS is not set | ||
685 | # CONFIG_AFFS_FS is not set | ||
686 | # CONFIG_HFS_FS is not set | ||
687 | # CONFIG_HFSPLUS_FS is not set | ||
688 | # CONFIG_BEFS_FS is not set | ||
689 | # CONFIG_BFS_FS is not set | ||
690 | # CONFIG_EFS_FS is not set | ||
691 | CONFIG_JFFS2_FS=y | ||
692 | CONFIG_JFFS2_FS_DEBUG=0 | ||
693 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
694 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
695 | # CONFIG_JFFS2_SUMMARY is not set | ||
696 | # CONFIG_JFFS2_FS_XATTR is not set | ||
697 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
698 | CONFIG_JFFS2_ZLIB=y | ||
699 | # CONFIG_JFFS2_LZO is not set | ||
700 | CONFIG_JFFS2_RTIME=y | ||
701 | # CONFIG_JFFS2_RUBIN is not set | ||
702 | # CONFIG_CRAMFS is not set | ||
703 | # CONFIG_VXFS_FS is not set | ||
704 | # CONFIG_MINIX_FS is not set | ||
705 | # CONFIG_OMFS_FS is not set | ||
706 | # CONFIG_HPFS_FS is not set | ||
707 | # CONFIG_QNX4FS_FS is not set | ||
708 | # CONFIG_ROMFS_FS is not set | ||
709 | # CONFIG_SYSV_FS is not set | ||
710 | # CONFIG_UFS_FS is not set | ||
711 | CONFIG_NETWORK_FILESYSTEMS=y | ||
712 | CONFIG_NFS_FS=y | ||
713 | # CONFIG_NFS_V3 is not set | ||
714 | # CONFIG_NFS_V4 is not set | ||
715 | CONFIG_ROOT_NFS=y | ||
716 | # CONFIG_NFSD is not set | ||
717 | CONFIG_LOCKD=y | ||
718 | CONFIG_NFS_COMMON=y | ||
719 | CONFIG_SUNRPC=y | ||
720 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
721 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
722 | # CONFIG_SMB_FS is not set | ||
723 | # CONFIG_CIFS is not set | ||
724 | # CONFIG_NCP_FS is not set | ||
725 | # CONFIG_CODA_FS is not set | ||
726 | # CONFIG_AFS_FS is not set | ||
727 | |||
728 | # | ||
729 | # Partition Types | ||
730 | # | ||
731 | # CONFIG_PARTITION_ADVANCED is not set | ||
732 | CONFIG_MSDOS_PARTITION=y | ||
733 | # CONFIG_NLS is not set | ||
734 | # CONFIG_DLM is not set | ||
735 | |||
736 | # | ||
737 | # Kernel hacking | ||
738 | # | ||
739 | # CONFIG_PRINTK_TIME is not set | ||
740 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
741 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
742 | CONFIG_FRAME_WARN=1024 | ||
743 | # CONFIG_MAGIC_SYSRQ is not set | ||
744 | # CONFIG_UNUSED_SYMBOLS is not set | ||
745 | # CONFIG_DEBUG_FS is not set | ||
746 | # CONFIG_HEADERS_CHECK is not set | ||
747 | # CONFIG_DEBUG_KERNEL is not set | ||
748 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
749 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
750 | CONFIG_FRAME_POINTER=y | ||
751 | # CONFIG_LATENCYTOP is not set | ||
752 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
753 | CONFIG_HAVE_FTRACE=y | ||
754 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
755 | # CONFIG_FTRACE is not set | ||
756 | # CONFIG_IRQSOFF_TRACER is not set | ||
757 | # CONFIG_PREEMPT_TRACER is not set | ||
758 | # CONFIG_SCHED_TRACER is not set | ||
759 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
760 | # CONFIG_SAMPLES is not set | ||
761 | CONFIG_HAVE_ARCH_KGDB=y | ||
762 | # CONFIG_DEBUG_USER is not set | ||
763 | |||
764 | # | ||
765 | # Security options | ||
766 | # | ||
767 | # CONFIG_KEYS is not set | ||
768 | # CONFIG_SECURITY is not set | ||
769 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
770 | # CONFIG_CRYPTO is not set | ||
771 | |||
772 | # | ||
773 | # Library routines | ||
774 | # | ||
775 | CONFIG_BITREVERSE=y | ||
776 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
777 | # CONFIG_GENERIC_FIND_NEXT_BIT is not set | ||
778 | # CONFIG_CRC_CCITT is not set | ||
779 | # CONFIG_CRC16 is not set | ||
780 | # CONFIG_CRC_T10DIF is not set | ||
781 | # CONFIG_CRC_ITU_T is not set | ||
782 | CONFIG_CRC32=y | ||
783 | # CONFIG_CRC7 is not set | ||
784 | # CONFIG_LIBCRC32C is not set | ||
785 | CONFIG_ZLIB_INFLATE=y | ||
786 | CONFIG_ZLIB_DEFLATE=y | ||
787 | CONFIG_PLIST=y | ||
788 | CONFIG_HAS_IOMEM=y | ||
789 | CONFIG_HAS_IOPORT=y | ||
790 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/arm/configs/mx3_defconfig b/arch/arm/configs/mx3_defconfig index 72a8201a5370..20ada526f6de 100644 --- a/arch/arm/configs/mx3_defconfig +++ b/arch/arm/configs/mx3_defconfig | |||
@@ -197,7 +197,7 @@ CONFIG_MXC_PWM=y | |||
197 | # | 197 | # |
198 | CONFIG_CPU_32=y | 198 | CONFIG_CPU_32=y |
199 | CONFIG_CPU_V6=y | 199 | CONFIG_CPU_V6=y |
200 | CONFIG_CPU_32v6K=y | 200 | # CONFIG_CPU_32v6K is not set |
201 | CONFIG_CPU_32v6=y | 201 | CONFIG_CPU_32v6=y |
202 | CONFIG_CPU_ABRT_EV6=y | 202 | CONFIG_CPU_ABRT_EV6=y |
203 | CONFIG_CPU_PABRT_NOIFAR=y | 203 | CONFIG_CPU_PABRT_NOIFAR=y |
diff --git a/arch/arm/plat-mxc/dma-mx1-mx2.c b/arch/arm/plat-mxc/dma-mx1-mx2.c index e364a5ed10f1..77646436c00e 100644 --- a/arch/arm/plat-mxc/dma-mx1-mx2.c +++ b/arch/arm/plat-mxc/dma-mx1-mx2.c | |||
@@ -693,12 +693,15 @@ int imx_dma_request(int channel, const char *name) | |||
693 | local_irq_restore(flags); | 693 | local_irq_restore(flags); |
694 | return -EBUSY; | 694 | return -EBUSY; |
695 | } | 695 | } |
696 | memset(imxdma, 0, sizeof(imxdma)); | ||
697 | imxdma->name = name; | ||
698 | local_irq_restore(flags); /* request_irq() can block */ | ||
696 | 699 | ||
697 | #ifdef CONFIG_ARCH_MX2 | 700 | #ifdef CONFIG_ARCH_MX2 |
698 | ret = request_irq(MXC_INT_DMACH0 + channel, dma_irq_handler, 0, "DMA", | 701 | ret = request_irq(MXC_INT_DMACH0 + channel, dma_irq_handler, 0, "DMA", |
699 | NULL); | 702 | NULL); |
700 | if (ret) { | 703 | if (ret) { |
701 | local_irq_restore(flags); | 704 | imxdma->name = NULL; |
702 | printk(KERN_CRIT "Can't register IRQ %d for DMA channel %d\n", | 705 | printk(KERN_CRIT "Can't register IRQ %d for DMA channel %d\n", |
703 | MXC_INT_DMACH0 + channel, channel); | 706 | MXC_INT_DMACH0 + channel, channel); |
704 | return ret; | 707 | return ret; |
@@ -708,13 +711,6 @@ int imx_dma_request(int channel, const char *name) | |||
708 | imxdma->watchdog.data = channel; | 711 | imxdma->watchdog.data = channel; |
709 | #endif | 712 | #endif |
710 | 713 | ||
711 | imxdma->name = name; | ||
712 | imxdma->irq_handler = NULL; | ||
713 | imxdma->err_handler = NULL; | ||
714 | imxdma->data = NULL; | ||
715 | imxdma->sg = NULL; | ||
716 | |||
717 | local_irq_restore(flags); | ||
718 | return ret; | 714 | return ret; |
719 | } | 715 | } |
720 | EXPORT_SYMBOL(imx_dma_request); | 716 | EXPORT_SYMBOL(imx_dma_request); |
@@ -737,10 +733,7 @@ void imx_dma_free(int channel) | |||
737 | 733 | ||
738 | local_irq_save(flags); | 734 | local_irq_save(flags); |
739 | /* Disable interrupts */ | 735 | /* Disable interrupts */ |
740 | __raw_writel(__raw_readl(DMA_BASE + DMA_DIMR) | (1 << channel), | 736 | imx_dma_disable(channel); |
741 | DMA_BASE + DMA_DIMR); | ||
742 | __raw_writel(__raw_readl(DMA_BASE + DMA_CCR(channel)) & ~CCR_CEN, | ||
743 | DMA_BASE + DMA_CCR(channel)); | ||
744 | imxdma->name = NULL; | 737 | imxdma->name = NULL; |
745 | 738 | ||
746 | #ifdef CONFIG_ARCH_MX2 | 739 | #ifdef CONFIG_ARCH_MX2 |
diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c index c6483bad8a26..89e95798cc3b 100644 --- a/arch/arm/plat-mxc/gpio.c +++ b/arch/arm/plat-mxc/gpio.c | |||
@@ -124,7 +124,7 @@ static void mx3_gpio_irq_handler(u32 irq, struct irq_desc *desc) | |||
124 | 124 | ||
125 | irq_stat = __raw_readl(port->base + GPIO_ISR) & | 125 | irq_stat = __raw_readl(port->base + GPIO_ISR) & |
126 | __raw_readl(port->base + GPIO_IMR); | 126 | __raw_readl(port->base + GPIO_IMR); |
127 | BUG_ON(!irq_stat); | 127 | |
128 | mxc_gpio_irq_handler(port, irq_stat); | 128 | mxc_gpio_irq_handler(port, irq_stat); |
129 | } | 129 | } |
130 | #endif | 130 | #endif |
diff --git a/arch/arm/plat-mxc/include/mach/board-mx27ads.h b/arch/arm/plat-mxc/include/mach/board-mx27ads.h index 1cac9d1135cd..d42f4e6116f8 100644 --- a/arch/arm/plat-mxc/include/mach/board-mx27ads.h +++ b/arch/arm/plat-mxc/include/mach/board-mx27ads.h | |||
@@ -47,7 +47,7 @@ | |||
47 | /* | 47 | /* |
48 | * Base address of PBC controller, CS4 | 48 | * Base address of PBC controller, CS4 |
49 | */ | 49 | */ |
50 | #define PBC_BASE_ADDRESS 0xEB000000 | 50 | #define PBC_BASE_ADDRESS 0xf4300000 |
51 | #define PBC_REG_ADDR(offset) (void __force __iomem *) \ | 51 | #define PBC_REG_ADDR(offset) (void __force __iomem *) \ |
52 | (PBC_BASE_ADDRESS + (offset)) | 52 | (PBC_BASE_ADDRESS + (offset)) |
53 | 53 | ||
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 21b3692092f2..9894de1c9b9f 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c | |||
@@ -1152,11 +1152,11 @@ static struct fb_ops mx3fb_ops = { | |||
1152 | */ | 1152 | */ |
1153 | static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state) | 1153 | static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state) |
1154 | { | 1154 | { |
1155 | struct mx3fb_data *drv_data = platform_get_drvdata(pdev); | 1155 | struct mx3fb_data *mx3fb = platform_get_drvdata(pdev); |
1156 | struct mx3fb_info *mx3_fbi = drv_data->fbi->par; | 1156 | struct mx3fb_info *mx3_fbi = mx3fb->fbi->par; |
1157 | 1157 | ||
1158 | acquire_console_sem(); | 1158 | acquire_console_sem(); |
1159 | fb_set_suspend(drv_data->fbi, 1); | 1159 | fb_set_suspend(mx3fb->fbi, 1); |
1160 | release_console_sem(); | 1160 | release_console_sem(); |
1161 | 1161 | ||
1162 | if (mx3_fbi->blank == FB_BLANK_UNBLANK) { | 1162 | if (mx3_fbi->blank == FB_BLANK_UNBLANK) { |
@@ -1172,16 +1172,16 @@ static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state) | |||
1172 | */ | 1172 | */ |
1173 | static int mx3fb_resume(struct platform_device *pdev) | 1173 | static int mx3fb_resume(struct platform_device *pdev) |
1174 | { | 1174 | { |
1175 | struct mx3fb_data *drv_data = platform_get_drvdata(pdev); | 1175 | struct mx3fb_data *mx3fb = platform_get_drvdata(pdev); |
1176 | struct mx3fb_info *mx3_fbi = drv_data->fbi->par; | 1176 | struct mx3fb_info *mx3_fbi = mx3fb->fbi->par; |
1177 | 1177 | ||
1178 | if (mx3_fbi->blank == FB_BLANK_UNBLANK) { | 1178 | if (mx3_fbi->blank == FB_BLANK_UNBLANK) { |
1179 | sdc_enable_channel(mx3_fbi); | 1179 | sdc_enable_channel(mx3_fbi); |
1180 | sdc_set_brightness(mx3fb, drv_data->backlight_level); | 1180 | sdc_set_brightness(mx3fb, mx3fb->backlight_level); |
1181 | } | 1181 | } |
1182 | 1182 | ||
1183 | acquire_console_sem(); | 1183 | acquire_console_sem(); |
1184 | fb_set_suspend(drv_data->fbi, 0); | 1184 | fb_set_suspend(mx3fb->fbi, 0); |
1185 | release_console_sem(); | 1185 | release_console_sem(); |
1186 | 1186 | ||
1187 | return 0; | 1187 | return 0; |