diff options
| -rw-r--r-- | arch/arm/configs/pcm037_defconfig | 748 | ||||
| -rw-r--r-- | arch/arm/mach-mx3/Kconfig | 6 | ||||
| -rw-r--r-- | arch/arm/mach-mx3/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/mach-mx3/pcm037.c | 130 | ||||
| -rw-r--r-- | include/asm-arm/arch-mxc/board-pcm037.h | 27 | ||||
| -rw-r--r-- | include/asm-arm/arch-mxc/debug-macro.S | 3 |
6 files changed, 915 insertions, 0 deletions
diff --git a/arch/arm/configs/pcm037_defconfig b/arch/arm/configs/pcm037_defconfig new file mode 100644 index 000000000000..627474586470 --- /dev/null +++ b/arch/arm/configs/pcm037_defconfig | |||
| @@ -0,0 +1,748 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.26-rc6 | ||
| 4 | # Wed Jun 25 11:52:42 2008 | ||
| 5 | # | ||
| 6 | CONFIG_ARM=y | ||
| 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
| 8 | CONFIG_GENERIC_GPIO=y | ||
| 9 | CONFIG_GENERIC_TIME=y | ||
| 10 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 11 | CONFIG_MMU=y | ||
| 12 | # CONFIG_NO_IOPORT is not set | ||
| 13 | CONFIG_GENERIC_HARDIRQS=y | ||
| 14 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 15 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 16 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
| 17 | CONFIG_HARDIRQS_SW_RESEND=y | ||
| 18 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 19 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
| 20 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
| 21 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
| 22 | CONFIG_GENERIC_HWEIGHT=y | ||
| 23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 24 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
| 25 | CONFIG_ZONE_DMA=y | ||
| 26 | CONFIG_ARCH_MTD_XIP=y | ||
| 27 | CONFIG_VECTORS_BASE=0xffff0000 | ||
| 28 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 29 | |||
| 30 | # | ||
| 31 | # General setup | ||
| 32 | # | ||
| 33 | CONFIG_EXPERIMENTAL=y | ||
| 34 | CONFIG_BROKEN_ON_SMP=y | ||
| 35 | CONFIG_LOCK_KERNEL=y | ||
| 36 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 37 | CONFIG_LOCALVERSION="" | ||
| 38 | CONFIG_LOCALVERSION_AUTO=y | ||
| 39 | CONFIG_SWAP=y | ||
| 40 | CONFIG_SYSVIPC=y | ||
| 41 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 42 | # CONFIG_POSIX_MQUEUE is not set | ||
| 43 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
| 44 | # CONFIG_TASKSTATS is not set | ||
| 45 | # CONFIG_AUDIT is not set | ||
| 46 | CONFIG_IKCONFIG=y | ||
| 47 | CONFIG_IKCONFIG_PROC=y | ||
| 48 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 49 | # CONFIG_CGROUPS is not set | ||
| 50 | CONFIG_GROUP_SCHED=y | ||
| 51 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 52 | # CONFIG_RT_GROUP_SCHED is not set | ||
| 53 | CONFIG_USER_SCHED=y | ||
| 54 | # CONFIG_CGROUP_SCHED is not set | ||
| 55 | CONFIG_SYSFS_DEPRECATED=y | ||
| 56 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
| 57 | # CONFIG_RELAY is not set | ||
| 58 | # CONFIG_NAMESPACES is not set | ||
| 59 | # CONFIG_BLK_DEV_INITRD is not set | ||
| 60 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
| 61 | CONFIG_SYSCTL=y | ||
| 62 | CONFIG_EMBEDDED=y | ||
| 63 | CONFIG_UID16=y | ||
| 64 | CONFIG_SYSCTL_SYSCALL=y | ||
| 65 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 66 | CONFIG_KALLSYMS=y | ||
| 67 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
| 68 | CONFIG_HOTPLUG=y | ||
| 69 | CONFIG_PRINTK=y | ||
| 70 | CONFIG_BUG=y | ||
| 71 | CONFIG_ELF_CORE=y | ||
| 72 | CONFIG_COMPAT_BRK=y | ||
| 73 | CONFIG_BASE_FULL=y | ||
| 74 | CONFIG_FUTEX=y | ||
| 75 | CONFIG_ANON_INODES=y | ||
| 76 | CONFIG_EPOLL=y | ||
| 77 | CONFIG_SIGNALFD=y | ||
| 78 | CONFIG_TIMERFD=y | ||
| 79 | CONFIG_EVENTFD=y | ||
| 80 | CONFIG_SHMEM=y | ||
| 81 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 82 | CONFIG_SLAB=y | ||
| 83 | # CONFIG_SLUB is not set | ||
| 84 | # CONFIG_SLOB is not set | ||
| 85 | # CONFIG_PROFILING is not set | ||
| 86 | # CONFIG_MARKERS is not set | ||
| 87 | CONFIG_HAVE_OPROFILE=y | ||
| 88 | # CONFIG_KPROBES is not set | ||
| 89 | CONFIG_HAVE_KPROBES=y | ||
| 90 | CONFIG_HAVE_KRETPROBES=y | ||
| 91 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
| 92 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 93 | CONFIG_SLABINFO=y | ||
| 94 | CONFIG_RT_MUTEXES=y | ||
| 95 | # CONFIG_TINY_SHMEM is not set | ||
| 96 | CONFIG_BASE_SMALL=0 | ||
| 97 | CONFIG_MODULES=y | ||
| 98 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
| 99 | CONFIG_MODULE_UNLOAD=y | ||
| 100 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
| 101 | CONFIG_MODVERSIONS=y | ||
| 102 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 103 | CONFIG_KMOD=y | ||
| 104 | CONFIG_BLOCK=y | ||
| 105 | # CONFIG_LBD is not set | ||
| 106 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 107 | # CONFIG_LSF is not set | ||
| 108 | # CONFIG_BLK_DEV_BSG is not set | ||
| 109 | |||
| 110 | # | ||
| 111 | # IO Schedulers | ||
| 112 | # | ||
| 113 | CONFIG_IOSCHED_NOOP=y | ||
| 114 | CONFIG_IOSCHED_AS=y | ||
| 115 | CONFIG_IOSCHED_DEADLINE=y | ||
| 116 | CONFIG_IOSCHED_CFQ=y | ||
| 117 | # CONFIG_DEFAULT_AS is not set | ||
| 118 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 119 | CONFIG_DEFAULT_CFQ=y | ||
| 120 | # CONFIG_DEFAULT_NOOP is not set | ||
| 121 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
| 122 | CONFIG_CLASSIC_RCU=y | ||
| 123 | |||
| 124 | # | ||
| 125 | # System Type | ||
| 126 | # | ||
| 127 | # CONFIG_ARCH_AAEC2000 is not set | ||
| 128 | # CONFIG_ARCH_INTEGRATOR is not set | ||
| 129 | # CONFIG_ARCH_REALVIEW is not set | ||
| 130 | # CONFIG_ARCH_VERSATILE is not set | ||
| 131 | # CONFIG_ARCH_AT91 is not set | ||
| 132 | # CONFIG_ARCH_CLPS7500 is not set | ||
| 133 | # CONFIG_ARCH_CLPS711X is not set | ||
| 134 | # CONFIG_ARCH_CO285 is not set | ||
| 135 | # CONFIG_ARCH_EBSA110 is not set | ||
| 136 | # CONFIG_ARCH_EP93XX is not set | ||
| 137 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
| 138 | # CONFIG_ARCH_NETX is not set | ||
| 139 | # CONFIG_ARCH_H720X is not set | ||
| 140 | # CONFIG_ARCH_IMX is not set | ||
| 141 | # CONFIG_ARCH_IOP13XX is not set | ||
| 142 | # CONFIG_ARCH_IOP32X is not set | ||
| 143 | # CONFIG_ARCH_IOP33X is not set | ||
| 144 | # CONFIG_ARCH_IXP23XX is not set | ||
| 145 | # CONFIG_ARCH_IXP2000 is not set | ||
| 146 | # CONFIG_ARCH_IXP4XX is not set | ||
| 147 | # CONFIG_ARCH_L7200 is not set | ||
| 148 | # CONFIG_ARCH_KS8695 is not set | ||
| 149 | # CONFIG_ARCH_NS9XXX is not set | ||
| 150 | CONFIG_ARCH_MXC=y | ||
| 151 | # CONFIG_ARCH_ORION5X is not set | ||
| 152 | # CONFIG_ARCH_PNX4008 is not set | ||
| 153 | # CONFIG_ARCH_PXA is not set | ||
| 154 | # CONFIG_ARCH_RPC is not set | ||
| 155 | # CONFIG_ARCH_SA1100 is not set | ||
| 156 | # CONFIG_ARCH_S3C2410 is not set | ||
| 157 | # CONFIG_ARCH_SHARK is not set | ||
| 158 | # CONFIG_ARCH_LH7A40X is not set | ||
| 159 | # CONFIG_ARCH_DAVINCI is not set | ||
| 160 | # CONFIG_ARCH_OMAP is not set | ||
| 161 | # CONFIG_ARCH_MSM7X00A is not set | ||
| 162 | |||
| 163 | # | ||
| 164 | # Boot options | ||
| 165 | # | ||
| 166 | |||
| 167 | # | ||
| 168 | # Power management | ||
| 169 | # | ||
| 170 | |||
| 171 | # | ||
| 172 | # Freescale MXC Implementations | ||
| 173 | # | ||
| 174 | CONFIG_ARCH_MX3=y | ||
| 175 | |||
| 176 | # | ||
| 177 | # MX3 Options | ||
| 178 | # | ||
| 179 | # CONFIG_MACH_MX31ADS is not set | ||
| 180 | CONFIG_MACH_PCM037=y | ||
| 181 | |||
| 182 | # | ||
| 183 | # Processor Type | ||
| 184 | # | ||
| 185 | CONFIG_CPU_32=y | ||
| 186 | CONFIG_CPU_V6=y | ||
| 187 | # CONFIG_CPU_32v6K is not set | ||
| 188 | CONFIG_CPU_32v6=y | ||
| 189 | CONFIG_CPU_ABRT_EV6=y | ||
| 190 | CONFIG_CPU_PABRT_NOIFAR=y | ||
| 191 | CONFIG_CPU_CACHE_V6=y | ||
| 192 | CONFIG_CPU_CACHE_VIPT=y | ||
| 193 | CONFIG_CPU_COPY_V6=y | ||
| 194 | CONFIG_CPU_TLB_V6=y | ||
| 195 | CONFIG_CPU_HAS_ASID=y | ||
| 196 | CONFIG_CPU_CP15=y | ||
| 197 | CONFIG_CPU_CP15_MMU=y | ||
| 198 | |||
| 199 | # | ||
| 200 | # Processor Features | ||
| 201 | # | ||
| 202 | CONFIG_ARM_THUMB=y | ||
| 203 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
| 204 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
| 205 | # CONFIG_CPU_BPREDICT_DISABLE is not set | ||
| 206 | # CONFIG_OUTER_CACHE is not set | ||
| 207 | |||
| 208 | # | ||
| 209 | # Bus support | ||
| 210 | # | ||
| 211 | # CONFIG_PCI_SYSCALL is not set | ||
| 212 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
| 213 | # CONFIG_PCCARD is not set | ||
| 214 | |||
| 215 | # | ||
| 216 | # Kernel Features | ||
| 217 | # | ||
| 218 | CONFIG_TICK_ONESHOT=y | ||
| 219 | CONFIG_NO_HZ=y | ||
| 220 | CONFIG_HIGH_RES_TIMERS=y | ||
| 221 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 222 | CONFIG_PREEMPT=y | ||
| 223 | CONFIG_HZ=100 | ||
| 224 | CONFIG_AEABI=y | ||
| 225 | # CONFIG_OABI_COMPAT is not set | ||
| 226 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
| 227 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 228 | CONFIG_FLATMEM_MANUAL=y | ||
| 229 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 230 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 231 | CONFIG_FLATMEM=y | ||
| 232 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 233 | # CONFIG_SPARSEMEM_STATIC is not set | ||
| 234 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 235 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
| 236 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 237 | # CONFIG_RESOURCES_64BIT is not set | ||
| 238 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 239 | CONFIG_BOUNCE=y | ||
| 240 | CONFIG_VIRT_TO_BUS=y | ||
| 241 | CONFIG_ALIGNMENT_TRAP=y | ||
| 242 | |||
| 243 | # | ||
| 244 | # Boot options | ||
| 245 | # | ||
| 246 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
| 247 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
| 248 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw ip=off" | ||
| 249 | # CONFIG_XIP_KERNEL is not set | ||
| 250 | # CONFIG_KEXEC is not set | ||
| 251 | |||
| 252 | # | ||
| 253 | # Floating point emulation | ||
| 254 | # | ||
| 255 | |||
| 256 | # | ||
| 257 | # At least one emulation must be selected | ||
| 258 | # | ||
| 259 | CONFIG_VFP=y | ||
| 260 | |||
| 261 | # | ||
| 262 | # Userspace binary formats | ||
| 263 | # | ||
| 264 | CONFIG_BINFMT_ELF=y | ||
| 265 | # CONFIG_BINFMT_AOUT is not set | ||
| 266 | # CONFIG_BINFMT_MISC is not set | ||
| 267 | |||
| 268 | # | ||
| 269 | # Power management options | ||
| 270 | # | ||
| 271 | # CONFIG_PM is not set | ||
| 272 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
| 273 | |||
| 274 | # | ||
| 275 | # Networking | ||
| 276 | # | ||
| 277 | CONFIG_NET=y | ||
| 278 | |||
| 279 | # | ||
| 280 | # Networking options | ||
| 281 | # | ||
| 282 | CONFIG_PACKET=y | ||
| 283 | # CONFIG_PACKET_MMAP is not set | ||
| 284 | CONFIG_UNIX=y | ||
| 285 | # CONFIG_NET_KEY is not set | ||
| 286 | CONFIG_INET=y | ||
| 287 | # CONFIG_IP_MULTICAST is not set | ||
| 288 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
| 289 | CONFIG_IP_FIB_HASH=y | ||
| 290 | CONFIG_IP_PNP=y | ||
| 291 | CONFIG_IP_PNP_DHCP=y | ||
| 292 | # CONFIG_IP_PNP_BOOTP is not set | ||
| 293 | # CONFIG_IP_PNP_RARP is not set | ||
| 294 | # CONFIG_NET_IPIP is not set | ||
| 295 | # CONFIG_NET_IPGRE is not set | ||
| 296 | # CONFIG_ARPD is not set | ||
| 297 | # CONFIG_SYN_COOKIES is not set | ||
| 298 | # CONFIG_INET_AH is not set | ||
| 299 | # CONFIG_INET_ESP is not set | ||
| 300 | # CONFIG_INET_IPCOMP is not set | ||
| 301 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 302 | # CONFIG_INET_TUNNEL is not set | ||
| 303 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 304 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 305 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 306 | # CONFIG_INET_LRO is not set | ||
| 307 | # CONFIG_INET_DIAG is not set | ||
| 308 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 309 | CONFIG_TCP_CONG_CUBIC=y | ||
| 310 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 311 | # CONFIG_TCP_MD5SIG is not set | ||
| 312 | # CONFIG_IPV6 is not set | ||
| 313 | # CONFIG_NETWORK_SECMARK is not set | ||
| 314 | # CONFIG_NETFILTER is not set | ||
| 315 | # CONFIG_IP_DCCP is not set | ||
| 316 | # CONFIG_IP_SCTP is not set | ||
| 317 | # CONFIG_TIPC is not set | ||
| 318 | # CONFIG_ATM is not set | ||
| 319 | # CONFIG_BRIDGE is not set | ||
| 320 | # CONFIG_VLAN_8021Q is not set | ||
| 321 | # CONFIG_DECNET is not set | ||
| 322 | # CONFIG_LLC2 is not set | ||
| 323 | # CONFIG_IPX is not set | ||
| 324 | # CONFIG_ATALK is not set | ||
| 325 | # CONFIG_X25 is not set | ||
| 326 | # CONFIG_LAPB is not set | ||
| 327 | # CONFIG_ECONET is not set | ||
| 328 | # CONFIG_WAN_ROUTER is not set | ||
| 329 | # CONFIG_NET_SCHED is not set | ||
| 330 | |||
| 331 | # | ||
| 332 | # Network testing | ||
| 333 | # | ||
| 334 | # CONFIG_NET_PKTGEN is not set | ||
| 335 | # CONFIG_HAMRADIO is not set | ||
| 336 | # CONFIG_CAN is not set | ||
| 337 | # CONFIG_IRDA is not set | ||
| 338 | # CONFIG_BT is not set | ||
| 339 | # CONFIG_AF_RXRPC is not set | ||
| 340 | |||
| 341 | # | ||
| 342 | # Wireless | ||
| 343 | # | ||
| 344 | # CONFIG_CFG80211 is not set | ||
| 345 | # CONFIG_WIRELESS_EXT is not set | ||
| 346 | # CONFIG_MAC80211 is not set | ||
| 347 | # CONFIG_IEEE80211 is not set | ||
| 348 | # CONFIG_RFKILL is not set | ||
| 349 | # CONFIG_NET_9P is not set | ||
| 350 | |||
| 351 | # | ||
| 352 | # Device Drivers | ||
| 353 | # | ||
| 354 | |||
| 355 | # | ||
| 356 | # Generic Driver Options | ||
| 357 | # | ||
| 358 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 359 | CONFIG_STANDALONE=y | ||
| 360 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 361 | CONFIG_FW_LOADER=m | ||
| 362 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 363 | # CONFIG_CONNECTOR is not set | ||
| 364 | CONFIG_MTD=y | ||
| 365 | # CONFIG_MTD_DEBUG is not set | ||
| 366 | # CONFIG_MTD_CONCAT is not set | ||
| 367 | CONFIG_MTD_PARTITIONS=y | ||
| 368 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 369 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 370 | # CONFIG_MTD_AFS_PARTS is not set | ||
| 371 | # CONFIG_MTD_AR7_PARTS is not set | ||
| 372 | |||
| 373 | # | ||
| 374 | # User Modules And Translation Layers | ||
| 375 | # | ||
| 376 | CONFIG_MTD_CHAR=y | ||
| 377 | CONFIG_MTD_BLKDEVS=y | ||
| 378 | CONFIG_MTD_BLOCK=y | ||
| 379 | # CONFIG_FTL is not set | ||
| 380 | # CONFIG_NFTL is not set | ||
| 381 | # CONFIG_INFTL is not set | ||
| 382 | # CONFIG_RFD_FTL is not set | ||
| 383 | # CONFIG_SSFDC is not set | ||
| 384 | # CONFIG_MTD_OOPS is not set | ||
| 385 | |||
| 386 | # | ||
| 387 | # RAM/ROM/Flash chip drivers | ||
| 388 | # | ||
| 389 | CONFIG_MTD_CFI=y | ||
| 390 | # CONFIG_MTD_JEDECPROBE is not set | ||
| 391 | CONFIG_MTD_GEN_PROBE=y | ||
| 392 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
| 393 | # CONFIG_MTD_CFI_NOSWAP is not set | ||
| 394 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
| 395 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
| 396 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 397 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 398 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 399 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 400 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 401 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 402 | CONFIG_MTD_CFI_I1=y | ||
| 403 | CONFIG_MTD_CFI_I2=y | ||
| 404 | # CONFIG_MTD_CFI_I4 is not set | ||
| 405 | # CONFIG_MTD_CFI_I8 is not set | ||
| 406 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
| 407 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
| 408 | # CONFIG_MTD_CFI_STAA is not set | ||
| 409 | # CONFIG_MTD_RAM is not set | ||
| 410 | # CONFIG_MTD_ROM is not set | ||
| 411 | # CONFIG_MTD_ABSENT is not set | ||
| 412 | |||
| 413 | # | ||
| 414 | # Mapping drivers for chip access | ||
| 415 | # | ||
| 416 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
| 417 | CONFIG_MTD_PHYSMAP=y | ||
| 418 | CONFIG_MTD_PHYSMAP_START=0x0 | ||
| 419 | CONFIG_MTD_PHYSMAP_LEN=0 | ||
| 420 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
| 421 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
| 422 | # CONFIG_MTD_PLATRAM is not set | ||
| 423 | |||
| 424 | # | ||
| 425 | # Self-contained MTD device drivers | ||
| 426 | # | ||
| 427 | # CONFIG_MTD_SLRAM is not set | ||
| 428 | # CONFIG_MTD_PHRAM is not set | ||
| 429 | # CONFIG_MTD_MTDRAM is not set | ||
| 430 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 431 | |||
| 432 | # | ||
| 433 | # Disk-On-Chip Device Drivers | ||
| 434 | # | ||
| 435 | # CONFIG_MTD_DOC2000 is not set | ||
| 436 | # CONFIG_MTD_DOC2001 is not set | ||
| 437 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 438 | # CONFIG_MTD_NAND is not set | ||
| 439 | # CONFIG_MTD_ONENAND is not set | ||
| 440 | |||
| 441 | # | ||
| 442 | # UBI - Unsorted block images | ||
| 443 | # | ||
| 444 | # CONFIG_MTD_UBI is not set | ||
| 445 | # CONFIG_PARPORT is not set | ||
| 446 | # CONFIG_BLK_DEV is not set | ||
| 447 | # CONFIG_MISC_DEVICES is not set | ||
| 448 | CONFIG_HAVE_IDE=y | ||
| 449 | # CONFIG_IDE is not set | ||
| 450 | |||
| 451 | # | ||
| 452 | # SCSI device support | ||
| 453 | # | ||
| 454 | # CONFIG_RAID_ATTRS is not set | ||
| 455 | # CONFIG_SCSI is not set | ||
| 456 | # CONFIG_SCSI_DMA is not set | ||
| 457 | # CONFIG_SCSI_NETLINK is not set | ||
| 458 | # CONFIG_ATA is not set | ||
| 459 | # CONFIG_MD is not set | ||
| 460 | CONFIG_NETDEVICES=y | ||
| 461 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 462 | # CONFIG_DUMMY is not set | ||
| 463 | # CONFIG_BONDING is not set | ||
| 464 | # CONFIG_MACVLAN is not set | ||
| 465 | # CONFIG_EQUALIZER is not set | ||
| 466 | # CONFIG_TUN is not set | ||
| 467 | # CONFIG_VETH is not set | ||
| 468 | # CONFIG_PHYLIB is not set | ||
| 469 | CONFIG_NET_ETHERNET=y | ||
| 470 | CONFIG_MII=y | ||
| 471 | # CONFIG_AX88796 is not set | ||
| 472 | CONFIG_SMC91X=y | ||
| 473 | # CONFIG_DM9000 is not set | ||
| 474 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 475 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 476 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 477 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 478 | # CONFIG_B44 is not set | ||
| 479 | # CONFIG_NETDEV_1000 is not set | ||
| 480 | # CONFIG_NETDEV_10000 is not set | ||
| 481 | |||
| 482 | # | ||
| 483 | # Wireless LAN | ||
| 484 | # | ||
| 485 | # CONFIG_WLAN_PRE80211 is not set | ||
| 486 | # CONFIG_WLAN_80211 is not set | ||
| 487 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 488 | # CONFIG_WAN is not set | ||
| 489 | # CONFIG_PPP is not set | ||
| 490 | # CONFIG_SLIP is not set | ||
| 491 | # CONFIG_NETCONSOLE is not set | ||
| 492 | # CONFIG_NETPOLL is not set | ||
| 493 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 494 | # CONFIG_ISDN is not set | ||
| 495 | |||
| 496 | # | ||
| 497 | # Input device support | ||
| 498 | # | ||
| 499 | # CONFIG_INPUT is not set | ||
| 500 | |||
| 501 | # | ||
| 502 | # Hardware I/O ports | ||
| 503 | # | ||
| 504 | # CONFIG_SERIO is not set | ||
| 505 | # CONFIG_GAMEPORT is not set | ||
| 506 | |||
| 507 | # | ||
| 508 | # Character devices | ||
| 509 | # | ||
| 510 | # CONFIG_VT is not set | ||
| 511 | CONFIG_DEVKMEM=y | ||
| 512 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 513 | |||
| 514 | # | ||
| 515 | # Serial drivers | ||
| 516 | # | ||
| 517 | # CONFIG_SERIAL_8250 is not set | ||
| 518 | |||
| 519 | # | ||
| 520 | # Non-8250 serial port support | ||
| 521 | # | ||
| 522 | CONFIG_SERIAL_IMX=y | ||
| 523 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
| 524 | CONFIG_SERIAL_CORE=y | ||
| 525 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 526 | CONFIG_UNIX98_PTYS=y | ||
| 527 | # CONFIG_LEGACY_PTYS is not set | ||
| 528 | # CONFIG_IPMI_HANDLER is not set | ||
| 529 | # CONFIG_HW_RANDOM is not set | ||
| 530 | # CONFIG_NVRAM is not set | ||
| 531 | # CONFIG_R3964 is not set | ||
| 532 | # CONFIG_RAW_DRIVER is not set | ||
| 533 | # CONFIG_TCG_TPM is not set | ||
| 534 | # CONFIG_I2C is not set | ||
| 535 | # CONFIG_SPI is not set | ||
| 536 | CONFIG_HAVE_GPIO_LIB=y | ||
| 537 | |||
| 538 | # | ||
| 539 | # GPIO Support | ||
| 540 | # | ||
| 541 | |||
| 542 | # | ||
| 543 | # I2C GPIO expanders: | ||
| 544 | # | ||
| 545 | |||
| 546 | # | ||
| 547 | # SPI GPIO expanders: | ||
| 548 | # | ||
| 549 | # CONFIG_W1 is not set | ||
| 550 | # CONFIG_POWER_SUPPLY is not set | ||
| 551 | # CONFIG_HWMON is not set | ||
| 552 | # CONFIG_WATCHDOG is not set | ||
| 553 | |||
| 554 | # | ||
| 555 | # Sonics Silicon Backplane | ||
| 556 | # | ||
| 557 | CONFIG_SSB_POSSIBLE=y | ||
| 558 | # CONFIG_SSB is not set | ||
| 559 | |||
| 560 | # | ||
| 561 | # Multifunction device drivers | ||
| 562 | # | ||
| 563 | # CONFIG_MFD_SM501 is not set | ||
| 564 | # CONFIG_MFD_ASIC3 is not set | ||
| 565 | # CONFIG_HTC_EGPIO is not set | ||
| 566 | # CONFIG_HTC_PASIC3 is not set | ||
| 567 | |||
| 568 | # | ||
| 569 | # Multimedia devices | ||
| 570 | # | ||
| 571 | |||
| 572 | # | ||
| 573 | # Multimedia core support | ||
| 574 | # | ||
| 575 | # CONFIG_VIDEO_DEV is not set | ||
| 576 | # CONFIG_DVB_CORE is not set | ||
| 577 | # CONFIG_VIDEO_MEDIA is not set | ||
| 578 | |||
| 579 | # | ||
| 580 | # Multimedia drivers | ||
| 581 | # | ||
| 582 | # CONFIG_DAB is not set | ||
| 583 | |||
| 584 | # | ||
| 585 | # Graphics support | ||
| 586 | # | ||
| 587 | # CONFIG_VGASTATE is not set | ||
| 588 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 589 | # CONFIG_FB is not set | ||
| 590 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 591 | |||
| 592 | # | ||
| 593 | # Display device support | ||
| 594 | # | ||
| 595 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 596 | |||
| 597 | # | ||
| 598 | # Sound | ||
| 599 | # | ||
| 600 | # CONFIG_SOUND is not set | ||
| 601 | # CONFIG_USB_SUPPORT is not set | ||
| 602 | # CONFIG_MMC is not set | ||
| 603 | # CONFIG_NEW_LEDS is not set | ||
| 604 | CONFIG_RTC_LIB=y | ||
| 605 | # CONFIG_RTC_CLASS is not set | ||
| 606 | # CONFIG_UIO is not set | ||
| 607 | |||
| 608 | # | ||
| 609 | # File systems | ||
| 610 | # | ||
| 611 | # CONFIG_EXT2_FS is not set | ||
| 612 | # CONFIG_EXT3_FS is not set | ||
| 613 | # CONFIG_EXT4DEV_FS is not set | ||
| 614 | # CONFIG_REISERFS_FS is not set | ||
| 615 | # CONFIG_JFS_FS is not set | ||
| 616 | # CONFIG_FS_POSIX_ACL is not set | ||
| 617 | # CONFIG_XFS_FS is not set | ||
| 618 | # CONFIG_OCFS2_FS is not set | ||
| 619 | # CONFIG_DNOTIFY is not set | ||
| 620 | CONFIG_INOTIFY=y | ||
| 621 | CONFIG_INOTIFY_USER=y | ||
| 622 | # CONFIG_QUOTA is not set | ||
| 623 | # CONFIG_AUTOFS_FS is not set | ||
| 624 | # CONFIG_AUTOFS4_FS is not set | ||
| 625 | # CONFIG_FUSE_FS is not set | ||
| 626 | |||
| 627 | # | ||
| 628 | # CD-ROM/DVD Filesystems | ||
| 629 | # | ||
| 630 | # CONFIG_ISO9660_FS is not set | ||
| 631 | # CONFIG_UDF_FS is not set | ||
| 632 | |||
| 633 | # | ||
| 634 | # DOS/FAT/NT Filesystems | ||
| 635 | # | ||
| 636 | # CONFIG_MSDOS_FS is not set | ||
| 637 | # CONFIG_VFAT_FS is not set | ||
| 638 | # CONFIG_NTFS_FS is not set | ||
| 639 | |||
| 640 | # | ||
| 641 | # Pseudo filesystems | ||
| 642 | # | ||
| 643 | CONFIG_PROC_FS=y | ||
| 644 | CONFIG_PROC_SYSCTL=y | ||
| 645 | CONFIG_SYSFS=y | ||
| 646 | CONFIG_TMPFS=y | ||
| 647 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 648 | # CONFIG_HUGETLB_PAGE is not set | ||
| 649 | # CONFIG_CONFIGFS_FS is not set | ||
| 650 | |||
| 651 | # | ||
| 652 | # Miscellaneous filesystems | ||
| 653 | # | ||
| 654 | # CONFIG_ADFS_FS is not set | ||
| 655 | # CONFIG_AFFS_FS is not set | ||
| 656 | # CONFIG_HFS_FS is not set | ||
| 657 | # CONFIG_HFSPLUS_FS is not set | ||
| 658 | # CONFIG_BEFS_FS is not set | ||
| 659 | # CONFIG_BFS_FS is not set | ||
| 660 | # CONFIG_EFS_FS is not set | ||
| 661 | CONFIG_JFFS2_FS=y | ||
| 662 | CONFIG_JFFS2_FS_DEBUG=0 | ||
| 663 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
| 664 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 665 | # CONFIG_JFFS2_SUMMARY is not set | ||
| 666 | # CONFIG_JFFS2_FS_XATTR is not set | ||
| 667 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
| 668 | CONFIG_JFFS2_ZLIB=y | ||
| 669 | # CONFIG_JFFS2_LZO is not set | ||
| 670 | CONFIG_JFFS2_RTIME=y | ||
| 671 | # CONFIG_JFFS2_RUBIN is not set | ||
| 672 | # CONFIG_CRAMFS is not set | ||
| 673 | # CONFIG_VXFS_FS is not set | ||
| 674 | # CONFIG_MINIX_FS is not set | ||
| 675 | # CONFIG_HPFS_FS is not set | ||
| 676 | # CONFIG_QNX4FS_FS is not set | ||
| 677 | # CONFIG_ROMFS_FS is not set | ||
| 678 | # CONFIG_SYSV_FS is not set | ||
| 679 | # CONFIG_UFS_FS is not set | ||
| 680 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 681 | CONFIG_NFS_FS=y | ||
| 682 | # CONFIG_NFS_V3 is not set | ||
| 683 | # CONFIG_NFS_V4 is not set | ||
| 684 | # CONFIG_NFSD is not set | ||
| 685 | CONFIG_ROOT_NFS=y | ||
| 686 | CONFIG_LOCKD=y | ||
| 687 | CONFIG_NFS_COMMON=y | ||
| 688 | CONFIG_SUNRPC=y | ||
| 689 | # CONFIG_SUNRPC_BIND34 is not set | ||
| 690 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
| 691 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 692 | # CONFIG_SMB_FS is not set | ||
| 693 | # CONFIG_CIFS is not set | ||
| 694 | # CONFIG_NCP_FS is not set | ||
| 695 | # CONFIG_CODA_FS is not set | ||
| 696 | # CONFIG_AFS_FS is not set | ||
| 697 | |||
| 698 | # | ||
| 699 | # Partition Types | ||
| 700 | # | ||
| 701 | # CONFIG_PARTITION_ADVANCED is not set | ||
| 702 | CONFIG_MSDOS_PARTITION=y | ||
| 703 | # CONFIG_NLS is not set | ||
| 704 | # CONFIG_DLM is not set | ||
| 705 | |||
| 706 | # | ||
| 707 | # Kernel hacking | ||
| 708 | # | ||
| 709 | # CONFIG_PRINTK_TIME is not set | ||
| 710 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
| 711 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
| 712 | CONFIG_FRAME_WARN=1024 | ||
| 713 | # CONFIG_MAGIC_SYSRQ is not set | ||
| 714 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 715 | # CONFIG_DEBUG_FS is not set | ||
| 716 | # CONFIG_HEADERS_CHECK is not set | ||
| 717 | # CONFIG_DEBUG_KERNEL is not set | ||
| 718 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 719 | CONFIG_FRAME_POINTER=y | ||
| 720 | # CONFIG_SAMPLES is not set | ||
| 721 | # CONFIG_DEBUG_USER is not set | ||
| 722 | |||
| 723 | # | ||
| 724 | # Security options | ||
| 725 | # | ||
| 726 | # CONFIG_KEYS is not set | ||
| 727 | # CONFIG_SECURITY is not set | ||
| 728 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
| 729 | # CONFIG_CRYPTO is not set | ||
| 730 | |||
| 731 | # | ||
| 732 | # Library routines | ||
| 733 | # | ||
| 734 | CONFIG_BITREVERSE=y | ||
| 735 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
| 736 | # CONFIG_GENERIC_FIND_NEXT_BIT is not set | ||
| 737 | # CONFIG_CRC_CCITT is not set | ||
| 738 | # CONFIG_CRC16 is not set | ||
| 739 | # CONFIG_CRC_ITU_T is not set | ||
| 740 | CONFIG_CRC32=y | ||
| 741 | # CONFIG_CRC7 is not set | ||
| 742 | # CONFIG_LIBCRC32C is not set | ||
| 743 | CONFIG_ZLIB_INFLATE=y | ||
| 744 | CONFIG_ZLIB_DEFLATE=y | ||
| 745 | CONFIG_PLIST=y | ||
| 746 | CONFIG_HAS_IOMEM=y | ||
| 747 | CONFIG_HAS_IOPORT=y | ||
| 748 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig index 5fe8606cac08..8b7b49a92923 100644 --- a/arch/arm/mach-mx3/Kconfig +++ b/arch/arm/mach-mx3/Kconfig | |||
| @@ -8,5 +8,11 @@ config MACH_MX31ADS | |||
| 8 | Include support for MX31ADS platform. This includes specific | 8 | Include support for MX31ADS platform. This includes specific |
| 9 | configurations for the board and its peripherals. | 9 | configurations for the board and its peripherals. |
| 10 | 10 | ||
| 11 | config MACH_PCM037 | ||
| 12 | bool "Support Phytec pcm037 platforms" | ||
| 13 | help | ||
| 14 | Include support for Phytec pcm037 platform. This includes | ||
| 15 | specific configurations for the board and its peripherals. | ||
| 16 | |||
| 11 | endmenu | 17 | endmenu |
| 12 | 18 | ||
diff --git a/arch/arm/mach-mx3/Makefile b/arch/arm/mach-mx3/Makefile index 562c75d2e379..b09ca608349c 100644 --- a/arch/arm/mach-mx3/Makefile +++ b/arch/arm/mach-mx3/Makefile | |||
| @@ -6,3 +6,4 @@ | |||
| 6 | 6 | ||
| 7 | obj-y := mm.o clock.o devices.o iomux.o | 7 | obj-y := mm.o clock.o devices.o iomux.o |
| 8 | obj-$(CONFIG_MACH_MX31ADS) += mx31ads.o | 8 | obj-$(CONFIG_MACH_MX31ADS) += mx31ads.o |
| 9 | obj-$(CONFIG_MACH_PCM037) += pcm037.o | ||
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c new file mode 100644 index 000000000000..a34ae6de266f --- /dev/null +++ b/arch/arm/mach-mx3/pcm037.c | |||
| @@ -0,0 +1,130 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2008 Sascha Hauer, Pengutronix | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; if not, write to the Free Software | ||
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include <linux/types.h> | ||
| 20 | #include <linux/init.h> | ||
| 21 | |||
| 22 | #include <linux/platform_device.h> | ||
| 23 | #include <linux/mtd/physmap.h> | ||
| 24 | #include <linux/memory.h> | ||
| 25 | |||
| 26 | #include <asm/hardware.h> | ||
| 27 | #include <asm/mach-types.h> | ||
| 28 | #include <asm/mach/arch.h> | ||
| 29 | #include <asm/mach/time.h> | ||
| 30 | #include <asm/mach/map.h> | ||
| 31 | #include <asm/arch/common.h> | ||
| 32 | #include <asm/arch/imx-uart.h> | ||
| 33 | #include <asm/arch/iomux-mx3.h> | ||
| 34 | #include <asm/arch/board-pcm037.h> | ||
| 35 | |||
| 36 | static struct physmap_flash_data pcm037_flash_data = { | ||
| 37 | .width = 2, | ||
| 38 | }; | ||
| 39 | |||
| 40 | static struct resource pcm037_flash_resource = { | ||
| 41 | .start = 0xa0000000, | ||
| 42 | .end = 0xa1ffffff, | ||
| 43 | .flags = IORESOURCE_MEM, | ||
| 44 | }; | ||
| 45 | |||
| 46 | static struct platform_device pcm037_flash = { | ||
| 47 | .name = "physmap-flash", | ||
| 48 | .id = 0, | ||
| 49 | .dev = { | ||
| 50 | .platform_data = &pcm037_flash_data, | ||
| 51 | }, | ||
| 52 | .resource = &pcm037_flash_resource, | ||
| 53 | .num_resources = 1, | ||
| 54 | }; | ||
| 55 | |||
| 56 | static struct imxuart_platform_data uart_pdata = { | ||
| 57 | .flags = 0, | ||
| 58 | }; | ||
| 59 | |||
| 60 | static struct platform_device *devices[] __initdata = { | ||
| 61 | &pcm037_flash, | ||
| 62 | }; | ||
| 63 | |||
| 64 | /* | ||
| 65 | * Board specific initialization. | ||
| 66 | */ | ||
| 67 | static void __init mxc_board_init(void) | ||
| 68 | { | ||
| 69 | platform_add_devices(devices, ARRAY_SIZE(devices)); | ||
| 70 | |||
| 71 | mxc_iomux_mode(MX31_PIN_CTS1__CTS1); | ||
| 72 | mxc_iomux_mode(MX31_PIN_RTS1__RTS1); | ||
| 73 | mxc_iomux_mode(MX31_PIN_TXD1__TXD1); | ||
| 74 | mxc_iomux_mode(MX31_PIN_RXD1__RXD1); | ||
| 75 | |||
| 76 | imx_init_uart(0, &uart_pdata); | ||
| 77 | |||
| 78 | mxc_iomux_mode(MX31_PIN_CSPI3_MOSI__RXD3); | ||
| 79 | mxc_iomux_mode(MX31_PIN_CSPI3_MISO__TXD3); | ||
| 80 | |||
| 81 | imx_init_uart(2, &uart_pdata); | ||
| 82 | } | ||
| 83 | |||
| 84 | /* | ||
| 85 | * This structure defines static mappings for the pcm037 board. | ||
| 86 | */ | ||
| 87 | static struct map_desc pcm037_io_desc[] __initdata = { | ||
| 88 | { | ||
| 89 | .virtual = AIPS1_BASE_ADDR_VIRT, | ||
| 90 | .pfn = __phys_to_pfn(AIPS1_BASE_ADDR), | ||
| 91 | .length = AIPS1_SIZE, | ||
| 92 | .type = MT_DEVICE | ||
| 93 | }, { | ||
| 94 | .virtual = AIPS2_BASE_ADDR_VIRT, | ||
| 95 | .pfn = __phys_to_pfn(AIPS2_BASE_ADDR), | ||
| 96 | .length = AIPS2_SIZE, | ||
| 97 | .type = MT_DEVICE | ||
| 98 | }, | ||
| 99 | }; | ||
| 100 | |||
| 101 | /* | ||
| 102 | * Set up static virtual mappings. | ||
| 103 | */ | ||
| 104 | void __init pcm037_map_io(void) | ||
| 105 | { | ||
| 106 | mxc_map_io(); | ||
| 107 | iotable_init(pcm037_io_desc, ARRAY_SIZE(pcm037_io_desc)); | ||
| 108 | } | ||
| 109 | |||
| 110 | static void __init pcm037_timer_init(void) | ||
| 111 | { | ||
| 112 | mxc_clocks_init(26000000); | ||
| 113 | mxc_timer_init("ipg_clk.0"); | ||
| 114 | } | ||
| 115 | |||
| 116 | struct sys_timer pcm037_timer = { | ||
| 117 | .init = pcm037_timer_init, | ||
| 118 | }; | ||
| 119 | |||
| 120 | MACHINE_START(PCM037, "Phytec Phycore pcm037") | ||
| 121 | /* Maintainer: Pengutronix */ | ||
| 122 | .phys_io = AIPS1_BASE_ADDR, | ||
| 123 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | ||
| 124 | .boot_params = PHYS_OFFSET + 0x100, | ||
| 125 | .map_io = pcm037_map_io, | ||
| 126 | .init_irq = mxc_init_irq, | ||
| 127 | .init_machine = mxc_board_init, | ||
| 128 | .timer = &pcm037_timer, | ||
| 129 | MACHINE_END | ||
| 130 | |||
diff --git a/include/asm-arm/arch-mxc/board-pcm037.h b/include/asm-arm/arch-mxc/board-pcm037.h new file mode 100644 index 000000000000..82232ba3c8fc --- /dev/null +++ b/include/asm-arm/arch-mxc/board-pcm037.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2008 Sascha Hauer, Pengutronix | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; if not, write to the Free Software | ||
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef __ASM_ARCH_MXC_BOARD_PCM037_H__ | ||
| 20 | #define __ASM_ARCH_MXC_BOARD_PCM037_H__ | ||
| 21 | |||
| 22 | /* mandatory for CONFIG_LL_DEBUG */ | ||
| 23 | |||
| 24 | #define MXC_LL_UART_PADDR UART1_BASE_ADDR | ||
| 25 | #define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) | ||
| 26 | |||
| 27 | #endif /* __ASM_ARCH_MXC_BOARD_PCM037_H__ */ | ||
diff --git a/include/asm-arm/arch-mxc/debug-macro.S b/include/asm-arm/arch-mxc/debug-macro.S index 34befbb2ea42..81caa0aacfef 100644 --- a/include/asm-arm/arch-mxc/debug-macro.S +++ b/include/asm-arm/arch-mxc/debug-macro.S | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | #ifdef CONFIG_MACH_MX31ADS | 16 | #ifdef CONFIG_MACH_MX31ADS |
| 17 | #include <asm/arch/board-mx31ads.h> | 17 | #include <asm/arch/board-mx31ads.h> |
| 18 | #endif | 18 | #endif |
| 19 | #ifdef CONFIG_MACH_PCM037 | ||
| 20 | #include <asm/arch/board-pcm037.h> | ||
| 21 | #endif | ||
| 19 | 22 | ||
| 20 | .macro addruart,rx | 23 | .macro addruart,rx |
| 21 | mrc p15, 0, \rx, c1, c0 | 24 | mrc p15, 0, \rx, c1, c0 |
