diff options
| -rw-r--r-- | arch/arm/configs/cm_x270_defconfig | 1410 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/Kconfig | 5 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/Makefile | 6 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/cm-x270-pci.c | 218 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/cm-x270-pci.h | 13 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/cm-x270.c | 645 | ||||
| -rw-r--r-- | drivers/leds/Kconfig | 6 | ||||
| -rw-r--r-- | drivers/leds/Makefile | 1 | ||||
| -rw-r--r-- | drivers/leds/leds-cm-x270.c | 122 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/cm-x270.h | 50 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/dma.h | 4 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/hardware.h | 6 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/irqs.h | 21 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/memory.h | 10 | 
14 files changed, 2517 insertions, 0 deletions
| diff --git a/arch/arm/configs/cm_x270_defconfig b/arch/arm/configs/cm_x270_defconfig new file mode 100644 index 000000000000..5cab08397ae7 --- /dev/null +++ b/arch/arm/configs/cm_x270_defconfig | |||
| @@ -0,0 +1,1410 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.22 | ||
| 4 | # Wed Jul 18 14:11:48 2007 | ||
| 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 is not set | ||
| 11 | CONFIG_MMU=y | ||
| 12 | # CONFIG_NO_IOPORT is not set | ||
| 13 | CONFIG_GENERIC_HARDIRQS=y | ||
| 14 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 15 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 16 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
| 17 | CONFIG_HARDIRQS_SW_RESEND=y | ||
| 18 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 19 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
| 20 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
| 21 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
| 22 | CONFIG_GENERIC_HWEIGHT=y | ||
| 23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 24 | CONFIG_ZONE_DMA=y | ||
| 25 | CONFIG_ARCH_MTD_XIP=y | ||
| 26 | CONFIG_VECTORS_BASE=0xffff0000 | ||
| 27 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 28 | |||
| 29 | # | ||
| 30 | # Code maturity level options | ||
| 31 | # | ||
| 32 | CONFIG_EXPERIMENTAL=y | ||
| 33 | CONFIG_BROKEN_ON_SMP=y | ||
| 34 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 35 | |||
| 36 | # | ||
| 37 | # General setup | ||
| 38 | # | ||
| 39 | CONFIG_LOCALVERSION="" | ||
| 40 | # CONFIG_LOCALVERSION_AUTO is not set | ||
| 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_USER_NS is not set | ||
| 48 | # CONFIG_AUDIT is not set | ||
| 49 | CONFIG_IKCONFIG=y | ||
| 50 | CONFIG_IKCONFIG_PROC=y | ||
| 51 | CONFIG_LOG_BUF_SHIFT=17 | ||
| 52 | CONFIG_SYSFS_DEPRECATED=y | ||
| 53 | # CONFIG_RELAY is not set | ||
| 54 | CONFIG_BLK_DEV_INITRD=y | ||
| 55 | CONFIG_INITRAMFS_SOURCE="" | ||
| 56 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
| 57 | CONFIG_SYSCTL=y | ||
| 58 | CONFIG_EMBEDDED=y | ||
| 59 | CONFIG_UID16=y | ||
| 60 | CONFIG_SYSCTL_SYSCALL=y | ||
| 61 | CONFIG_KALLSYMS=y | ||
| 62 | # CONFIG_KALLSYMS_ALL is not set | ||
| 63 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
| 64 | CONFIG_HOTPLUG=y | ||
| 65 | CONFIG_PRINTK=y | ||
| 66 | CONFIG_BUG=y | ||
| 67 | CONFIG_ELF_CORE=y | ||
| 68 | CONFIG_BASE_FULL=y | ||
| 69 | CONFIG_FUTEX=y | ||
| 70 | CONFIG_ANON_INODES=y | ||
| 71 | # CONFIG_EPOLL is not set | ||
| 72 | # CONFIG_SIGNALFD is not set | ||
| 73 | # CONFIG_TIMERFD is not set | ||
| 74 | # CONFIG_EVENTFD is not set | ||
| 75 | CONFIG_SHMEM=y | ||
| 76 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 77 | CONFIG_SLAB=y | ||
| 78 | # CONFIG_SLUB is not set | ||
| 79 | # CONFIG_SLOB is not set | ||
| 80 | CONFIG_RT_MUTEXES=y | ||
| 81 | # CONFIG_TINY_SHMEM is not set | ||
| 82 | CONFIG_BASE_SMALL=0 | ||
| 83 | CONFIG_MODULES=y | ||
| 84 | CONFIG_MODULE_UNLOAD=y | ||
| 85 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
| 86 | # CONFIG_MODVERSIONS is not set | ||
| 87 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 88 | CONFIG_KMOD=y | ||
| 89 | CONFIG_BLOCK=y | ||
| 90 | # CONFIG_LBD is not set | ||
| 91 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 92 | # CONFIG_LSF is not set | ||
| 93 | # CONFIG_BLK_DEV_BSG is not set | ||
| 94 | |||
| 95 | # | ||
| 96 | # IO Schedulers | ||
| 97 | # | ||
| 98 | CONFIG_IOSCHED_NOOP=y | ||
| 99 | CONFIG_IOSCHED_AS=y | ||
| 100 | CONFIG_IOSCHED_DEADLINE=y | ||
| 101 | CONFIG_IOSCHED_CFQ=y | ||
| 102 | CONFIG_DEFAULT_AS=y | ||
| 103 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 104 | # CONFIG_DEFAULT_CFQ is not set | ||
| 105 | # CONFIG_DEFAULT_NOOP is not set | ||
| 106 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
| 107 | |||
| 108 | # | ||
| 109 | # System Type | ||
| 110 | # | ||
| 111 | # CONFIG_ARCH_AAEC2000 is not set | ||
| 112 | # CONFIG_ARCH_INTEGRATOR is not set | ||
| 113 | # CONFIG_ARCH_REALVIEW is not set | ||
| 114 | # CONFIG_ARCH_VERSATILE is not set | ||
| 115 | # CONFIG_ARCH_AT91 is not set | ||
| 116 | # CONFIG_ARCH_CLPS7500 is not set | ||
| 117 | # CONFIG_ARCH_CLPS711X is not set | ||
| 118 | # CONFIG_ARCH_CO285 is not set | ||
| 119 | # CONFIG_ARCH_EBSA110 is not set | ||
| 120 | # CONFIG_ARCH_EP93XX is not set | ||
| 121 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
| 122 | # CONFIG_ARCH_NETX is not set | ||
| 123 | # CONFIG_ARCH_H720X is not set | ||
| 124 | # CONFIG_ARCH_IMX is not set | ||
| 125 | # CONFIG_ARCH_IOP13XX is not set | ||
| 126 | # CONFIG_ARCH_IOP32X is not set | ||
| 127 | # CONFIG_ARCH_IOP33X is not set | ||
| 128 | # CONFIG_ARCH_IXP23XX is not set | ||
| 129 | # CONFIG_ARCH_IXP2000 is not set | ||
| 130 | # CONFIG_ARCH_IXP4XX is not set | ||
| 131 | # CONFIG_ARCH_L7200 is not set | ||
| 132 | # CONFIG_ARCH_KS8695 is not set | ||
| 133 | # CONFIG_ARCH_NS9XXX is not set | ||
| 134 | # CONFIG_ARCH_PNX4008 is not set | ||
| 135 | CONFIG_ARCH_PXA=y | ||
| 136 | # CONFIG_ARCH_RPC is not set | ||
| 137 | # CONFIG_ARCH_SA1100 is not set | ||
| 138 | # CONFIG_ARCH_S3C2410 is not set | ||
| 139 | # CONFIG_ARCH_SHARK is not set | ||
| 140 | # CONFIG_ARCH_LH7A40X is not set | ||
| 141 | # CONFIG_ARCH_DAVINCI is not set | ||
| 142 | # CONFIG_ARCH_OMAP is not set | ||
| 143 | CONFIG_DMABOUNCE=y | ||
| 144 | |||
| 145 | # | ||
| 146 | # Intel PXA2xx Implementations | ||
| 147 | # | ||
| 148 | # CONFIG_ARCH_LUBBOCK is not set | ||
| 149 | # CONFIG_MACH_LOGICPD_PXA270 is not set | ||
| 150 | # CONFIG_MACH_MAINSTONE is not set | ||
| 151 | # CONFIG_ARCH_PXA_IDP is not set | ||
| 152 | # CONFIG_PXA_SHARPSL is not set | ||
| 153 | # CONFIG_MACH_TRIZEPS4 is not set | ||
| 154 | CONFIG_MACH_ARMCORE=y | ||
| 155 | CONFIG_PXA27x=y | ||
| 156 | |||
| 157 | # | ||
| 158 | # Processor Type | ||
| 159 | # | ||
| 160 | CONFIG_CPU_32=y | ||
| 161 | CONFIG_CPU_XSCALE=y | ||
| 162 | CONFIG_CPU_32v5=y | ||
| 163 | CONFIG_CPU_ABRT_EV5T=y | ||
| 164 | CONFIG_CPU_CACHE_VIVT=y | ||
| 165 | CONFIG_CPU_TLB_V4WBI=y | ||
| 166 | CONFIG_CPU_CP15=y | ||
| 167 | CONFIG_CPU_CP15_MMU=y | ||
| 168 | |||
| 169 | # | ||
| 170 | # Processor Features | ||
| 171 | # | ||
| 172 | CONFIG_ARM_THUMB=y | ||
| 173 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
| 174 | # CONFIG_OUTER_CACHE is not set | ||
| 175 | CONFIG_IWMMXT=y | ||
| 176 | CONFIG_XSCALE_PMU=y | ||
| 177 | |||
| 178 | # | ||
| 179 | # Bus support | ||
| 180 | # | ||
| 181 | CONFIG_PCI=y | ||
| 182 | CONFIG_PCI_SYSCALL=y | ||
| 183 | CONFIG_PCI_HOST_ITE8152=y | ||
| 184 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
| 185 | # CONFIG_PCI_DEBUG is not set | ||
| 186 | |||
| 187 | # | ||
| 188 | # PCCARD (PCMCIA/CardBus) support | ||
| 189 | # | ||
| 190 | # CONFIG_PCCARD is not set | ||
| 191 | |||
| 192 | # | ||
| 193 | # Kernel Features | ||
| 194 | # | ||
| 195 | # CONFIG_TICK_ONESHOT is not set | ||
| 196 | # CONFIG_PREEMPT is not set | ||
| 197 | # CONFIG_NO_IDLE_HZ is not set | ||
| 198 | CONFIG_HZ=100 | ||
| 199 | # CONFIG_AEABI is not set | ||
| 200 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
| 201 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 202 | CONFIG_FLATMEM_MANUAL=y | ||
| 203 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 204 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 205 | CONFIG_FLATMEM=y | ||
| 206 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 207 | # CONFIG_SPARSEMEM_STATIC is not set | ||
| 208 | CONFIG_SPLIT_PTLOCK_CPUS=4096 | ||
| 209 | # CONFIG_RESOURCES_64BIT is not set | ||
| 210 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 211 | CONFIG_BOUNCE=y | ||
| 212 | CONFIG_VIRT_TO_BUS=y | ||
| 213 | CONFIG_ALIGNMENT_TRAP=y | ||
| 214 | |||
| 215 | # | ||
| 216 | # Boot options | ||
| 217 | # | ||
| 218 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
| 219 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
| 220 | CONFIG_CMDLINE="" | ||
| 221 | # CONFIG_XIP_KERNEL is not set | ||
| 222 | # CONFIG_KEXEC is not set | ||
| 223 | |||
| 224 | # | ||
| 225 | # Floating point emulation | ||
| 226 | # | ||
| 227 | |||
| 228 | # | ||
| 229 | # At least one emulation must be selected | ||
| 230 | # | ||
| 231 | CONFIG_FPE_NWFPE=y | ||
| 232 | # CONFIG_FPE_NWFPE_XP is not set | ||
| 233 | # CONFIG_FPE_FASTFPE is not set | ||
| 234 | |||
| 235 | # | ||
| 236 | # Userspace binary formats | ||
| 237 | # | ||
| 238 | CONFIG_BINFMT_ELF=y | ||
| 239 | # CONFIG_BINFMT_AOUT is not set | ||
| 240 | # CONFIG_BINFMT_MISC is not set | ||
| 241 | # CONFIG_ARTHUR is not set | ||
| 242 | |||
| 243 | # | ||
| 244 | # Power management options | ||
| 245 | # | ||
| 246 | CONFIG_PM=y | ||
| 247 | # CONFIG_PM_LEGACY is not set | ||
| 248 | # CONFIG_PM_DEBUG is not set | ||
| 249 | # CONFIG_PM_SYSFS_DEPRECATED is not set | ||
| 250 | # CONFIG_APM_EMULATION is not set | ||
| 251 | |||
| 252 | # | ||
| 253 | # Networking | ||
| 254 | # | ||
| 255 | CONFIG_NET=y | ||
| 256 | |||
| 257 | # | ||
| 258 | # Networking options | ||
| 259 | # | ||
| 260 | CONFIG_PACKET=y | ||
| 261 | # CONFIG_PACKET_MMAP is not set | ||
| 262 | CONFIG_UNIX=y | ||
| 263 | CONFIG_XFRM=y | ||
| 264 | # CONFIG_XFRM_USER is not set | ||
| 265 | # CONFIG_XFRM_SUB_POLICY is not set | ||
| 266 | # CONFIG_XFRM_MIGRATE is not set | ||
| 267 | # CONFIG_NET_KEY is not set | ||
| 268 | CONFIG_INET=y | ||
| 269 | # CONFIG_IP_MULTICAST is not set | ||
| 270 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
| 271 | CONFIG_IP_FIB_HASH=y | ||
| 272 | CONFIG_IP_PNP=y | ||
| 273 | CONFIG_IP_PNP_DHCP=y | ||
| 274 | CONFIG_IP_PNP_BOOTP=y | ||
| 275 | # CONFIG_IP_PNP_RARP is not set | ||
| 276 | # CONFIG_NET_IPIP is not set | ||
| 277 | # CONFIG_NET_IPGRE is not set | ||
| 278 | # CONFIG_ARPD is not set | ||
| 279 | # CONFIG_SYN_COOKIES is not set | ||
| 280 | # CONFIG_INET_AH is not set | ||
| 281 | # CONFIG_INET_ESP is not set | ||
| 282 | # CONFIG_INET_IPCOMP is not set | ||
| 283 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 284 | # CONFIG_INET_TUNNEL is not set | ||
| 285 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
| 286 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
| 287 | CONFIG_INET_XFRM_MODE_BEET=y | ||
| 288 | CONFIG_INET_DIAG=y | ||
| 289 | CONFIG_INET_TCP_DIAG=y | ||
| 290 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 291 | CONFIG_TCP_CONG_CUBIC=y | ||
| 292 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 293 | # CONFIG_TCP_MD5SIG is not set | ||
| 294 | # CONFIG_IPV6 is not set | ||
| 295 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
| 296 | # CONFIG_INET6_TUNNEL is not set | ||
| 297 | # CONFIG_NETWORK_SECMARK is not set | ||
| 298 | # CONFIG_NETFILTER is not set | ||
| 299 | # CONFIG_IP_DCCP is not set | ||
| 300 | # CONFIG_IP_SCTP is not set | ||
| 301 | # CONFIG_TIPC is not set | ||
| 302 | # CONFIG_ATM is not set | ||
| 303 | # CONFIG_BRIDGE is not set | ||
| 304 | # CONFIG_VLAN_8021Q is not set | ||
| 305 | # CONFIG_DECNET is not set | ||
| 306 | # CONFIG_LLC2 is not set | ||
| 307 | # CONFIG_IPX is not set | ||
| 308 | # CONFIG_ATALK is not set | ||
| 309 | # CONFIG_X25 is not set | ||
| 310 | # CONFIG_LAPB is not set | ||
| 311 | # CONFIG_ECONET is not set | ||
| 312 | # CONFIG_WAN_ROUTER is not set | ||
| 313 | |||
| 314 | # | ||
| 315 | # QoS and/or fair queueing | ||
| 316 | # | ||
| 317 | # CONFIG_NET_SCHED is not set | ||
| 318 | |||
| 319 | # | ||
| 320 | # Network testing | ||
| 321 | # | ||
| 322 | # CONFIG_NET_PKTGEN is not set | ||
| 323 | # CONFIG_HAMRADIO is not set | ||
| 324 | # CONFIG_IRDA is not set | ||
| 325 | # CONFIG_BT is not set | ||
| 326 | # CONFIG_AF_RXRPC is not set | ||
| 327 | |||
| 328 | # | ||
| 329 | # Wireless | ||
| 330 | # | ||
| 331 | # CONFIG_CFG80211 is not set | ||
| 332 | CONFIG_WIRELESS_EXT=y | ||
| 333 | # CONFIG_MAC80211 is not set | ||
| 334 | CONFIG_IEEE80211=m | ||
| 335 | # CONFIG_IEEE80211_DEBUG is not set | ||
| 336 | CONFIG_IEEE80211_CRYPT_WEP=m | ||
| 337 | CONFIG_IEEE80211_CRYPT_CCMP=m | ||
| 338 | # CONFIG_IEEE80211_CRYPT_TKIP is not set | ||
| 339 | # CONFIG_IEEE80211_SOFTMAC is not set | ||
| 340 | # CONFIG_RFKILL is not set | ||
| 341 | # CONFIG_NET_9P is not set | ||
| 342 | |||
| 343 | # | ||
| 344 | # Device Drivers | ||
| 345 | # | ||
| 346 | |||
| 347 | # | ||
| 348 | # Generic Driver Options | ||
| 349 | # | ||
| 350 | CONFIG_STANDALONE=y | ||
| 351 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 352 | CONFIG_FW_LOADER=y | ||
| 353 | # CONFIG_DEBUG_DRIVER is not set | ||
| 354 | # CONFIG_DEBUG_DEVRES is not set | ||
| 355 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 356 | # CONFIG_CONNECTOR is not set | ||
| 357 | CONFIG_MTD=m | ||
| 358 | # CONFIG_MTD_DEBUG is not set | ||
| 359 | # CONFIG_MTD_CONCAT is not set | ||
| 360 | CONFIG_MTD_PARTITIONS=y | ||
| 361 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 362 | # CONFIG_MTD_AFS_PARTS is not set | ||
| 363 | |||
| 364 | # | ||
| 365 | # User Modules And Translation Layers | ||
| 366 | # | ||
| 367 | CONFIG_MTD_CHAR=m | ||
| 368 | CONFIG_MTD_BLKDEVS=m | ||
| 369 | CONFIG_MTD_BLOCK=m | ||
| 370 | # CONFIG_MTD_BLOCK_RO is not set | ||
| 371 | # CONFIG_FTL is not set | ||
| 372 | # CONFIG_NFTL is not set | ||
| 373 | # CONFIG_INFTL is not set | ||
| 374 | # CONFIG_RFD_FTL is not set | ||
| 375 | # CONFIG_SSFDC is not set | ||
| 376 | |||
| 377 | # | ||
| 378 | # RAM/ROM/Flash chip drivers | ||
| 379 | # | ||
| 380 | # CONFIG_MTD_CFI is not set | ||
| 381 | # CONFIG_MTD_JEDECPROBE is not set | ||
| 382 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 383 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 384 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 385 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 386 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 387 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 388 | CONFIG_MTD_CFI_I1=y | ||
| 389 | CONFIG_MTD_CFI_I2=y | ||
| 390 | # CONFIG_MTD_CFI_I4 is not set | ||
| 391 | # CONFIG_MTD_CFI_I8 is not set | ||
| 392 | # CONFIG_MTD_RAM is not set | ||
| 393 | # CONFIG_MTD_ROM is not set | ||
| 394 | # CONFIG_MTD_ABSENT is not set | ||
| 395 | |||
| 396 | # | ||
| 397 | # Mapping drivers for chip access | ||
| 398 | # | ||
| 399 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
| 400 | # CONFIG_MTD_SHARP_SL is not set | ||
| 401 | # CONFIG_MTD_PLATRAM is not set | ||
| 402 | |||
| 403 | # | ||
| 404 | # Self-contained MTD device drivers | ||
| 405 | # | ||
| 406 | # CONFIG_MTD_PMC551 is not set | ||
| 407 | # CONFIG_MTD_SLRAM is not set | ||
| 408 | # CONFIG_MTD_PHRAM is not set | ||
| 409 | # CONFIG_MTD_MTDRAM is not set | ||
| 410 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 411 | |||
| 412 | # | ||
| 413 | # Disk-On-Chip Device Drivers | ||
| 414 | # | ||
| 415 | # CONFIG_MTD_DOC2000 is not set | ||
| 416 | # CONFIG_MTD_DOC2001 is not set | ||
| 417 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 418 | CONFIG_MTD_NAND=m | ||
| 419 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
| 420 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
| 421 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
| 422 | # CONFIG_MTD_NAND_H1900 is not set | ||
| 423 | CONFIG_MTD_NAND_IDS=m | ||
| 424 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
| 425 | # CONFIG_MTD_NAND_SHARPSL is not set | ||
| 426 | # CONFIG_MTD_NAND_CAFE is not set | ||
| 427 | CONFIG_MTD_NAND_CM_X270=m | ||
| 428 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
| 429 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
| 430 | # CONFIG_MTD_ONENAND is not set | ||
| 431 | |||
| 432 | # | ||
| 433 | # UBI - Unsorted block images | ||
| 434 | # | ||
| 435 | # CONFIG_MTD_UBI is not set | ||
| 436 | # CONFIG_PARPORT is not set | ||
| 437 | CONFIG_BLK_DEV=y | ||
| 438 | # CONFIG_BLK_CPQ_DA is not set | ||
| 439 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
| 440 | # CONFIG_BLK_DEV_DAC960 is not set | ||
| 441 | # CONFIG_BLK_DEV_UMEM is not set | ||
| 442 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 443 | CONFIG_BLK_DEV_LOOP=y | ||
| 444 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
| 445 | # CONFIG_BLK_DEV_NBD is not set | ||
| 446 | # CONFIG_BLK_DEV_SX8 is not set | ||
| 447 | # CONFIG_BLK_DEV_UB is not set | ||
| 448 | CONFIG_BLK_DEV_RAM=y | ||
| 449 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
| 450 | CONFIG_BLK_DEV_RAM_SIZE=12000 | ||
| 451 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
| 452 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 453 | # CONFIG_ATA_OVER_ETH is not set | ||
| 454 | CONFIG_IDE=m | ||
| 455 | CONFIG_IDE_MAX_HWIFS=4 | ||
| 456 | CONFIG_BLK_DEV_IDE=m | ||
| 457 | |||
| 458 | # | ||
| 459 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
| 460 | # | ||
| 461 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
| 462 | CONFIG_BLK_DEV_IDEDISK=m | ||
| 463 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
| 464 | CONFIG_BLK_DEV_IDECD=m | ||
| 465 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
| 466 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
| 467 | # CONFIG_BLK_DEV_IDESCSI is not set | ||
| 468 | # CONFIG_IDE_TASK_IOCTL is not set | ||
| 469 | CONFIG_IDE_PROC_FS=y | ||
| 470 | |||
| 471 | # | ||
| 472 | # IDE chipset support/bugfixes | ||
| 473 | # | ||
| 474 | # CONFIG_IDE_GENERIC is not set | ||
| 475 | # CONFIG_BLK_DEV_IDEPCI is not set | ||
| 476 | # CONFIG_IDEPCI_PCIBUS_ORDER is not set | ||
| 477 | # CONFIG_IDE_ARM is not set | ||
| 478 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
| 479 | # CONFIG_BLK_DEV_HD is not set | ||
| 480 | |||
| 481 | # | ||
| 482 | # SCSI device support | ||
| 483 | # | ||
| 484 | # CONFIG_RAID_ATTRS is not set | ||
| 485 | CONFIG_SCSI=y | ||
| 486 | CONFIG_SCSI_DMA=y | ||
| 487 | # CONFIG_SCSI_TGT is not set | ||
| 488 | # CONFIG_SCSI_NETLINK is not set | ||
| 489 | # CONFIG_SCSI_PROC_FS is not set | ||
| 490 | |||
| 491 | # | ||
| 492 | # SCSI support type (disk, tape, CD-ROM) | ||
| 493 | # | ||
| 494 | CONFIG_BLK_DEV_SD=y | ||
| 495 | # CONFIG_CHR_DEV_ST is not set | ||
| 496 | # CONFIG_CHR_DEV_OSST is not set | ||
| 497 | # CONFIG_BLK_DEV_SR is not set | ||
| 498 | # CONFIG_CHR_DEV_SG is not set | ||
| 499 | # CONFIG_CHR_DEV_SCH is not set | ||
| 500 | |||
| 501 | # | ||
| 502 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
| 503 | # | ||
| 504 | # CONFIG_SCSI_MULTI_LUN is not set | ||
| 505 | # CONFIG_SCSI_CONSTANTS is not set | ||
| 506 | # CONFIG_SCSI_LOGGING is not set | ||
| 507 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
| 508 | CONFIG_SCSI_WAIT_SCAN=m | ||
| 509 | |||
| 510 | # | ||
| 511 | # SCSI Transports | ||
| 512 | # | ||
| 513 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
| 514 | # CONFIG_SCSI_FC_ATTRS is not set | ||
| 515 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
| 516 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
| 517 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
| 518 | |||
| 519 | # | ||
| 520 | # SCSI low-level drivers | ||
| 521 | # | ||
| 522 | # CONFIG_ISCSI_TCP is not set | ||
| 523 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
| 524 | # CONFIG_SCSI_3W_9XXX is not set | ||
| 525 | # CONFIG_SCSI_ACARD is not set | ||
| 526 | # CONFIG_SCSI_AACRAID is not set | ||
| 527 | # CONFIG_SCSI_AIC7XXX is not set | ||
| 528 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
| 529 | # CONFIG_SCSI_AIC79XX is not set | ||
| 530 | # CONFIG_SCSI_AIC94XX is not set | ||
| 531 | # CONFIG_SCSI_DPT_I2O is not set | ||
| 532 | # CONFIG_SCSI_ARCMSR is not set | ||
| 533 | # CONFIG_MEGARAID_NEWGEN is not set | ||
| 534 | # CONFIG_MEGARAID_LEGACY is not set | ||
| 535 | # CONFIG_MEGARAID_SAS is not set | ||
| 536 | # CONFIG_SCSI_HPTIOP is not set | ||
| 537 | # CONFIG_SCSI_DMX3191D is not set | ||
| 538 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
| 539 | # CONFIG_SCSI_IPS is not set | ||
| 540 | # CONFIG_SCSI_INITIO is not set | ||
| 541 | # CONFIG_SCSI_INIA100 is not set | ||
| 542 | # CONFIG_SCSI_STEX is not set | ||
| 543 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
| 544 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
| 545 | # CONFIG_SCSI_QLA_FC is not set | ||
| 546 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
| 547 | # CONFIG_SCSI_LPFC is not set | ||
| 548 | # CONFIG_SCSI_DC395x is not set | ||
| 549 | # CONFIG_SCSI_DC390T is not set | ||
| 550 | # CONFIG_SCSI_NSP32 is not set | ||
| 551 | # CONFIG_SCSI_DEBUG is not set | ||
| 552 | # CONFIG_SCSI_SRP is not set | ||
| 553 | # CONFIG_ATA is not set | ||
| 554 | # CONFIG_MD is not set | ||
| 555 | |||
| 556 | # | ||
| 557 | # Fusion MPT device support | ||
| 558 | # | ||
| 559 | # CONFIG_FUSION is not set | ||
| 560 | # CONFIG_FUSION_SPI is not set | ||
| 561 | # CONFIG_FUSION_FC is not set | ||
| 562 | # CONFIG_FUSION_SAS is not set | ||
| 563 | |||
| 564 | # | ||
| 565 | # IEEE 1394 (FireWire) support | ||
| 566 | # | ||
| 567 | # CONFIG_FIREWIRE is not set | ||
| 568 | # CONFIG_IEEE1394 is not set | ||
| 569 | # CONFIG_I2O is not set | ||
| 570 | CONFIG_NETDEVICES=y | ||
| 571 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 572 | # CONFIG_DUMMY is not set | ||
| 573 | # CONFIG_BONDING is not set | ||
| 574 | # CONFIG_MACVLAN is not set | ||
| 575 | # CONFIG_EQUALIZER is not set | ||
| 576 | # CONFIG_TUN is not set | ||
| 577 | # CONFIG_ARCNET is not set | ||
| 578 | # CONFIG_PHYLIB is not set | ||
| 579 | CONFIG_NET_ETHERNET=y | ||
| 580 | CONFIG_MII=y | ||
| 581 | # CONFIG_AX88796 is not set | ||
| 582 | # CONFIG_HAPPYMEAL is not set | ||
| 583 | # CONFIG_SUNGEM is not set | ||
| 584 | # CONFIG_CASSINI is not set | ||
| 585 | # CONFIG_NET_VENDOR_3COM is not set | ||
| 586 | # CONFIG_SMC91X is not set | ||
| 587 | CONFIG_DM9000=y | ||
| 588 | # CONFIG_SMC911X is not set | ||
| 589 | # CONFIG_NET_TULIP is not set | ||
| 590 | # CONFIG_HP100 is not set | ||
| 591 | CONFIG_NET_PCI=y | ||
| 592 | # CONFIG_PCNET32 is not set | ||
| 593 | # CONFIG_AMD8111_ETH is not set | ||
| 594 | # CONFIG_ADAPTEC_STARFIRE is not set | ||
| 595 | # CONFIG_B44 is not set | ||
| 596 | # CONFIG_FORCEDETH is not set | ||
| 597 | # CONFIG_DGRS is not set | ||
| 598 | # CONFIG_EEPRO100 is not set | ||
| 599 | # CONFIG_E100 is not set | ||
| 600 | # CONFIG_FEALNX is not set | ||
| 601 | # CONFIG_NATSEMI is not set | ||
| 602 | # CONFIG_NE2K_PCI is not set | ||
| 603 | # CONFIG_8139CP is not set | ||
| 604 | CONFIG_8139TOO=m | ||
| 605 | # CONFIG_8139TOO_PIO is not set | ||
| 606 | # CONFIG_8139TOO_TUNE_TWISTER is not set | ||
| 607 | # CONFIG_8139TOO_8129 is not set | ||
| 608 | # CONFIG_8139_OLD_RX_RESET is not set | ||
| 609 | # CONFIG_SIS900 is not set | ||
| 610 | # CONFIG_EPIC100 is not set | ||
| 611 | # CONFIG_SUNDANCE is not set | ||
| 612 | # CONFIG_TLAN is not set | ||
| 613 | # CONFIG_VIA_RHINE is not set | ||
| 614 | # CONFIG_SC92031 is not set | ||
| 615 | CONFIG_NETDEV_1000=y | ||
| 616 | # CONFIG_ACENIC is not set | ||
| 617 | # CONFIG_DL2K is not set | ||
| 618 | # CONFIG_E1000 is not set | ||
| 619 | # CONFIG_NS83820 is not set | ||
| 620 | # CONFIG_HAMACHI is not set | ||
| 621 | # CONFIG_YELLOWFIN is not set | ||
| 622 | # CONFIG_R8169 is not set | ||
| 623 | # CONFIG_SIS190 is not set | ||
| 624 | # CONFIG_SKGE is not set | ||
| 625 | # CONFIG_SKY2 is not set | ||
| 626 | # CONFIG_VIA_VELOCITY is not set | ||
| 627 | # CONFIG_TIGON3 is not set | ||
| 628 | # CONFIG_BNX2 is not set | ||
| 629 | # CONFIG_QLA3XXX is not set | ||
| 630 | # CONFIG_ATL1 is not set | ||
| 631 | CONFIG_NETDEV_10000=y | ||
| 632 | # CONFIG_CHELSIO_T1 is not set | ||
| 633 | # CONFIG_CHELSIO_T3 is not set | ||
| 634 | # CONFIG_IXGB is not set | ||
| 635 | # CONFIG_S2IO is not set | ||
| 636 | # CONFIG_MYRI10GE is not set | ||
| 637 | # CONFIG_NETXEN_NIC is not set | ||
| 638 | # CONFIG_MLX4_CORE is not set | ||
| 639 | # CONFIG_TR is not set | ||
| 640 | |||
| 641 | # | ||
| 642 | # Wireless LAN | ||
| 643 | # | ||
| 644 | # CONFIG_WLAN_PRE80211 is not set | ||
| 645 | # CONFIG_WLAN_80211 is not set | ||
| 646 | |||
| 647 | # | ||
| 648 | # USB Network Adapters | ||
| 649 | # | ||
| 650 | # CONFIG_USB_CATC is not set | ||
| 651 | # CONFIG_USB_KAWETH is not set | ||
| 652 | # CONFIG_USB_PEGASUS is not set | ||
| 653 | # CONFIG_USB_RTL8150 is not set | ||
| 654 | # CONFIG_USB_USBNET_MII is not set | ||
| 655 | # CONFIG_USB_USBNET is not set | ||
| 656 | # CONFIG_WAN is not set | ||
| 657 | # CONFIG_FDDI is not set | ||
| 658 | # CONFIG_HIPPI is not set | ||
| 659 | # CONFIG_PPP is not set | ||
| 660 | # CONFIG_SLIP is not set | ||
| 661 | # CONFIG_NET_FC is not set | ||
| 662 | # CONFIG_SHAPER is not set | ||
| 663 | # CONFIG_NETCONSOLE is not set | ||
| 664 | # CONFIG_NETPOLL is not set | ||
| 665 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 666 | # CONFIG_ISDN is not set | ||
| 667 | |||
| 668 | # | ||
| 669 | # Input device support | ||
| 670 | # | ||
| 671 | CONFIG_INPUT=y | ||
| 672 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
| 673 | # CONFIG_INPUT_POLLDEV is not set | ||
| 674 | |||
| 675 | # | ||
| 676 | # Userland interfaces | ||
| 677 | # | ||
| 678 | # CONFIG_INPUT_MOUSEDEV is not set | ||
| 679 | # CONFIG_INPUT_JOYDEV is not set | ||
| 680 | # CONFIG_INPUT_TSDEV is not set | ||
| 681 | CONFIG_INPUT_EVDEV=y | ||
| 682 | # CONFIG_INPUT_EVBUG is not set | ||
| 683 | |||
| 684 | # | ||
| 685 | # Input Device Drivers | ||
| 686 | # | ||
| 687 | # CONFIG_INPUT_KEYBOARD is not set | ||
| 688 | # CONFIG_INPUT_MOUSE is not set | ||
| 689 | # CONFIG_INPUT_JOYSTICK is not set | ||
| 690 | # CONFIG_INPUT_TABLET is not set | ||
| 691 | CONFIG_INPUT_TOUCHSCREEN=y | ||
| 692 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
| 693 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
| 694 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
| 695 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
| 696 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
| 697 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
| 698 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
| 699 | CONFIG_TOUCHSCREEN_UCB1400=m | ||
| 700 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
| 701 | # CONFIG_INPUT_MISC is not set | ||
| 702 | |||
| 703 | # | ||
| 704 | # Hardware I/O ports | ||
| 705 | # | ||
| 706 | # CONFIG_SERIO is not set | ||
| 707 | # CONFIG_GAMEPORT is not set | ||
| 708 | |||
| 709 | # | ||
| 710 | # Character devices | ||
| 711 | # | ||
| 712 | CONFIG_VT=y | ||
| 713 | CONFIG_VT_CONSOLE=y | ||
| 714 | CONFIG_HW_CONSOLE=y | ||
| 715 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
| 716 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 717 | |||
| 718 | # | ||
| 719 | # Serial drivers | ||
| 720 | # | ||
| 721 | # CONFIG_SERIAL_8250 is not set | ||
| 722 | |||
| 723 | # | ||
| 724 | # Non-8250 serial port support | ||
| 725 | # | ||
| 726 | CONFIG_SERIAL_PXA=y | ||
| 727 | CONFIG_SERIAL_PXA_CONSOLE=y | ||
| 728 | CONFIG_SERIAL_CORE=y | ||
| 729 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 730 | # CONFIG_SERIAL_JSM is not set | ||
| 731 | CONFIG_UNIX98_PTYS=y | ||
| 732 | CONFIG_LEGACY_PTYS=y | ||
| 733 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 734 | # CONFIG_IPMI_HANDLER is not set | ||
| 735 | # CONFIG_WATCHDOG is not set | ||
| 736 | CONFIG_HW_RANDOM=m | ||
| 737 | # CONFIG_NVRAM is not set | ||
| 738 | # CONFIG_R3964 is not set | ||
| 739 | # CONFIG_APPLICOM is not set | ||
| 740 | # CONFIG_DRM is not set | ||
| 741 | # CONFIG_RAW_DRIVER is not set | ||
| 742 | # CONFIG_TCG_TPM is not set | ||
| 743 | CONFIG_DEVPORT=y | ||
| 744 | # CONFIG_I2C is not set | ||
| 745 | |||
| 746 | # | ||
| 747 | # SPI support | ||
| 748 | # | ||
| 749 | # CONFIG_SPI is not set | ||
| 750 | # CONFIG_SPI_MASTER is not set | ||
| 751 | # CONFIG_W1 is not set | ||
| 752 | # CONFIG_HWMON is not set | ||
| 753 | CONFIG_MISC_DEVICES=y | ||
| 754 | # CONFIG_PHANTOM is not set | ||
| 755 | # CONFIG_EEPROM_93CX6 is not set | ||
| 756 | # CONFIG_SGI_IOC4 is not set | ||
| 757 | # CONFIG_TIFM_CORE is not set | ||
| 758 | |||
| 759 | # | ||
| 760 | # Multifunction device drivers | ||
| 761 | # | ||
| 762 | # CONFIG_MFD_SM501 is not set | ||
| 763 | |||
| 764 | # | ||
| 765 | # LED devices | ||
| 766 | # | ||
| 767 | CONFIG_NEW_LEDS=y | ||
| 768 | CONFIG_LEDS_CLASS=y | ||
| 769 | |||
| 770 | # | ||
| 771 | # LED drivers | ||
| 772 | # | ||
| 773 | CONFIG_LEDS_CM_X270=y | ||
| 774 | |||
| 775 | # | ||
| 776 | # LED Triggers | ||
| 777 | # | ||
| 778 | CONFIG_LEDS_TRIGGERS=y | ||
| 779 | # CONFIG_LEDS_TRIGGER_TIMER is not set | ||
| 780 | # CONFIG_LEDS_TRIGGER_IDE_DISK is not set | ||
| 781 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| 782 | |||
| 783 | # | ||
| 784 | # Multimedia devices | ||
| 785 | # | ||
| 786 | # CONFIG_VIDEO_DEV is not set | ||
| 787 | # CONFIG_DVB_CORE is not set | ||
| 788 | CONFIG_DAB=y | ||
| 789 | # CONFIG_USB_DABUSB is not set | ||
| 790 | |||
| 791 | # | ||
| 792 | # Graphics support | ||
| 793 | # | ||
| 794 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 795 | |||
| 796 | # | ||
| 797 | # Display device support | ||
| 798 | # | ||
| 799 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 800 | # CONFIG_VGASTATE is not set | ||
| 801 | CONFIG_FB=y | ||
| 802 | # CONFIG_FIRMWARE_EDID is not set | ||
| 803 | # CONFIG_FB_DDC is not set | ||
| 804 | CONFIG_FB_CFB_FILLRECT=y | ||
| 805 | CONFIG_FB_CFB_COPYAREA=y | ||
| 806 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
| 807 | # CONFIG_FB_SYS_FILLRECT is not set | ||
| 808 | # CONFIG_FB_SYS_COPYAREA is not set | ||
| 809 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
| 810 | # CONFIG_FB_SYS_FOPS is not set | ||
| 811 | CONFIG_FB_DEFERRED_IO=y | ||
| 812 | # CONFIG_FB_SVGALIB is not set | ||
| 813 | # CONFIG_FB_MACMODES is not set | ||
| 814 | # CONFIG_FB_BACKLIGHT is not set | ||
| 815 | # CONFIG_FB_MODE_HELPERS is not set | ||
| 816 | # CONFIG_FB_TILEBLITTING is not set | ||
| 817 | |||
| 818 | # | ||
| 819 | # Frame buffer hardware drivers | ||
| 820 | # | ||
| 821 | # CONFIG_FB_CIRRUS is not set | ||
| 822 | # CONFIG_FB_PM2 is not set | ||
| 823 | # CONFIG_FB_CYBER2000 is not set | ||
| 824 | # CONFIG_FB_ASILIANT is not set | ||
| 825 | # CONFIG_FB_IMSTT is not set | ||
| 826 | # CONFIG_FB_S1D13XXX is not set | ||
| 827 | # CONFIG_FB_NVIDIA is not set | ||
| 828 | # CONFIG_FB_RIVA is not set | ||
| 829 | # CONFIG_FB_MATROX is not set | ||
| 830 | # CONFIG_FB_RADEON is not set | ||
| 831 | # CONFIG_FB_ATY128 is not set | ||
| 832 | # CONFIG_FB_ATY is not set | ||
| 833 | # CONFIG_FB_S3 is not set | ||
| 834 | # CONFIG_FB_SAVAGE is not set | ||
| 835 | # CONFIG_FB_SIS is not set | ||
| 836 | # CONFIG_FB_NEOMAGIC is not set | ||
| 837 | # CONFIG_FB_KYRO is not set | ||
| 838 | # CONFIG_FB_3DFX is not set | ||
| 839 | # CONFIG_FB_VOODOO1 is not set | ||
| 840 | # CONFIG_FB_VT8623 is not set | ||
| 841 | # CONFIG_FB_TRIDENT is not set | ||
| 842 | # CONFIG_FB_ARK is not set | ||
| 843 | # CONFIG_FB_PM3 is not set | ||
| 844 | CONFIG_FB_PXA=y | ||
| 845 | # CONFIG_FB_PXA_PARAMETERS is not set | ||
| 846 | CONFIG_FB_MBX=m | ||
| 847 | # CONFIG_FB_VIRTUAL is not set | ||
| 848 | |||
| 849 | # | ||
| 850 | # Console display driver support | ||
| 851 | # | ||
| 852 | # CONFIG_VGA_CONSOLE is not set | ||
| 853 | CONFIG_DUMMY_CONSOLE=y | ||
| 854 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
| 855 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
| 856 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
| 857 | # CONFIG_FONTS is not set | ||
| 858 | CONFIG_FONT_8x8=y | ||
| 859 | CONFIG_FONT_8x16=y | ||
| 860 | CONFIG_LOGO=y | ||
| 861 | CONFIG_LOGO_LINUX_MONO=y | ||
| 862 | CONFIG_LOGO_LINUX_VGA16=y | ||
| 863 | CONFIG_LOGO_LINUX_CLUT224=y | ||
| 864 | |||
| 865 | # | ||
| 866 | # Sound | ||
| 867 | # | ||
| 868 | CONFIG_SOUND=m | ||
| 869 | |||
| 870 | # | ||
| 871 | # Advanced Linux Sound Architecture | ||
| 872 | # | ||
| 873 | CONFIG_SND=m | ||
| 874 | CONFIG_SND_TIMER=m | ||
| 875 | CONFIG_SND_PCM=m | ||
| 876 | # CONFIG_SND_SEQUENCER is not set | ||
| 877 | CONFIG_SND_OSSEMUL=y | ||
| 878 | CONFIG_SND_MIXER_OSS=m | ||
| 879 | CONFIG_SND_PCM_OSS=m | ||
| 880 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
| 881 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
| 882 | CONFIG_SND_SUPPORT_OLD_API=y | ||
| 883 | CONFIG_SND_VERBOSE_PROCFS=y | ||
| 884 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
| 885 | # CONFIG_SND_DEBUG is not set | ||
| 886 | |||
| 887 | # | ||
| 888 | # Generic devices | ||
| 889 | # | ||
| 890 | CONFIG_SND_AC97_CODEC=m | ||
| 891 | # CONFIG_SND_DUMMY is not set | ||
| 892 | # CONFIG_SND_MTPAV is not set | ||
| 893 | # CONFIG_SND_SERIAL_U16550 is not set | ||
| 894 | # CONFIG_SND_MPU401 is not set | ||
| 895 | |||
| 896 | # | ||
| 897 | # PCI devices | ||
| 898 | # | ||
| 899 | # CONFIG_SND_AD1889 is not set | ||
| 900 | # CONFIG_SND_ALS300 is not set | ||
| 901 | # CONFIG_SND_ALI5451 is not set | ||
| 902 | # CONFIG_SND_ATIIXP is not set | ||
| 903 | # CONFIG_SND_ATIIXP_MODEM is not set | ||
| 904 | # CONFIG_SND_AU8810 is not set | ||
| 905 | # CONFIG_SND_AU8820 is not set | ||
| 906 | # CONFIG_SND_AU8830 is not set | ||
| 907 | # CONFIG_SND_AZT3328 is not set | ||
| 908 | # CONFIG_SND_BT87X is not set | ||
| 909 | # CONFIG_SND_CA0106 is not set | ||
| 910 | # CONFIG_SND_CMIPCI is not set | ||
| 911 | # CONFIG_SND_CS4281 is not set | ||
| 912 | # CONFIG_SND_CS46XX is not set | ||
| 913 | # CONFIG_SND_DARLA20 is not set | ||
| 914 | # CONFIG_SND_GINA20 is not set | ||
| 915 | # CONFIG_SND_LAYLA20 is not set | ||
| 916 | # CONFIG_SND_DARLA24 is not set | ||
| 917 | # CONFIG_SND_GINA24 is not set | ||
| 918 | # CONFIG_SND_LAYLA24 is not set | ||
| 919 | # CONFIG_SND_MONA is not set | ||
| 920 | # CONFIG_SND_MIA is not set | ||
| 921 | # CONFIG_SND_ECHO3G is not set | ||
| 922 | # CONFIG_SND_INDIGO is not set | ||
| 923 | # CONFIG_SND_INDIGOIO is not set | ||
| 924 | # CONFIG_SND_INDIGODJ is not set | ||
| 925 | # CONFIG_SND_EMU10K1 is not set | ||
| 926 | # CONFIG_SND_EMU10K1X is not set | ||
| 927 | # CONFIG_SND_ENS1370 is not set | ||
| 928 | # CONFIG_SND_ENS1371 is not set | ||
| 929 | # CONFIG_SND_ES1938 is not set | ||
| 930 | # CONFIG_SND_ES1968 is not set | ||
| 931 | # CONFIG_SND_FM801 is not set | ||
| 932 | # CONFIG_SND_HDA_INTEL is not set | ||
| 933 | # CONFIG_SND_HDSP is not set | ||
| 934 | # CONFIG_SND_HDSPM is not set | ||
| 935 | # CONFIG_SND_ICE1712 is not set | ||
| 936 | # CONFIG_SND_ICE1724 is not set | ||
| 937 | # CONFIG_SND_INTEL8X0 is not set | ||
| 938 | # CONFIG_SND_INTEL8X0M is not set | ||
| 939 | # CONFIG_SND_KORG1212 is not set | ||
| 940 | # CONFIG_SND_MAESTRO3 is not set | ||
| 941 | # CONFIG_SND_MIXART is not set | ||
| 942 | # CONFIG_SND_NM256 is not set | ||
| 943 | # CONFIG_SND_PCXHR is not set | ||
| 944 | # CONFIG_SND_RIPTIDE is not set | ||
| 945 | # CONFIG_SND_RME32 is not set | ||
| 946 | # CONFIG_SND_RME96 is not set | ||
| 947 | # CONFIG_SND_RME9652 is not set | ||
| 948 | # CONFIG_SND_SONICVIBES is not set | ||
| 949 | # CONFIG_SND_TRIDENT is not set | ||
| 950 | # CONFIG_SND_VIA82XX is not set | ||
| 951 | # CONFIG_SND_VIA82XX_MODEM is not set | ||
| 952 | # CONFIG_SND_VX222 is not set | ||
| 953 | # CONFIG_SND_YMFPCI is not set | ||
| 954 | # CONFIG_SND_AC97_POWER_SAVE is not set | ||
| 955 | |||
| 956 | # | ||
| 957 | # ALSA ARM devices | ||
| 958 | # | ||
| 959 | CONFIG_SND_PXA2XX_PCM=m | ||
| 960 | CONFIG_SND_PXA2XX_AC97=m | ||
| 961 | |||
| 962 | # | ||
| 963 | # USB devices | ||
| 964 | # | ||
| 965 | # CONFIG_SND_USB_AUDIO is not set | ||
| 966 | # CONFIG_SND_USB_CAIAQ is not set | ||
| 967 | |||
| 968 | # | ||
| 969 | # System on Chip audio support | ||
| 970 | # | ||
| 971 | # CONFIG_SND_SOC is not set | ||
| 972 | |||
| 973 | # | ||
| 974 | # Open Sound System | ||
| 975 | # | ||
| 976 | # CONFIG_SOUND_PRIME is not set | ||
| 977 | CONFIG_AC97_BUS=m | ||
| 978 | CONFIG_HID_SUPPORT=y | ||
| 979 | CONFIG_HID=y | ||
| 980 | # CONFIG_HID_DEBUG is not set | ||
| 981 | |||
| 982 | # | ||
| 983 | # USB Input Devices | ||
| 984 | # | ||
| 985 | CONFIG_USB_HID=y | ||
| 986 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
| 987 | # CONFIG_HID_FF is not set | ||
| 988 | # CONFIG_USB_HIDDEV is not set | ||
| 989 | CONFIG_USB_SUPPORT=y | ||
| 990 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 991 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 992 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 993 | CONFIG_USB=y | ||
| 994 | # CONFIG_USB_DEBUG is not set | ||
| 995 | |||
| 996 | # | ||
| 997 | # Miscellaneous USB options | ||
| 998 | # | ||
| 999 | CONFIG_USB_DEVICEFS=y | ||
| 1000 | # CONFIG_USB_DEVICE_CLASS is not set | ||
| 1001 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
| 1002 | # CONFIG_USB_SUSPEND is not set | ||
| 1003 | # CONFIG_USB_PERSIST is not set | ||
| 1004 | # CONFIG_USB_OTG is not set | ||
| 1005 | |||
| 1006 | # | ||
| 1007 | # USB Host Controller Drivers | ||
| 1008 | # | ||
| 1009 | # CONFIG_USB_EHCI_HCD is not set | ||
| 1010 | # CONFIG_USB_ISP116X_HCD is not set | ||
| 1011 | CONFIG_USB_OHCI_HCD=y | ||
| 1012 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
| 1013 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
| 1014 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
| 1015 | # CONFIG_USB_UHCI_HCD is not set | ||
| 1016 | # CONFIG_USB_SL811_HCD is not set | ||
| 1017 | # CONFIG_USB_R8A66597_HCD is not set | ||
| 1018 | |||
| 1019 | # | ||
| 1020 | # USB Device Class drivers | ||
| 1021 | # | ||
| 1022 | # CONFIG_USB_ACM is not set | ||
| 1023 | # CONFIG_USB_PRINTER is not set | ||
| 1024 | |||
| 1025 | # | ||
| 1026 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 1027 | # | ||
| 1028 | |||
| 1029 | # | ||
| 1030 | # may also be needed; see USB_STORAGE Help for more information | ||
| 1031 | # | ||
| 1032 | CONFIG_USB_STORAGE=y | ||
| 1033 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
| 1034 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
| 1035 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
| 1036 | # CONFIG_USB_STORAGE_DPCM is not set | ||
| 1037 | # CONFIG_USB_STORAGE_USBAT is not set | ||
| 1038 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
| 1039 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
| 1040 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
| 1041 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
| 1042 | # CONFIG_USB_STORAGE_KARMA is not set | ||
| 1043 | # CONFIG_USB_LIBUSUAL is not set | ||
| 1044 | |||
| 1045 | # | ||
| 1046 | # USB Imaging devices | ||
| 1047 | # | ||
| 1048 | # CONFIG_USB_MDC800 is not set | ||
| 1049 | # CONFIG_USB_MICROTEK is not set | ||
| 1050 | CONFIG_USB_MON=y | ||
| 1051 | |||
| 1052 | # | ||
| 1053 | # USB port drivers | ||
| 1054 | # | ||
| 1055 | |||
| 1056 | # | ||
| 1057 | # USB Serial Converter support | ||
| 1058 | # | ||
| 1059 | # CONFIG_USB_SERIAL is not set | ||
| 1060 | |||
| 1061 | # | ||
| 1062 | # USB Miscellaneous drivers | ||
| 1063 | # | ||
| 1064 | # CONFIG_USB_EMI62 is not set | ||
| 1065 | # CONFIG_USB_EMI26 is not set | ||
| 1066 | # CONFIG_USB_ADUTUX is not set | ||
| 1067 | # CONFIG_USB_AUERSWALD is not set | ||
| 1068 | # CONFIG_USB_RIO500 is not set | ||
| 1069 | # CONFIG_USB_LEGOTOWER is not set | ||
| 1070 | # CONFIG_USB_LCD is not set | ||
| 1071 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 1072 | # CONFIG_USB_LED is not set | ||
| 1073 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
| 1074 | # CONFIG_USB_CYTHERM is not set | ||
| 1075 | # CONFIG_USB_PHIDGET is not set | ||
| 1076 | # CONFIG_USB_IDMOUSE is not set | ||
| 1077 | # CONFIG_USB_FTDI_ELAN is not set | ||
| 1078 | # CONFIG_USB_APPLEDISPLAY is not set | ||
| 1079 | # CONFIG_USB_LD is not set | ||
| 1080 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
| 1081 | # CONFIG_USB_IOWARRIOR is not set | ||
| 1082 | # CONFIG_USB_TEST is not set | ||
| 1083 | |||
| 1084 | # | ||
| 1085 | # USB DSL modem support | ||
| 1086 | # | ||
| 1087 | |||
| 1088 | # | ||
| 1089 | # USB Gadget Support | ||
| 1090 | # | ||
| 1091 | # CONFIG_USB_GADGET is not set | ||
| 1092 | CONFIG_MMC=m | ||
| 1093 | # CONFIG_MMC_DEBUG is not set | ||
| 1094 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
| 1095 | |||
| 1096 | # | ||
| 1097 | # MMC/SD Card Drivers | ||
| 1098 | # | ||
| 1099 | CONFIG_MMC_BLOCK=m | ||
| 1100 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
| 1101 | |||
| 1102 | # | ||
| 1103 | # MMC/SD Host Controller Drivers | ||
| 1104 | # | ||
| 1105 | CONFIG_MMC_PXA=m | ||
| 1106 | # CONFIG_MMC_SDHCI is not set | ||
| 1107 | # CONFIG_MMC_TIFM_SD is not set | ||
| 1108 | |||
| 1109 | # | ||
| 1110 | # Real Time Clock | ||
| 1111 | # | ||
| 1112 | CONFIG_RTC_LIB=y | ||
| 1113 | CONFIG_RTC_CLASS=y | ||
| 1114 | CONFIG_RTC_HCTOSYS=y | ||
| 1115 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
| 1116 | # CONFIG_RTC_DEBUG is not set | ||
| 1117 | |||
| 1118 | # | ||
| 1119 | # RTC interfaces | ||
| 1120 | # | ||
| 1121 | CONFIG_RTC_INTF_SYSFS=y | ||
| 1122 | CONFIG_RTC_INTF_PROC=y | ||
| 1123 | CONFIG_RTC_INTF_DEV=y | ||
| 1124 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 1125 | # CONFIG_RTC_DRV_TEST is not set | ||
| 1126 | |||
| 1127 | # | ||
| 1128 | # Platform RTC drivers | ||
| 1129 | # | ||
| 1130 | # CONFIG_RTC_DRV_CMOS is not set | ||
| 1131 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 1132 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 1133 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 1134 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1135 | CONFIG_RTC_DRV_V3020=y | ||
| 1136 | |||
| 1137 | # | ||
| 1138 | # on-CPU RTC drivers | ||
| 1139 | # | ||
| 1140 | CONFIG_RTC_DRV_SA1100=y | ||
| 1141 | |||
| 1142 | # | ||
| 1143 | # DMA Engine support | ||
| 1144 | # | ||
| 1145 | # CONFIG_DMA_ENGINE is not set | ||
| 1146 | |||
| 1147 | # | ||
| 1148 | # DMA Clients | ||
| 1149 | # | ||
| 1150 | |||
| 1151 | # | ||
| 1152 | # DMA Devices | ||
| 1153 | # | ||
| 1154 | |||
| 1155 | # | ||
| 1156 | # File systems | ||
| 1157 | # | ||
| 1158 | CONFIG_EXT2_FS=y | ||
| 1159 | # CONFIG_EXT2_FS_XATTR is not set | ||
| 1160 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1161 | CONFIG_EXT3_FS=y | ||
| 1162 | CONFIG_EXT3_FS_XATTR=y | ||
| 1163 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1164 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1165 | # CONFIG_EXT4DEV_FS is not set | ||
| 1166 | CONFIG_JBD=y | ||
| 1167 | # CONFIG_JBD_DEBUG is not set | ||
| 1168 | CONFIG_FS_MBCACHE=y | ||
| 1169 | # CONFIG_REISERFS_FS is not set | ||
| 1170 | # CONFIG_JFS_FS is not set | ||
| 1171 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1172 | # CONFIG_XFS_FS is not set | ||
| 1173 | # CONFIG_GFS2_FS is not set | ||
| 1174 | # CONFIG_OCFS2_FS is not set | ||
| 1175 | # CONFIG_MINIX_FS is not set | ||
| 1176 | # CONFIG_ROMFS_FS is not set | ||
| 1177 | CONFIG_INOTIFY=y | ||
| 1178 | CONFIG_INOTIFY_USER=y | ||
| 1179 | # CONFIG_QUOTA is not set | ||
| 1180 | CONFIG_DNOTIFY=y | ||
| 1181 | # CONFIG_AUTOFS_FS is not set | ||
| 1182 | # CONFIG_AUTOFS4_FS is not set | ||
| 1183 | # CONFIG_FUSE_FS is not set | ||
| 1184 | |||
| 1185 | # | ||
| 1186 | # CD-ROM/DVD Filesystems | ||
| 1187 | # | ||
| 1188 | # CONFIG_ISO9660_FS is not set | ||
| 1189 | # CONFIG_UDF_FS is not set | ||
| 1190 | |||
| 1191 | # | ||
| 1192 | # DOS/FAT/NT Filesystems | ||
| 1193 | # | ||
| 1194 | CONFIG_FAT_FS=y | ||
| 1195 | CONFIG_MSDOS_FS=y | ||
| 1196 | CONFIG_VFAT_FS=y | ||
| 1197 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
| 1198 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
| 1199 | # CONFIG_NTFS_FS is not set | ||
| 1200 | |||
| 1201 | # | ||
| 1202 | # Pseudo filesystems | ||
| 1203 | # | ||
| 1204 | CONFIG_PROC_FS=y | ||
| 1205 | CONFIG_PROC_SYSCTL=y | ||
| 1206 | CONFIG_SYSFS=y | ||
| 1207 | CONFIG_TMPFS=y | ||
| 1208 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 1209 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1210 | CONFIG_RAMFS=y | ||
| 1211 | # CONFIG_CONFIGFS_FS is not set | ||
| 1212 | |||
| 1213 | # | ||
| 1214 | # Miscellaneous filesystems | ||
| 1215 | # | ||
| 1216 | # CONFIG_ADFS_FS is not set | ||
| 1217 | # CONFIG_AFFS_FS is not set | ||
| 1218 | # CONFIG_HFS_FS is not set | ||
| 1219 | # CONFIG_HFSPLUS_FS is not set | ||
| 1220 | # CONFIG_BEFS_FS is not set | ||
| 1221 | # CONFIG_BFS_FS is not set | ||
| 1222 | # CONFIG_EFS_FS is not set | ||
| 1223 | # CONFIG_JFFS2_FS is not set | ||
| 1224 | # CONFIG_CRAMFS is not set | ||
| 1225 | # CONFIG_VXFS_FS is not set | ||
| 1226 | # CONFIG_HPFS_FS is not set | ||
| 1227 | # CONFIG_QNX4FS_FS is not set | ||
| 1228 | # CONFIG_SYSV_FS is not set | ||
| 1229 | # CONFIG_UFS_FS is not set | ||
| 1230 | |||
| 1231 | # | ||
| 1232 | # Network File Systems | ||
| 1233 | # | ||
| 1234 | CONFIG_NFS_FS=y | ||
| 1235 | CONFIG_NFS_V3=y | ||
| 1236 | # CONFIG_NFS_V3_ACL is not set | ||
| 1237 | # CONFIG_NFS_V4 is not set | ||
| 1238 | # CONFIG_NFS_DIRECTIO is not set | ||
| 1239 | # CONFIG_NFSD is not set | ||
| 1240 | CONFIG_ROOT_NFS=y | ||
| 1241 | CONFIG_LOCKD=y | ||
| 1242 | CONFIG_LOCKD_V4=y | ||
| 1243 | CONFIG_NFS_COMMON=y | ||
| 1244 | CONFIG_SUNRPC=y | ||
| 1245 | # CONFIG_SUNRPC_BIND34 is not set | ||
| 1246 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
| 1247 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1248 | CONFIG_SMB_FS=y | ||
| 1249 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
| 1250 | # CONFIG_CIFS is not set | ||
| 1251 | # CONFIG_NCP_FS is not set | ||
| 1252 | # CONFIG_CODA_FS is not set | ||
| 1253 | # CONFIG_AFS_FS is not set | ||
| 1254 | |||
| 1255 | # | ||
| 1256 | # Partition Types | ||
| 1257 | # | ||
| 1258 | # CONFIG_PARTITION_ADVANCED is not set | ||
| 1259 | CONFIG_MSDOS_PARTITION=y | ||
| 1260 | |||
| 1261 | # | ||
| 1262 | # Native Language Support | ||
| 1263 | # | ||
| 1264 | CONFIG_NLS=y | ||
| 1265 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
| 1266 | CONFIG_NLS_CODEPAGE_437=y | ||
| 1267 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
| 1268 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
| 1269 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
| 1270 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
| 1271 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
| 1272 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
| 1273 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
| 1274 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
| 1275 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
| 1276 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
| 1277 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
| 1278 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
| 1279 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
| 1280 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
| 1281 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
| 1282 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
| 1283 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
| 1284 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
| 1285 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
| 1286 | # CONFIG_NLS_ISO8859_8 is not set | ||
| 1287 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
| 1288 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
| 1289 | # CONFIG_NLS_ASCII is not set | ||
| 1290 | CONFIG_NLS_ISO8859_1=y | ||
| 1291 | # CONFIG_NLS_ISO8859_2 is not set | ||
| 1292 | # CONFIG_NLS_ISO8859_3 is not set | ||
| 1293 | # CONFIG_NLS_ISO8859_4 is not set | ||
| 1294 | # CONFIG_NLS_ISO8859_5 is not set | ||
| 1295 | # CONFIG_NLS_ISO8859_6 is not set | ||
| 1296 | # CONFIG_NLS_ISO8859_7 is not set | ||
| 1297 | # CONFIG_NLS_ISO8859_9 is not set | ||
| 1298 | # CONFIG_NLS_ISO8859_13 is not set | ||
| 1299 | # CONFIG_NLS_ISO8859_14 is not set | ||
| 1300 | # CONFIG_NLS_ISO8859_15 is not set | ||
| 1301 | # CONFIG_NLS_KOI8_R is not set | ||
| 1302 | # CONFIG_NLS_KOI8_U is not set | ||
| 1303 | # CONFIG_NLS_UTF8 is not set | ||
| 1304 | |||
| 1305 | # | ||
| 1306 | # Distributed Lock Manager | ||
| 1307 | # | ||
| 1308 | # CONFIG_DLM is not set | ||
| 1309 | |||
| 1310 | # | ||
| 1311 | # Profiling support | ||
| 1312 | # | ||
| 1313 | # CONFIG_PROFILING is not set | ||
| 1314 | |||
| 1315 | # | ||
| 1316 | # Kernel hacking | ||
| 1317 | # | ||
| 1318 | # CONFIG_PRINTK_TIME is not set | ||
| 1319 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1320 | CONFIG_MAGIC_SYSRQ=y | ||
| 1321 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1322 | # CONFIG_DEBUG_FS is not set | ||
| 1323 | # CONFIG_HEADERS_CHECK is not set | ||
| 1324 | CONFIG_DEBUG_KERNEL=y | ||
| 1325 | # CONFIG_DEBUG_SHIRQ is not set | ||
| 1326 | # CONFIG_DETECT_SOFTLOCKUP is not set | ||
| 1327 | CONFIG_SCHED_DEBUG=y | ||
| 1328 | # CONFIG_SCHEDSTATS is not set | ||
| 1329 | # CONFIG_TIMER_STATS is not set | ||
| 1330 | # CONFIG_DEBUG_SLAB is not set | ||
| 1331 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 1332 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 1333 | # CONFIG_DEBUG_SPINLOCK is not set | ||
| 1334 | # CONFIG_DEBUG_MUTEXES is not set | ||
| 1335 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
| 1336 | # CONFIG_PROVE_LOCKING is not set | ||
| 1337 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
| 1338 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
| 1339 | # CONFIG_DEBUG_KOBJECT is not set | ||
| 1340 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 1341 | CONFIG_DEBUG_INFO=y | ||
| 1342 | # CONFIG_DEBUG_VM is not set | ||
| 1343 | # CONFIG_DEBUG_LIST is not set | ||
| 1344 | CONFIG_FRAME_POINTER=y | ||
| 1345 | CONFIG_FORCED_INLINING=y | ||
| 1346 | # CONFIG_RCU_TORTURE_TEST is not set | ||
| 1347 | # CONFIG_FAULT_INJECTION is not set | ||
| 1348 | CONFIG_DEBUG_USER=y | ||
| 1349 | CONFIG_DEBUG_ERRORS=y | ||
| 1350 | CONFIG_DEBUG_LL=y | ||
| 1351 | # CONFIG_DEBUG_ICEDCC is not set | ||
| 1352 | |||
| 1353 | # | ||
| 1354 | # Security options | ||
| 1355 | # | ||
| 1356 | # CONFIG_KEYS is not set | ||
| 1357 | # CONFIG_SECURITY is not set | ||
| 1358 | CONFIG_CRYPTO=y | ||
| 1359 | CONFIG_CRYPTO_ALGAPI=m | ||
| 1360 | CONFIG_CRYPTO_BLKCIPHER=m | ||
| 1361 | CONFIG_CRYPTO_MANAGER=m | ||
| 1362 | # CONFIG_CRYPTO_HMAC is not set | ||
| 1363 | # CONFIG_CRYPTO_XCBC is not set | ||
| 1364 | # CONFIG_CRYPTO_NULL is not set | ||
| 1365 | # CONFIG_CRYPTO_MD4 is not set | ||
| 1366 | # CONFIG_CRYPTO_MD5 is not set | ||
| 1367 | # CONFIG_CRYPTO_SHA1 is not set | ||
| 1368 | # CONFIG_CRYPTO_SHA256 is not set | ||
| 1369 | # CONFIG_CRYPTO_SHA512 is not set | ||
| 1370 | # CONFIG_CRYPTO_WP512 is not set | ||
| 1371 | # CONFIG_CRYPTO_TGR192 is not set | ||
| 1372 | # CONFIG_CRYPTO_GF128MUL is not set | ||
| 1373 | CONFIG_CRYPTO_ECB=m | ||
| 1374 | CONFIG_CRYPTO_CBC=m | ||
| 1375 | CONFIG_CRYPTO_PCBC=m | ||
| 1376 | # CONFIG_CRYPTO_LRW is not set | ||
| 1377 | # CONFIG_CRYPTO_CRYPTD is not set | ||
| 1378 | # CONFIG_CRYPTO_DES is not set | ||
| 1379 | # CONFIG_CRYPTO_FCRYPT is not set | ||
| 1380 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
| 1381 | # CONFIG_CRYPTO_TWOFISH is not set | ||
| 1382 | # CONFIG_CRYPTO_SERPENT is not set | ||
| 1383 | CONFIG_CRYPTO_AES=m | ||
| 1384 | # CONFIG_CRYPTO_CAST5 is not set | ||
| 1385 | # CONFIG_CRYPTO_CAST6 is not set | ||
| 1386 | # CONFIG_CRYPTO_TEA is not set | ||
| 1387 | CONFIG_CRYPTO_ARC4=m | ||
| 1388 | # CONFIG_CRYPTO_KHAZAD is not set | ||
| 1389 | # CONFIG_CRYPTO_ANUBIS is not set | ||
| 1390 | # CONFIG_CRYPTO_DEFLATE is not set | ||
| 1391 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
| 1392 | # CONFIG_CRYPTO_CRC32C is not set | ||
| 1393 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
| 1394 | # CONFIG_CRYPTO_TEST is not set | ||
| 1395 | CONFIG_CRYPTO_HW=y | ||
| 1396 | |||
| 1397 | # | ||
| 1398 | # Library routines | ||
| 1399 | # | ||
| 1400 | CONFIG_BITREVERSE=y | ||
| 1401 | # CONFIG_CRC_CCITT is not set | ||
| 1402 | # CONFIG_CRC16 is not set | ||
| 1403 | # CONFIG_CRC_ITU_T is not set | ||
| 1404 | CONFIG_CRC32=y | ||
| 1405 | # CONFIG_CRC7 is not set | ||
| 1406 | # CONFIG_LIBCRC32C is not set | ||
| 1407 | CONFIG_PLIST=y | ||
| 1408 | CONFIG_HAS_IOMEM=y | ||
| 1409 | CONFIG_HAS_IOPORT=y | ||
| 1410 | CONFIG_HAS_DMA=y | ||
| diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index e895188cadcd..656d49661a29 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
| @@ -63,6 +63,11 @@ config MACH_ZYLONITE | |||
| 63 | bool "PXA3xx Development Platform" | 63 | bool "PXA3xx Development Platform" | 
| 64 | select PXA3xx | 64 | select PXA3xx | 
| 65 | 65 | ||
| 66 | config MACH_ARMCORE | ||
| 67 | bool "CompuLab CM-X270 modules" | ||
| 68 | select PXA27x | ||
| 69 | select IWMMXT | ||
| 70 | |||
| 66 | endchoice | 71 | endchoice | 
| 67 | 72 | ||
| 68 | if PXA_SHARPSL | 73 | if PXA_SHARPSL | 
| diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index bfdd0c5fcd7a..4263527e5123 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile | |||
| @@ -29,6 +29,8 @@ ifeq ($(CONFIG_MACH_ZYLONITE),y) | |||
| 29 | obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o | 29 | obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o | 
| 30 | endif | 30 | endif | 
| 31 | 31 | ||
| 32 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270.o | ||
| 33 | |||
| 32 | # Support for blinky lights | 34 | # Support for blinky lights | 
| 33 | led-y := leds.o | 35 | led-y := leds.o | 
| 34 | led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o | 36 | led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o | 
| @@ -45,3 +47,7 @@ obj-$(CONFIG_PXA_SSP) += ssp.o | |||
| 45 | ifeq ($(CONFIG_PXA27x),y) | 47 | ifeq ($(CONFIG_PXA27x),y) | 
| 46 | obj-$(CONFIG_PM) += standby.o | 48 | obj-$(CONFIG_PM) += standby.o | 
| 47 | endif | 49 | endif | 
| 50 | |||
| 51 | ifeq ($(CONFIG_PCI),y) | ||
| 52 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o | ||
| 53 | endif | ||
| diff --git a/arch/arm/mach-pxa/cm-x270-pci.c b/arch/arm/mach-pxa/cm-x270-pci.c new file mode 100644 index 000000000000..878d3b9b8633 --- /dev/null +++ b/arch/arm/mach-pxa/cm-x270-pci.c | |||
| @@ -0,0 +1,218 @@ | |||
| 1 | /* | ||
| 2 | * linux/arch/arm/mach-pxa/cm-x270-pci.c | ||
| 3 | * | ||
| 4 | * PCI bios-type initialisation for PCI machines | ||
| 5 | * | ||
| 6 | * Bits taken from various places. | ||
| 7 | * | ||
| 8 | * Copyright (C) 2007 Compulab, Ltd. | ||
| 9 | * Mike Rapoport <mike@compulab.co.il> | ||
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License version 2 as | ||
| 13 | * published by the Free Software Foundation. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include <linux/kernel.h> | ||
| 17 | #include <linux/pci.h> | ||
| 18 | #include <linux/init.h> | ||
| 19 | #include <linux/device.h> | ||
| 20 | #include <linux/platform_device.h> | ||
| 21 | #include <linux/irq.h> | ||
| 22 | |||
| 23 | #include <asm/mach/pci.h> | ||
| 24 | #include <asm/arch/cm-x270.h> | ||
| 25 | #include <asm/arch/pxa-regs.h> | ||
| 26 | #include <asm/mach-types.h> | ||
| 27 | |||
| 28 | #include <asm/hardware/it8152.h> | ||
| 29 | |||
| 30 | unsigned long it8152_base_address = CMX270_IT8152_VIRT; | ||
| 31 | |||
| 32 | /* | ||
| 33 | * Only first 64MB of memory can be accessed via PCI. | ||
| 34 | * We use GFP_DMA to allocate safe buffers to do map/unmap. | ||
| 35 | * This is really ugly and we need a better way of specifying | ||
| 36 | * DMA-capable regions of memory. | ||
| 37 | */ | ||
| 38 | void __init cmx270_pci_adjust_zones(int node, unsigned long *zone_size, | ||
| 39 | unsigned long *zhole_size) | ||
| 40 | { | ||
| 41 | unsigned int sz = SZ_64M >> PAGE_SHIFT; | ||
| 42 | |||
| 43 | printk(KERN_INFO "Adjusting zones for CM-x270\n"); | ||
| 44 | |||
| 45 | /* | ||
| 46 | * Only adjust if > 64M on current system | ||
| 47 | */ | ||
| 48 | if (node || (zone_size[0] <= sz)) | ||
| 49 | return; | ||
| 50 | |||
| 51 | zone_size[1] = zone_size[0] - sz; | ||
| 52 | zone_size[0] = sz; | ||
| 53 | zhole_size[1] = zhole_size[0]; | ||
| 54 | zhole_size[0] = 0; | ||
| 55 | } | ||
| 56 | |||
| 57 | static void cmx270_it8152_irq_demux(unsigned int irq, struct irq_desc *desc) | ||
| 58 | { | ||
| 59 | /* clear our parent irq */ | ||
| 60 | GEDR(GPIO_IT8152_IRQ) = GPIO_bit(GPIO_IT8152_IRQ); | ||
| 61 | |||
| 62 | it8152_irq_demux(irq, desc); | ||
| 63 | } | ||
| 64 | |||
| 65 | void __cmx270_pci_init_irq(void) | ||
| 66 | { | ||
| 67 | it8152_init_irq(); | ||
| 68 | pxa_gpio_mode(IRQ_TO_GPIO(GPIO_IT8152_IRQ)); | ||
| 69 | set_irq_type(IRQ_GPIO(GPIO_IT8152_IRQ), IRQT_RISING); | ||
| 70 | |||
| 71 | set_irq_chained_handler(IRQ_GPIO(GPIO_IT8152_IRQ), | ||
| 72 | cmx270_it8152_irq_demux); | ||
| 73 | } | ||
| 74 | |||
| 75 | #ifdef CONFIG_PM | ||
| 76 | static unsigned long sleep_save_ite[10]; | ||
| 77 | |||
| 78 | void __cmx270_pci_suspend(void) | ||
| 79 | { | ||
| 80 | /* save ITE state */ | ||
| 81 | sleep_save_ite[0] = __raw_readl(IT8152_INTC_PDCNIMR); | ||
| 82 | sleep_save_ite[1] = __raw_readl(IT8152_INTC_LPCNIMR); | ||
| 83 | sleep_save_ite[2] = __raw_readl(IT8152_INTC_LPNIAR); | ||
| 84 | |||
| 85 | /* Clear ITE IRQ's */ | ||
| 86 | __raw_writel((0), IT8152_INTC_PDCNIRR); | ||
| 87 | __raw_writel((0), IT8152_INTC_LPCNIRR); | ||
| 88 | } | ||
| 89 | |||
| 90 | void __cmx270_pci_resume(void) | ||
| 91 | { | ||
| 92 | /* restore IT8152 state */ | ||
| 93 | __raw_writel((sleep_save_ite[0]), IT8152_INTC_PDCNIMR); | ||
| 94 | __raw_writel((sleep_save_ite[1]), IT8152_INTC_LPCNIMR); | ||
| 95 | __raw_writel((sleep_save_ite[2]), IT8152_INTC_LPNIAR); | ||
| 96 | } | ||
| 97 | #else | ||
| 98 | void cmx270_pci_suspend(void) {} | ||
| 99 | void cmx270_pci_resume(void) {} | ||
| 100 | #endif | ||
| 101 | |||
| 102 | /* PCI IRQ mapping*/ | ||
| 103 | static int __init cmx270_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | ||
| 104 | { | ||
| 105 | int irq; | ||
| 106 | |||
| 107 | printk(KERN_DEBUG "===> %s: %s slot=%x, pin=%x\n", __FUNCTION__, | ||
| 108 | pci_name(dev), slot, pin); | ||
| 109 | |||
| 110 | irq = it8152_pci_map_irq(dev, slot, pin); | ||
| 111 | if (irq) | ||
| 112 | return irq; | ||
| 113 | |||
| 114 | /* | ||
| 115 | Here comes the ugly part. The routing is baseboard specific, | ||
| 116 | but defining a platform for each possible base of CM-x270 is | ||
| 117 | unrealistic. Here we keep mapping for ATXBase and SB-x270. | ||
| 118 | */ | ||
| 119 | /* ATXBASE PCI slot */ | ||
| 120 | if (slot == 7) | ||
| 121 | return IT8152_PCI_INTA; | ||
| 122 | |||
| 123 | /* ATXBase/SB-x270 CardBus */ | ||
| 124 | if (slot == 8 || slot == 0) | ||
| 125 | return IT8152_PCI_INTB; | ||
| 126 | |||
| 127 | /* ATXBase Ethernet */ | ||
| 128 | if (slot == 9) | ||
| 129 | return IT8152_PCI_INTA; | ||
| 130 | |||
| 131 | /* SB-x270 Ethernet */ | ||
| 132 | if (slot == 16) | ||
| 133 | return IT8152_PCI_INTA; | ||
| 134 | |||
| 135 | /* PC104+ interrupt routing */ | ||
| 136 | if ((slot == 17) || (slot == 19)) | ||
| 137 | return IT8152_PCI_INTA; | ||
| 138 | if ((slot == 18) || (slot == 20)) | ||
| 139 | return IT8152_PCI_INTB; | ||
| 140 | |||
| 141 | return(0); | ||
| 142 | } | ||
| 143 | |||
| 144 | static struct pci_bus * __init | ||
| 145 | cmx270_pci_scan_bus(int nr, struct pci_sys_data *sys) | ||
| 146 | { | ||
| 147 | printk(KERN_INFO "Initializing CM-X270 PCI subsystem\n"); | ||
| 148 | |||
| 149 | __raw_writel(0x800, IT8152_PCI_CFG_ADDR); | ||
| 150 | if (__raw_readl(IT8152_PCI_CFG_DATA) == 0x81521283) { | ||
| 151 | printk(KERN_INFO "PCI Bridge found.\n"); | ||
| 152 | |||
| 153 | /* set PCI I/O base at 0 */ | ||
| 154 | writel(0x848, IT8152_PCI_CFG_ADDR); | ||
| 155 | writel(0, IT8152_PCI_CFG_DATA); | ||
| 156 | |||
| 157 | /* set PCI memory base at 0 */ | ||
| 158 | writel(0x840, IT8152_PCI_CFG_ADDR); | ||
| 159 | writel(0, IT8152_PCI_CFG_DATA); | ||
| 160 | |||
| 161 | writel(0x20, IT8152_GPIO_GPDR); | ||
| 162 | |||
| 163 | /* CardBus Controller on ATXbase baseboard */ | ||
| 164 | writel(0x4000, IT8152_PCI_CFG_ADDR); | ||
| 165 | if (readl(IT8152_PCI_CFG_DATA) == 0xAC51104C) { | ||
| 166 | printk(KERN_INFO "CardBus Bridge found.\n"); | ||
| 167 | |||
| 168 | /* Configure socket 0 */ | ||
| 169 | writel(0x408C, IT8152_PCI_CFG_ADDR); | ||
| 170 | writel(0x1022, IT8152_PCI_CFG_DATA); | ||
| 171 | |||
| 172 | writel(0x4080, IT8152_PCI_CFG_ADDR); | ||
| 173 | writel(0x3844d060, IT8152_PCI_CFG_DATA); | ||
| 174 | |||
| 175 | writel(0x4090, IT8152_PCI_CFG_ADDR); | ||
| 176 | writel(((readl(IT8152_PCI_CFG_DATA) & 0xffff) | | ||
| 177 | 0x60440000), | ||
| 178 | IT8152_PCI_CFG_DATA); | ||
| 179 | |||
| 180 | writel(0x4018, IT8152_PCI_CFG_ADDR); | ||
| 181 | writel(0xb0000000, IT8152_PCI_CFG_DATA); | ||
| 182 | |||
| 183 | /* Configure socket 1 */ | ||
| 184 | writel(0x418C, IT8152_PCI_CFG_ADDR); | ||
| 185 | writel(0x1022, IT8152_PCI_CFG_DATA); | ||
| 186 | |||
| 187 | writel(0x4180, IT8152_PCI_CFG_ADDR); | ||
| 188 | writel(0x3844d060, IT8152_PCI_CFG_DATA); | ||
| 189 | |||
| 190 | writel(0x4190, IT8152_PCI_CFG_ADDR); | ||
| 191 | writel(((readl(IT8152_PCI_CFG_DATA) & 0xffff) | | ||
| 192 | 0x60440000), | ||
| 193 | IT8152_PCI_CFG_DATA); | ||
| 194 | |||
| 195 | writel(0x4118, IT8152_PCI_CFG_ADDR); | ||
| 196 | writel(0xb0000000, IT8152_PCI_CFG_DATA); | ||
| 197 | } | ||
| 198 | } | ||
| 199 | return it8152_pci_scan_bus(nr, sys); | ||
| 200 | } | ||
| 201 | |||
| 202 | static struct hw_pci cmx270_pci __initdata = { | ||
| 203 | .swizzle = pci_std_swizzle, | ||
| 204 | .map_irq = cmx270_pci_map_irq, | ||
| 205 | .nr_controllers = 1, | ||
| 206 | .setup = it8152_pci_setup, | ||
| 207 | .scan = cmx270_pci_scan_bus, | ||
| 208 | }; | ||
| 209 | |||
| 210 | static int __init cmx270_init_pci(void) | ||
| 211 | { | ||
| 212 | if (machine_is_armcore()) | ||
| 213 | pci_common_init(&cmx270_pci); | ||
| 214 | |||
| 215 | return 0; | ||
| 216 | } | ||
| 217 | |||
| 218 | subsys_initcall(cmx270_init_pci); | ||
| diff --git a/arch/arm/mach-pxa/cm-x270-pci.h b/arch/arm/mach-pxa/cm-x270-pci.h new file mode 100644 index 000000000000..ffe37b66f9a0 --- /dev/null +++ b/arch/arm/mach-pxa/cm-x270-pci.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | extern void __cmx270_pci_init_irq(void); | ||
| 2 | extern void __cmx270_pci_suspend(void); | ||
| 3 | extern void __cmx270_pci_resume(void); | ||
| 4 | |||
| 5 | #ifdef CONFIG_PCI | ||
| 6 | #define cmx270_pci_init_irq __cmx270_pci_init_irq | ||
| 7 | #define cmx270_pci_suspend __cmx270_pci_suspend | ||
| 8 | #define cmx270_pci_resume __cmx270_pci_resume | ||
| 9 | #else | ||
| 10 | #define cmx270_pci_init_irq() do {} while (0) | ||
| 11 | #define cmx270_pci_suspend() do {} while (0) | ||
| 12 | #define cmx270_pci_resume() do {} while (0) | ||
| 13 | #endif | ||
| diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c new file mode 100644 index 000000000000..177664ccb2e2 --- /dev/null +++ b/arch/arm/mach-pxa/cm-x270.c | |||
| @@ -0,0 +1,645 @@ | |||
| 1 | /* | ||
| 2 | * linux/arch/arm/mach-pxa/cm-x270.c | ||
| 3 | * | ||
| 4 | * Copyright (C) 2007 CompuLab, Ltd. | ||
| 5 | * Mike Rapoport <mike@compulab.co.il> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #include <linux/types.h> | ||
| 13 | #include <linux/pm.h> | ||
| 14 | #include <linux/fb.h> | ||
| 15 | #include <linux/platform_device.h> | ||
| 16 | #include <linux/irq.h> | ||
| 17 | #include <linux/sysdev.h> | ||
| 18 | #include <linux/io.h> | ||
| 19 | #include <linux/delay.h> | ||
| 20 | |||
| 21 | #include <linux/dm9000.h> | ||
| 22 | #include <linux/rtc-v3020.h> | ||
| 23 | #include <linux/serial_8250.h> | ||
| 24 | |||
| 25 | #include <video/mbxfb.h> | ||
| 26 | |||
| 27 | #include <asm/mach/arch.h> | ||
| 28 | #include <asm/mach-types.h> | ||
| 29 | #include <asm/mach/map.h> | ||
| 30 | |||
| 31 | #include <asm/arch/pxa-regs.h> | ||
| 32 | #include <asm/arch/pxafb.h> | ||
| 33 | #include <asm/arch/ohci.h> | ||
| 34 | #include <asm/arch/mmc.h> | ||
| 35 | #include <asm/arch/bitfield.h> | ||
| 36 | #include <asm/arch/cm-x270.h> | ||
| 37 | |||
| 38 | #include <asm/hardware/it8152.h> | ||
| 39 | |||
| 40 | #include "generic.h" | ||
| 41 | #include "cm-x270-pci.h" | ||
| 42 | |||
| 43 | #define RTC_PHYS_BASE (PXA_CS1_PHYS + (5 << 22)) | ||
| 44 | #define DM9000_PHYS_BASE (PXA_CS1_PHYS + (6 << 22)) | ||
| 45 | |||
| 46 | static struct resource cmx270_dm9k_resource[] = { | ||
| 47 | [0] = { | ||
| 48 | .start = DM9000_PHYS_BASE, | ||
| 49 | .end = DM9000_PHYS_BASE + 4, | ||
| 50 | .flags = IORESOURCE_MEM, | ||
| 51 | }, | ||
| 52 | [1] = { | ||
| 53 | .start = DM9000_PHYS_BASE + 8, | ||
| 54 | .end = DM9000_PHYS_BASE + 8 + 500, | ||
| 55 | .flags = IORESOURCE_MEM, | ||
| 56 | }, | ||
| 57 | [2] = { | ||
| 58 | .start = CMX270_ETHIRQ, | ||
| 59 | .end = CMX270_ETHIRQ, | ||
| 60 | .flags = IORESOURCE_IRQ, | ||
| 61 | } | ||
| 62 | }; | ||
| 63 | |||
| 64 | /* for the moment we limit ourselves to 32bit IO until some | ||
| 65 | * better IO routines can be written and tested | ||
| 66 | */ | ||
| 67 | static struct dm9000_plat_data cmx270_dm9k_platdata = { | ||
| 68 | .flags = DM9000_PLATF_32BITONLY, | ||
| 69 | }; | ||
| 70 | |||
| 71 | /* Ethernet device */ | ||
| 72 | static struct platform_device cmx270_device_dm9k = { | ||
| 73 | .name = "dm9000", | ||
| 74 | .id = 0, | ||
| 75 | .num_resources = ARRAY_SIZE(cmx270_dm9k_resource), | ||
| 76 | .resource = cmx270_dm9k_resource, | ||
| 77 | .dev = { | ||
| 78 | .platform_data = &cmx270_dm9k_platdata, | ||
| 79 | } | ||
| 80 | }; | ||
| 81 | |||
| 82 | /* audio device */ | ||
| 83 | static struct platform_device cmx270_audio_device = { | ||
| 84 | .name = "pxa2xx-ac97", | ||
| 85 | .id = -1, | ||
| 86 | }; | ||
| 87 | |||
| 88 | /* touchscreen controller */ | ||
| 89 | static struct platform_device cmx270_ts_device = { | ||
| 90 | .name = "ucb1400_ts", | ||
| 91 | .id = -1, | ||
| 92 | }; | ||
| 93 | |||
| 94 | /* RTC */ | ||
| 95 | static struct resource cmx270_v3020_resource[] = { | ||
| 96 | [0] = { | ||
| 97 | .start = RTC_PHYS_BASE, | ||
| 98 | .end = RTC_PHYS_BASE + 4, | ||
| 99 | .flags = IORESOURCE_MEM, | ||
| 100 | }, | ||
| 101 | }; | ||
| 102 | |||
| 103 | struct v3020_platform_data cmx270_v3020_pdata = { | ||
| 104 | .leftshift = 16, | ||
| 105 | }; | ||
| 106 | |||
| 107 | static struct platform_device cmx270_rtc_device = { | ||
| 108 | .name = "v3020", | ||
| 109 | .num_resources = ARRAY_SIZE(cmx270_v3020_resource), | ||
| 110 | .resource = cmx270_v3020_resource, | ||
| 111 | .id = -1, | ||
| 112 | .dev = { | ||
| 113 | .platform_data = &cmx270_v3020_pdata, | ||
| 114 | } | ||
| 115 | }; | ||
| 116 | |||
| 117 | /* | ||
| 118 | * CM-X270 LEDs | ||
| 119 | */ | ||
| 120 | static struct platform_device cmx270_led_device = { | ||
| 121 | .name = "cm-x270-led", | ||
| 122 | .id = -1, | ||
| 123 | }; | ||
| 124 | |||
| 125 | /* 2700G graphics */ | ||
| 126 | static u64 fb_dma_mask = ~(u64)0; | ||
| 127 | |||
| 128 | static struct resource cmx270_2700G_resource[] = { | ||
| 129 | /* frame buffer memory including ODFB and External SDRAM */ | ||
| 130 | [0] = { | ||
| 131 | .start = MARATHON_PHYS, | ||
| 132 | .end = MARATHON_PHYS + 0x02000000, | ||
| 133 | .flags = IORESOURCE_MEM, | ||
| 134 | }, | ||
| 135 | /* Marathon registers */ | ||
| 136 | [1] = { | ||
| 137 | .start = MARATHON_PHYS + 0x03fe0000, | ||
| 138 | .end = MARATHON_PHYS + 0x03ffffff, | ||
| 139 | .flags = IORESOURCE_MEM, | ||
| 140 | }, | ||
| 141 | }; | ||
| 142 | |||
| 143 | static unsigned long save_lcd_regs[10]; | ||
| 144 | |||
| 145 | static int cmx270_marathon_probe(struct fb_info *fb) | ||
| 146 | { | ||
| 147 | /* save PXA-270 pin settings before enabling 2700G */ | ||
| 148 | save_lcd_regs[0] = GPDR1; | ||
| 149 | save_lcd_regs[1] = GPDR2; | ||
| 150 | save_lcd_regs[2] = GAFR1_U; | ||
| 151 | save_lcd_regs[3] = GAFR2_L; | ||
| 152 | save_lcd_regs[4] = GAFR2_U; | ||
| 153 | |||
| 154 | /* Disable PXA-270 on-chip controller driving pins */ | ||
| 155 | GPDR1 &= ~(0xfc000000); | ||
| 156 | GPDR2 &= ~(0x00c03fff); | ||
| 157 | GAFR1_U &= ~(0xfff00000); | ||
| 158 | GAFR2_L &= ~(0x0fffffff); | ||
| 159 | GAFR2_U &= ~(0x0000f000); | ||
| 160 | return 0; | ||
| 161 | } | ||
| 162 | |||
| 163 | static int cmx270_marathon_remove(struct fb_info *fb) | ||
| 164 | { | ||
| 165 | GPDR1 = save_lcd_regs[0]; | ||
| 166 | GPDR2 = save_lcd_regs[1]; | ||
| 167 | GAFR1_U = save_lcd_regs[2]; | ||
| 168 | GAFR2_L = save_lcd_regs[3]; | ||
| 169 | GAFR2_U = save_lcd_regs[4]; | ||
| 170 | return 0; | ||
| 171 | } | ||
| 172 | |||
| 173 | static struct mbxfb_platform_data cmx270_2700G_data = { | ||
| 174 | .xres = { | ||
| 175 | .min = 240, | ||
| 176 | .max = 1200, | ||
| 177 | .defval = 640, | ||
| 178 | }, | ||
| 179 | .yres = { | ||
| 180 | .min = 240, | ||
| 181 | .max = 1200, | ||
| 182 | .defval = 480, | ||
| 183 | }, | ||
| 184 | .bpp = { | ||
| 185 | .min = 16, | ||
| 186 | .max = 32, | ||
| 187 | .defval = 16, | ||
| 188 | }, | ||
| 189 | .memsize = 8*1024*1024, | ||
| 190 | .probe = cmx270_marathon_probe, | ||
| 191 | .remove = cmx270_marathon_remove, | ||
| 192 | }; | ||
| 193 | |||
| 194 | static struct platform_device cmx270_2700G = { | ||
| 195 | .name = "mbx-fb", | ||
| 196 | .dev = { | ||
| 197 | .platform_data = &cmx270_2700G_data, | ||
| 198 | .dma_mask = &fb_dma_mask, | ||
| 199 | .coherent_dma_mask = 0xffffffff, | ||
| 200 | }, | ||
| 201 | .num_resources = ARRAY_SIZE(cmx270_2700G_resource), | ||
| 202 | .resource = cmx270_2700G_resource, | ||
| 203 | .id = -1, | ||
| 204 | }; | ||
| 205 | |||
| 206 | static u64 ata_dma_mask = ~(u64)0; | ||
| 207 | |||
| 208 | static struct platform_device cmx270_ata = { | ||
| 209 | .name = "pata_cm_x270", | ||
| 210 | .id = -1, | ||
| 211 | .dev = { | ||
| 212 | .dma_mask = &ata_dma_mask, | ||
| 213 | .coherent_dma_mask = 0xffffffff, | ||
| 214 | }, | ||
| 215 | }; | ||
| 216 | |||
| 217 | /* platform devices */ | ||
| 218 | static struct platform_device *platform_devices[] __initdata = { | ||
| 219 | &cmx270_device_dm9k, | ||
| 220 | &cmx270_audio_device, | ||
| 221 | &cmx270_rtc_device, | ||
| 222 | &cmx270_2700G, | ||
| 223 | &cmx270_led_device, | ||
| 224 | &cmx270_ts_device, | ||
| 225 | &cmx270_ata, | ||
| 226 | }; | ||
| 227 | |||
| 228 | /* Map PCI companion and IDE/General Purpose CS statically */ | ||
| 229 | static struct map_desc cmx270_io_desc[] __initdata = { | ||
| 230 | [0] = { /* IDE/general purpose space */ | ||
| 231 | .virtual = CMX270_IDE104_VIRT, | ||
| 232 | .pfn = __phys_to_pfn(CMX270_IDE104_PHYS), | ||
| 233 | .length = SZ_64M - SZ_8M, | ||
| 234 | .type = MT_DEVICE | ||
| 235 | }, | ||
| 236 | [1] = { /* PCI bridge */ | ||
| 237 | .virtual = CMX270_IT8152_VIRT, | ||
| 238 | .pfn = __phys_to_pfn(CMX270_IT8152_PHYS), | ||
| 239 | .length = SZ_64M, | ||
| 240 | .type = MT_DEVICE | ||
| 241 | }, | ||
| 242 | }; | ||
| 243 | |||
| 244 | /* | ||
| 245 | Display definitions | ||
| 246 | keep these for backwards compatibility, although symbolic names (as | ||
| 247 | e.g. in lpd270.c) looks better | ||
| 248 | */ | ||
| 249 | #define MTYPE_STN320x240 0 | ||
| 250 | #define MTYPE_TFT640x480 1 | ||
| 251 | #define MTYPE_CRT640x480 2 | ||
| 252 | #define MTYPE_CRT800x600 3 | ||
| 253 | #define MTYPE_TFT320x240 6 | ||
| 254 | #define MTYPE_STN640x480 7 | ||
| 255 | |||
| 256 | static struct pxafb_mode_info generic_stn_320x240_mode = { | ||
| 257 | .pixclock = 76923, | ||
| 258 | .bpp = 8, | ||
| 259 | .xres = 320, | ||
| 260 | .yres = 240, | ||
| 261 | .hsync_len = 3, | ||
| 262 | .vsync_len = 2, | ||
| 263 | .left_margin = 3, | ||
| 264 | .upper_margin = 0, | ||
| 265 | .right_margin = 3, | ||
| 266 | .lower_margin = 0, | ||
| 267 | .sync = (FB_SYNC_HOR_HIGH_ACT | | ||
| 268 | FB_SYNC_VERT_HIGH_ACT), | ||
| 269 | .cmap_greyscale = 0, | ||
| 270 | }; | ||
| 271 | |||
| 272 | static struct pxafb_mach_info generic_stn_320x240 = { | ||
| 273 | .modes = &generic_stn_320x240_mode, | ||
| 274 | .num_modes = 1, | ||
| 275 | .lccr0 = 0, | ||
| 276 | .lccr3 = (LCCR3_PixClkDiv(0x03) | | ||
| 277 | LCCR3_Acb(0xff) | | ||
| 278 | LCCR3_PCP), | ||
| 279 | .cmap_inverse = 0, | ||
| 280 | .cmap_static = 0, | ||
| 281 | }; | ||
| 282 | |||
| 283 | static struct pxafb_mode_info generic_tft_640x480_mode = { | ||
| 284 | .pixclock = 38461, | ||
| 285 | .bpp = 8, | ||
| 286 | .xres = 640, | ||
| 287 | .yres = 480, | ||
| 288 | .hsync_len = 60, | ||
| 289 | .vsync_len = 2, | ||
| 290 | .left_margin = 70, | ||
| 291 | .upper_margin = 10, | ||
| 292 | .right_margin = 70, | ||
| 293 | .lower_margin = 5, | ||
| 294 | .sync = 0, | ||
| 295 | .cmap_greyscale = 0, | ||
| 296 | }; | ||
| 297 | |||
| 298 | static struct pxafb_mach_info generic_tft_640x480 = { | ||
| 299 | .modes = &generic_tft_640x480_mode, | ||
| 300 | .num_modes = 1, | ||
| 301 | .lccr0 = (LCCR0_PAS), | ||
| 302 | .lccr3 = (LCCR3_PixClkDiv(0x01) | | ||
| 303 | LCCR3_Acb(0xff) | | ||
| 304 | LCCR3_PCP), | ||
| 305 | .cmap_inverse = 0, | ||
| 306 | .cmap_static = 0, | ||
| 307 | }; | ||
| 308 | |||
| 309 | static struct pxafb_mode_info generic_crt_640x480_mode = { | ||
| 310 | .pixclock = 38461, | ||
| 311 | .bpp = 8, | ||
| 312 | .xres = 640, | ||
| 313 | .yres = 480, | ||
| 314 | .hsync_len = 63, | ||
| 315 | .vsync_len = 2, | ||
| 316 | .left_margin = 81, | ||
| 317 | .upper_margin = 33, | ||
| 318 | .right_margin = 16, | ||
| 319 | .lower_margin = 10, | ||
| 320 | .sync = (FB_SYNC_HOR_HIGH_ACT | | ||
| 321 | FB_SYNC_VERT_HIGH_ACT), | ||
| 322 | .cmap_greyscale = 0, | ||
| 323 | }; | ||
| 324 | |||
| 325 | static struct pxafb_mach_info generic_crt_640x480 = { | ||
| 326 | .modes = &generic_crt_640x480_mode, | ||
| 327 | .num_modes = 1, | ||
| 328 | .lccr0 = (LCCR0_PAS), | ||
| 329 | .lccr3 = (LCCR3_PixClkDiv(0x01) | | ||
| 330 | LCCR3_Acb(0xff)), | ||
| 331 | .cmap_inverse = 0, | ||
| 332 | .cmap_static = 0, | ||
| 333 | }; | ||
| 334 | |||
| 335 | static struct pxafb_mode_info generic_crt_800x600_mode = { | ||
| 336 | .pixclock = 28846, | ||
| 337 | .bpp = 8, | ||
| 338 | .xres = 800, | ||
| 339 | .yres = 600, | ||
| 340 | .hsync_len = 63, | ||
| 341 | .vsync_len = 2, | ||
| 342 | .left_margin = 26, | ||
| 343 | .upper_margin = 21, | ||
| 344 | .right_margin = 26, | ||
| 345 | .lower_margin = 11, | ||
| 346 | .sync = (FB_SYNC_HOR_HIGH_ACT | | ||
| 347 | FB_SYNC_VERT_HIGH_ACT), | ||
| 348 | .cmap_greyscale = 0, | ||
| 349 | }; | ||
| 350 | |||
| 351 | static struct pxafb_mach_info generic_crt_800x600 = { | ||
| 352 | .modes = &generic_crt_800x600_mode, | ||
| 353 | .num_modes = 1, | ||
| 354 | .lccr0 = (LCCR0_PAS), | ||
| 355 | .lccr3 = (LCCR3_PixClkDiv(0x02) | | ||
| 356 | LCCR3_Acb(0xff)), | ||
| 357 | .cmap_inverse = 0, | ||
| 358 | .cmap_static = 0, | ||
| 359 | }; | ||
| 360 | |||
| 361 | static struct pxafb_mode_info generic_tft_320x240_mode = { | ||
| 362 | .pixclock = 134615, | ||
| 363 | .bpp = 16, | ||
| 364 | .xres = 320, | ||
| 365 | .yres = 240, | ||
| 366 | .hsync_len = 63, | ||
| 367 | .vsync_len = 7, | ||
| 368 | .left_margin = 75, | ||
| 369 | .upper_margin = 0, | ||
| 370 | .right_margin = 15, | ||
| 371 | .lower_margin = 15, | ||
| 372 | .sync = 0, | ||
| 373 | .cmap_greyscale = 0, | ||
| 374 | }; | ||
| 375 | |||
| 376 | static struct pxafb_mach_info generic_tft_320x240 = { | ||
| 377 | .modes = &generic_tft_320x240_mode, | ||
| 378 | .num_modes = 1, | ||
| 379 | .lccr0 = (LCCR0_PAS), | ||
| 380 | .lccr3 = (LCCR3_PixClkDiv(0x06) | | ||
| 381 | LCCR3_Acb(0xff) | | ||
| 382 | LCCR3_PCP), | ||
| 383 | .cmap_inverse = 0, | ||
| 384 | .cmap_static = 0, | ||
| 385 | }; | ||
| 386 | |||
| 387 | static struct pxafb_mode_info generic_stn_640x480_mode = { | ||
| 388 | .pixclock = 57692, | ||
| 389 | .bpp = 8, | ||
| 390 | .xres = 640, | ||
| 391 | .yres = 480, | ||
| 392 | .hsync_len = 4, | ||
| 393 | .vsync_len = 2, | ||
| 394 | .left_margin = 10, | ||
| 395 | .upper_margin = 5, | ||
| 396 | .right_margin = 10, | ||
| 397 | .lower_margin = 5, | ||
| 398 | .sync = (FB_SYNC_HOR_HIGH_ACT | | ||
| 399 | FB_SYNC_VERT_HIGH_ACT), | ||
| 400 | .cmap_greyscale = 0, | ||
| 401 | }; | ||
| 402 | |||
| 403 | static struct pxafb_mach_info generic_stn_640x480 = { | ||
| 404 | .modes = &generic_stn_640x480_mode, | ||
| 405 | .num_modes = 1, | ||
| 406 | .lccr0 = 0, | ||
| 407 | .lccr3 = (LCCR3_PixClkDiv(0x02) | | ||
| 408 | LCCR3_Acb(0xff)), | ||
| 409 | .cmap_inverse = 0, | ||
| 410 | .cmap_static = 0, | ||
| 411 | }; | ||
| 412 | |||
| 413 | static struct pxafb_mach_info *cmx270_display = &generic_crt_640x480; | ||
| 414 | |||
| 415 | static int __init cmx270_set_display(char *str) | ||
| 416 | { | ||
| 417 | int disp_type = simple_strtol(str, NULL, 0); | ||
| 418 | switch (disp_type) { | ||
| 419 | case MTYPE_STN320x240: | ||
| 420 | cmx270_display = &generic_stn_320x240; | ||
| 421 | break; | ||
| 422 | case MTYPE_TFT640x480: | ||
| 423 | cmx270_display = &generic_tft_640x480; | ||
| 424 | break; | ||
| 425 | case MTYPE_CRT640x480: | ||
| 426 | cmx270_display = &generic_crt_640x480; | ||
| 427 | break; | ||
| 428 | case MTYPE_CRT800x600: | ||
| 429 | cmx270_display = &generic_crt_800x600; | ||
| 430 | break; | ||
| 431 | case MTYPE_TFT320x240: | ||
| 432 | cmx270_display = &generic_tft_320x240; | ||
| 433 | break; | ||
| 434 | case MTYPE_STN640x480: | ||
| 435 | cmx270_display = &generic_stn_640x480; | ||
| 436 | break; | ||
| 437 | default: /* fallback to CRT 640x480 */ | ||
| 438 | cmx270_display = &generic_crt_640x480; | ||
| 439 | break; | ||
| 440 | } | ||
| 441 | return 1; | ||
| 442 | } | ||
| 443 | |||
| 444 | /* | ||
| 445 | This should be done really early to get proper configuration for | ||
| 446 | frame buffer. | ||
| 447 | Indeed, pxafb parameters can be used istead, but CM-X270 bootloader | ||
| 448 | has limitied line length for kernel command line, and also it will | ||
| 449 | break compatibitlty with proprietary releases already in field. | ||
| 450 | */ | ||
| 451 | __setup("monitor=", cmx270_set_display); | ||
| 452 | |||
| 453 | /* PXA27x OHCI controller setup */ | ||
| 454 | static int cmx270_ohci_init(struct device *dev) | ||
| 455 | { | ||
| 456 | /* Set the Power Control Polarity Low */ | ||
| 457 | UHCHR = (UHCHR | UHCHR_PCPL) & | ||
| 458 | ~(UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE); | ||
| 459 | |||
| 460 | return 0; | ||
| 461 | } | ||
| 462 | |||
| 463 | static struct pxaohci_platform_data cmx270_ohci_platform_data = { | ||
| 464 | .port_mode = PMM_PERPORT_MODE, | ||
| 465 | .init = cmx270_ohci_init, | ||
| 466 | }; | ||
| 467 | |||
| 468 | |||
| 469 | static int cmx270_mci_init(struct device *dev, | ||
| 470 | irq_handler_t cmx270_detect_int, | ||
| 471 | void *data) | ||
| 472 | { | ||
| 473 | int err; | ||
| 474 | |||
| 475 | /* | ||
| 476 | * setup GPIO for PXA27x MMC controller | ||
| 477 | */ | ||
| 478 | pxa_gpio_mode(GPIO32_MMCCLK_MD); | ||
| 479 | pxa_gpio_mode(GPIO112_MMCCMD_MD); | ||
| 480 | pxa_gpio_mode(GPIO92_MMCDAT0_MD); | ||
| 481 | pxa_gpio_mode(GPIO109_MMCDAT1_MD); | ||
| 482 | pxa_gpio_mode(GPIO110_MMCDAT2_MD); | ||
| 483 | pxa_gpio_mode(GPIO111_MMCDAT3_MD); | ||
| 484 | |||
| 485 | /* SB-X270 uses GPIO105 as SD power enable */ | ||
| 486 | pxa_gpio_mode(105 | GPIO_OUT); | ||
| 487 | |||
| 488 | /* card detect IRQ on GPIO 83 */ | ||
| 489 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_MMC_IRQ)); | ||
| 490 | set_irq_type(CMX270_MMC_IRQ, IRQT_FALLING); | ||
| 491 | |||
| 492 | err = request_irq(CMX270_MMC_IRQ, cmx270_detect_int, | ||
| 493 | IRQF_DISABLED | IRQF_TRIGGER_FALLING, | ||
| 494 | "MMC card detect", data); | ||
| 495 | if (err) { | ||
| 496 | printk(KERN_ERR "cmx270_mci_init: MMC/SD: can't" | ||
| 497 | " request MMC card detect IRQ\n"); | ||
| 498 | return -1; | ||
| 499 | } | ||
| 500 | |||
| 501 | return 0; | ||
| 502 | } | ||
| 503 | |||
| 504 | static void cmx270_mci_setpower(struct device *dev, unsigned int vdd) | ||
| 505 | { | ||
| 506 | struct pxamci_platform_data *p_d = dev->platform_data; | ||
| 507 | |||
| 508 | if ((1 << vdd) & p_d->ocr_mask) { | ||
| 509 | printk(KERN_DEBUG "%s: on\n", __FUNCTION__); | ||
| 510 | GPCR(105) = GPIO_bit(105); | ||
| 511 | } else { | ||
| 512 | GPSR(105) = GPIO_bit(105); | ||
| 513 | printk(KERN_DEBUG "%s: off\n", __FUNCTION__); | ||
| 514 | } | ||
| 515 | } | ||
| 516 | |||
| 517 | static void cmx270_mci_exit(struct device *dev, void *data) | ||
| 518 | { | ||
| 519 | free_irq(CMX270_MMC_IRQ, data); | ||
| 520 | } | ||
| 521 | |||
| 522 | static struct pxamci_platform_data cmx270_mci_platform_data = { | ||
| 523 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | ||
| 524 | .init = cmx270_mci_init, | ||
| 525 | .setpower = cmx270_mci_setpower, | ||
| 526 | .exit = cmx270_mci_exit, | ||
| 527 | }; | ||
| 528 | |||
| 529 | #ifdef CONFIG_PM | ||
| 530 | static unsigned long sleep_save_msc[10]; | ||
| 531 | |||
| 532 | static int cmx270_suspend(struct sys_device *dev, pm_message_t state) | ||
| 533 | { | ||
| 534 | cmx270_pci_suspend(); | ||
| 535 | |||
| 536 | /* save MSC registers */ | ||
| 537 | sleep_save_msc[0] = MSC0; | ||
| 538 | sleep_save_msc[1] = MSC1; | ||
| 539 | sleep_save_msc[2] = MSC2; | ||
| 540 | |||
| 541 | /* setup power saving mode registers */ | ||
| 542 | PCFR = 0x0; | ||
| 543 | PSLR = 0xff400000; | ||
| 544 | PMCR = 0x00000005; | ||
| 545 | PWER = 0x80000000; | ||
| 546 | PFER = 0x00000000; | ||
| 547 | PRER = 0x00000000; | ||
| 548 | PGSR0 = 0xC0018800; | ||
| 549 | PGSR1 = 0x004F0002; | ||
| 550 | PGSR2 = 0x6021C000; | ||
| 551 | PGSR3 = 0x00020000; | ||
| 552 | |||
| 553 | return 0; | ||
| 554 | } | ||
| 555 | |||
| 556 | static int cmx270_resume(struct sys_device *dev) | ||
| 557 | { | ||
| 558 | cmx270_pci_resume(); | ||
| 559 | |||
| 560 | /* restore MSC registers */ | ||
| 561 | MSC0 = sleep_save_msc[0]; | ||
| 562 | MSC1 = sleep_save_msc[1]; | ||
| 563 | MSC2 = sleep_save_msc[2]; | ||
| 564 | |||
| 565 | return 0; | ||
| 566 | } | ||
| 567 | |||
| 568 | static struct sysdev_class cmx270_pm_sysclass = { | ||
| 569 | set_kset_name("pm"), | ||
| 570 | .resume = cmx270_resume, | ||
| 571 | .suspend = cmx270_suspend, | ||
| 572 | }; | ||
| 573 | |||
| 574 | static struct sys_device cmx270_pm_device = { | ||
| 575 | .cls = &cmx270_pm_sysclass, | ||
| 576 | }; | ||
| 577 | |||
| 578 | static int __init cmx270_pm_init(void) | ||
| 579 | { | ||
| 580 | int error; | ||
| 581 | error = sysdev_class_register(&cmx270_pm_sysclass); | ||
| 582 | if (error == 0) | ||
| 583 | error = sysdev_register(&cmx270_pm_device); | ||
| 584 | return error; | ||
| 585 | } | ||
| 586 | #else | ||
| 587 | static int __init cmx270_pm_init(void) { return 0; } | ||
| 588 | #endif | ||
| 589 | |||
| 590 | static void __init cmx270_init(void) | ||
| 591 | { | ||
| 592 | cmx270_pm_init(); | ||
| 593 | |||
| 594 | set_pxa_fb_info(cmx270_display); | ||
| 595 | |||
| 596 | /* register CM-X270 platform devices */ | ||
| 597 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | ||
| 598 | |||
| 599 | /* set MCI and OHCI platform parameters */ | ||
| 600 | pxa_set_mci_info(&cmx270_mci_platform_data); | ||
| 601 | pxa_set_ohci_info(&cmx270_ohci_platform_data); | ||
| 602 | |||
| 603 | /* This enables the STUART */ | ||
| 604 | pxa_gpio_mode(GPIO46_STRXD_MD); | ||
| 605 | pxa_gpio_mode(GPIO47_STTXD_MD); | ||
| 606 | |||
| 607 | /* This enables the BTUART */ | ||
| 608 | pxa_gpio_mode(GPIO42_BTRXD_MD); | ||
| 609 | pxa_gpio_mode(GPIO43_BTTXD_MD); | ||
| 610 | pxa_gpio_mode(GPIO44_BTCTS_MD); | ||
| 611 | pxa_gpio_mode(GPIO45_BTRTS_MD); | ||
| 612 | } | ||
| 613 | |||
| 614 | static void __init cmx270_init_irq(void) | ||
| 615 | { | ||
| 616 | pxa27x_init_irq(); | ||
| 617 | |||
| 618 | |||
| 619 | cmx270_pci_init_irq(); | ||
| 620 | |||
| 621 | /* Setup interrupt for dm9000 */ | ||
| 622 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_ETHIRQ)); | ||
| 623 | set_irq_type(CMX270_ETHIRQ, IRQT_RISING); | ||
| 624 | |||
| 625 | /* Setup interrupt for 2700G */ | ||
| 626 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_GFXIRQ)); | ||
| 627 | set_irq_type(CMX270_GFXIRQ, IRQT_FALLING); | ||
| 628 | } | ||
| 629 | |||
| 630 | static void __init cmx270_map_io(void) | ||
| 631 | { | ||
| 632 | pxa_map_io(); | ||
| 633 | iotable_init(cmx270_io_desc, ARRAY_SIZE(cmx270_io_desc)); | ||
| 634 | } | ||
| 635 | |||
| 636 | |||
| 637 | MACHINE_START(ARMCORE, "Compulab CM-x270") | ||
| 638 | .boot_params = 0xa0000100, | ||
| 639 | .phys_io = 0x40000000, | ||
| 640 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
| 641 | .map_io = cmx270_map_io, | ||
| 642 | .init_irq = cmx270_init_irq, | ||
| 643 | .timer = &pxa_timer, | ||
| 644 | .init_machine = cmx270_init, | ||
| 645 | MACHINE_END | ||
| diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 3cb23210b912..257b44094e4c 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
| @@ -108,6 +108,12 @@ config LEDS_GPIO | |||
| 108 | outputs. To be useful the particular board must have LEDs | 108 | outputs. To be useful the particular board must have LEDs | 
| 109 | and they must be connected to the GPIO lines. | 109 | and they must be connected to the GPIO lines. | 
| 110 | 110 | ||
| 111 | config LEDS_CM_X270 | ||
| 112 | tristate "LED Support for the CM-X270 LEDs" | ||
| 113 | depends on LEDS_CLASS && MACH_ARMCORE | ||
| 114 | help | ||
| 115 | This option enables support for the CM-X270 LEDs. | ||
| 116 | |||
| 111 | comment "LED Triggers" | 117 | comment "LED Triggers" | 
| 112 | 118 | ||
| 113 | config LEDS_TRIGGERS | 119 | config LEDS_TRIGGERS | 
| diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile index d2ca1abbc3d2..a60de1b46c2c 100644 --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile | |||
| @@ -18,6 +18,7 @@ obj-$(CONFIG_LEDS_H1940) += leds-h1940.o | |||
| 18 | obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o | 18 | obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o | 
| 19 | obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o | 19 | obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o | 
| 20 | obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o | 20 | obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o | 
| 21 | obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o | ||
| 21 | 22 | ||
| 22 | # LED Triggers | 23 | # LED Triggers | 
| 23 | obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o | 24 | obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o | 
| diff --git a/drivers/leds/leds-cm-x270.c b/drivers/leds/leds-cm-x270.c new file mode 100644 index 000000000000..9aebef02a974 --- /dev/null +++ b/drivers/leds/leds-cm-x270.c | |||
| @@ -0,0 +1,122 @@ | |||
| 1 | /* | ||
| 2 | * drivers/leds/leds-cm-x270.c | ||
| 3 | * | ||
| 4 | * Copyright 2007 CompuLab Ltd. | ||
| 5 | * Author: Mike Rapoport <mike@compulab.co.il> | ||
| 6 | * | ||
| 7 | * Based on leds-corgi.c | ||
| 8 | * Author: Richard Purdie <rpurdie@openedhand.com> | ||
| 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 | |||
| 16 | #include <linux/kernel.h> | ||
| 17 | #include <linux/init.h> | ||
| 18 | #include <linux/platform_device.h> | ||
| 19 | #include <linux/leds.h> | ||
| 20 | |||
| 21 | #include <asm/arch/hardware.h> | ||
| 22 | #include <asm/arch/pxa-regs.h> | ||
| 23 | |||
| 24 | #define GPIO_RED_LED (93) | ||
| 25 | #define GPIO_GREEN_LED (94) | ||
| 26 | |||
| 27 | static void cmx270_red_set(struct led_classdev *led_cdev, | ||
| 28 | enum led_brightness value) | ||
| 29 | { | ||
| 30 | if (value) | ||
| 31 | GPCR(GPIO_RED_LED) = GPIO_bit(GPIO_RED_LED); | ||
| 32 | else | ||
| 33 | GPSR(GPIO_RED_LED) = GPIO_bit(GPIO_RED_LED); | ||
| 34 | } | ||
| 35 | |||
| 36 | static void cmx270_green_set(struct led_classdev *led_cdev, | ||
| 37 | enum led_brightness value) | ||
| 38 | { | ||
| 39 | if (value) | ||
| 40 | GPCR(GPIO_GREEN_LED) = GPIO_bit(GPIO_GREEN_LED); | ||
| 41 | else | ||
| 42 | GPSR(GPIO_GREEN_LED) = GPIO_bit(GPIO_GREEN_LED); | ||
| 43 | } | ||
| 44 | |||
| 45 | static struct led_classdev cmx270_red_led = { | ||
| 46 | .name = "cm-x270:red", | ||
| 47 | .default_trigger = "nand-disk", | ||
| 48 | .brightness_set = cmx270_red_set, | ||
| 49 | }; | ||
| 50 | |||
| 51 | static struct led_classdev cmx270_green_led = { | ||
| 52 | .name = "cm-x270:green", | ||
| 53 | .default_trigger = "heartbeat", | ||
| 54 | .brightness_set = cmx270_green_set, | ||
| 55 | }; | ||
| 56 | |||
| 57 | #ifdef CONFIG_PM | ||
| 58 | static int cmx270led_suspend(struct platform_device *dev, pm_message_t state) | ||
| 59 | { | ||
| 60 | led_classdev_suspend(&cmx270_red_led); | ||
| 61 | led_classdev_suspend(&cmx270_green_led); | ||
| 62 | return 0; | ||
| 63 | } | ||
| 64 | |||
| 65 | static int cmx270led_resume(struct platform_device *dev) | ||
| 66 | { | ||
| 67 | led_classdev_resume(&cmx270_red_led); | ||
| 68 | led_classdev_resume(&cmx270_green_led); | ||
| 69 | return 0; | ||
| 70 | } | ||
| 71 | #endif | ||
| 72 | |||
| 73 | static int cmx270led_probe(struct platform_device *pdev) | ||
| 74 | { | ||
| 75 | int ret; | ||
| 76 | |||
| 77 | ret = led_classdev_register(&pdev->dev, &cmx270_red_led); | ||
| 78 | if (ret < 0) | ||
| 79 | return ret; | ||
| 80 | |||
| 81 | ret = led_classdev_register(&pdev->dev, &cmx270_green_led); | ||
| 82 | if (ret < 0) | ||
| 83 | led_classdev_unregister(&cmx270_red_led); | ||
| 84 | |||
| 85 | return ret; | ||
| 86 | } | ||
| 87 | |||
| 88 | static int cmx270led_remove(struct platform_device *pdev) | ||
| 89 | { | ||
| 90 | led_classdev_unregister(&cmx270_red_led); | ||
| 91 | led_classdev_unregister(&cmx270_green_led); | ||
| 92 | return 0; | ||
| 93 | } | ||
| 94 | |||
| 95 | static struct platform_driver cmx270led_driver = { | ||
| 96 | .probe = cmx270led_probe, | ||
| 97 | .remove = cmx270led_remove, | ||
| 98 | #ifdef CONFIG_PM | ||
| 99 | .suspend = cmx270led_suspend, | ||
| 100 | .resume = cmx270led_resume, | ||
| 101 | #endif | ||
| 102 | .driver = { | ||
| 103 | .name = "cm-x270-led", | ||
| 104 | }, | ||
| 105 | }; | ||
| 106 | |||
| 107 | static int __init cmx270led_init(void) | ||
| 108 | { | ||
| 109 | return platform_driver_register(&cmx270led_driver); | ||
| 110 | } | ||
| 111 | |||
| 112 | static void __exit cmx270led_exit(void) | ||
| 113 | { | ||
| 114 | platform_driver_unregister(&cmx270led_driver); | ||
| 115 | } | ||
| 116 | |||
| 117 | module_init(cmx270led_init); | ||
| 118 | module_exit(cmx270led_exit); | ||
| 119 | |||
| 120 | MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>"); | ||
| 121 | MODULE_DESCRIPTION("CM-x270 LED driver"); | ||
| 122 | MODULE_LICENSE("GPL"); | ||
| diff --git a/include/asm-arm/arch-pxa/cm-x270.h b/include/asm-arm/arch-pxa/cm-x270.h new file mode 100644 index 000000000000..f8fac9e18009 --- /dev/null +++ b/include/asm-arm/arch-pxa/cm-x270.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/asm/arch-pxa/cm-x270.h | ||
| 3 | * | ||
| 4 | * Copyright Compulab Ltd., 2003, 2007 | ||
| 5 | * Mike Rapoport <mike@compulab.co.il> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | |||
| 13 | /* CM-x270 device physical addresses */ | ||
| 14 | #define CMX270_CS1_PHYS (PXA_CS1_PHYS) | ||
| 15 | #define MARATHON_PHYS (PXA_CS2_PHYS) | ||
| 16 | #define CMX270_IDE104_PHYS (PXA_CS3_PHYS) | ||
| 17 | #define CMX270_IT8152_PHYS (PXA_CS4_PHYS) | ||
| 18 | |||
| 19 | /* Statically mapped regions */ | ||
| 20 | #define CMX270_VIRT_BASE (0xe8000000) | ||
| 21 | #define CMX270_IT8152_VIRT (CMX270_VIRT_BASE) | ||
| 22 | #define CMX270_IDE104_VIRT (CMX270_IT8152_VIRT + SZ_64M) | ||
| 23 | |||
| 24 | /* GPIO related definitions */ | ||
| 25 | #define GPIO_IT8152_IRQ (22) | ||
| 26 | |||
| 27 | #define IRQ_GPIO_IT8152_IRQ IRQ_GPIO(GPIO_IT8152_IRQ) | ||
| 28 | #define PME_IRQ IRQ_GPIO(0) | ||
| 29 | #define CMX270_IDE_IRQ IRQ_GPIO(100) | ||
| 30 | #define CMX270_GPIRQ1 IRQ_GPIO(101) | ||
| 31 | #define CMX270_TOUCHIRQ IRQ_GPIO(96) | ||
| 32 | #define CMX270_ETHIRQ IRQ_GPIO(10) | ||
| 33 | #define CMX270_GFXIRQ IRQ_GPIO(95) | ||
| 34 | #define CMX270_NANDIRQ IRQ_GPIO(89) | ||
| 35 | #define CMX270_MMC_IRQ IRQ_GPIO(83) | ||
| 36 | |||
| 37 | /* PCMCIA related definitions */ | ||
| 38 | #define PCC_DETECT(x) (GPLR(84 - (x)) & GPIO_bit(84 - (x))) | ||
| 39 | #define PCC_READY(x) (GPLR(82 - (x)) & GPIO_bit(82 - (x))) | ||
| 40 | |||
| 41 | #define PCMCIA_S0_CD_VALID IRQ_GPIO(84) | ||
| 42 | #define PCMCIA_S0_CD_VALID_EDGE GPIO_BOTH_EDGES | ||
| 43 | |||
| 44 | #define PCMCIA_S1_CD_VALID IRQ_GPIO(83) | ||
| 45 | #define PCMCIA_S1_CD_VALID_EDGE GPIO_BOTH_EDGES | ||
| 46 | |||
| 47 | #define PCMCIA_S0_RDYINT IRQ_GPIO(82) | ||
| 48 | #define PCMCIA_S1_RDYINT IRQ_GPIO(81) | ||
| 49 | |||
| 50 | #define PCMCIA_RESET_GPIO 53 | ||
| diff --git a/include/asm-arm/arch-pxa/dma.h b/include/asm-arm/arch-pxa/dma.h index 3280ee2ddfa5..dbe110ee2666 100644 --- a/include/asm-arm/arch-pxa/dma.h +++ b/include/asm-arm/arch-pxa/dma.h | |||
| @@ -30,6 +30,10 @@ typedef enum { | |||
| 30 | DMA_PRIO_LOW = 2 | 30 | DMA_PRIO_LOW = 2 | 
| 31 | } pxa_dma_prio; | 31 | } pxa_dma_prio; | 
| 32 | 32 | ||
| 33 | #if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI) | ||
| 34 | #define HAVE_ARCH_PCI_SET_DMA_MASK 1 | ||
| 35 | #endif | ||
| 36 | |||
| 33 | /* | 37 | /* | 
| 34 | * DMA registration | 38 | * DMA registration | 
| 35 | */ | 39 | */ | 
| diff --git a/include/asm-arm/arch-pxa/hardware.h b/include/asm-arm/arch-pxa/hardware.h index 89df077a7e24..ab2d963e742a 100644 --- a/include/asm-arm/arch-pxa/hardware.h +++ b/include/asm-arm/arch-pxa/hardware.h | |||
| @@ -215,4 +215,10 @@ extern unsigned int get_memclk_frequency_10khz(void); | |||
| 215 | 215 | ||
| 216 | #endif | 216 | #endif | 
| 217 | 217 | ||
| 218 | #if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI) | ||
| 219 | #define PCIBIOS_MIN_IO 0 | ||
| 220 | #define PCIBIOS_MIN_MEM 0 | ||
| 221 | #define pcibios_assign_all_busses() 1 | ||
| 222 | #endif | ||
| 223 | |||
| 218 | #endif /* _ASM_ARCH_HARDWARE_H */ | 224 | #endif /* _ASM_ARCH_HARDWARE_H */ | 
| diff --git a/include/asm-arm/arch-pxa/irqs.h b/include/asm-arm/arch-pxa/irqs.h index 1bcc7632b46c..6238dbf7a236 100644 --- a/include/asm-arm/arch-pxa/irqs.h +++ b/include/asm-arm/arch-pxa/irqs.h | |||
| @@ -210,3 +210,24 @@ | |||
| 210 | #define IRQ_LOCOMO_GPIO_BASE (IRQ_BOARD_START + 1) | 210 | #define IRQ_LOCOMO_GPIO_BASE (IRQ_BOARD_START + 1) | 
| 211 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) | 211 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) | 
| 212 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) | 212 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) | 
| 213 | |||
| 214 | /* ITE8152 irqs */ | ||
| 215 | /* add IT8152 IRQs beyond BOARD_END */ | ||
| 216 | #ifdef CONFIG_PCI_HOST_ITE8152 | ||
| 217 | #define IT8152_IRQ(x) (IRQ_GPIO(IRQ_BOARD_END) + 1 + (x)) | ||
| 218 | |||
| 219 | /* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ | ||
| 220 | #define IT8152_LD_IRQ_COUNT 9 | ||
| 221 | #define IT8152_LP_IRQ_COUNT 16 | ||
| 222 | #define IT8152_PD_IRQ_COUNT 15 | ||
| 223 | |||
| 224 | /* Priorities: */ | ||
| 225 | #define IT8152_PD_IRQ(i) IT8152_IRQ(i) | ||
| 226 | #define IT8152_LP_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT) | ||
| 227 | #define IT8152_LD_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT + IT8152_LP_IRQ_COUNT) | ||
| 228 | |||
| 229 | #define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1) | ||
| 230 | |||
| 231 | #undef NR_IRQS | ||
| 232 | #define NR_IRQS (IT8152_LAST_IRQ+1) | ||
| 233 | #endif | ||
| diff --git a/include/asm-arm/arch-pxa/memory.h b/include/asm-arm/arch-pxa/memory.h index e17f9881faf0..bee81d66c184 100644 --- a/include/asm-arm/arch-pxa/memory.h +++ b/include/asm-arm/arch-pxa/memory.h | |||
| @@ -39,4 +39,14 @@ | |||
| 39 | */ | 39 | */ | 
| 40 | #define NODE_MEM_SIZE_BITS 26 | 40 | #define NODE_MEM_SIZE_BITS 26 | 
| 41 | 41 | ||
| 42 | #if !defined(__ASSEMBLY__) && defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI) | ||
| 43 | void cmx270_pci_adjust_zones(int node, unsigned long *size, | ||
| 44 | unsigned long *holes); | ||
| 45 | |||
| 46 | #define arch_adjust_zones(node, size, holes) \ | ||
| 47 | cmx270_pci_adjust_zones(node, size, holes) | ||
| 48 | |||
| 49 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_64M - 1) | ||
| 50 | #endif | ||
| 51 | |||
| 42 | #endif | 52 | #endif | 
