Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm: (26 commits)
[ARM] 4856/1: Orion: initialise the sixth PCIe MBUS mapping window as well
[ARM] 4855/1: Orion: use correct ethernet unit address range
[ARM] 4853/1: include uImage target in make help
[ARM] 4851/1: ns9xxx: fix size of gpiores
[ARM] AT91: correct at91sam9263ek LCD power gpio pin
[ARM] replace remaining __FUNCTION__ occurrences
[ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
[ARM] 4849/1: move ATAGS asm definitions
[ARM] 4848/1: at91: remove false lockdep warnings
[ARM] 4847/1: kprobes: fix compilation with CONFIG_DEBUG_FS=y
[ARM] include/asm-arm - use angle brackets for includes
[ARM] 4845/1: Orion: Ignore memory tags with invalid data
ARM: OMAP2: Register the L4 io bus to boot OMAP2
ARM: OMAP1: Compile in other 16xx boards to OSK defconfig
ARM: OMAP1: Refresh H2 defconfig
ARM: OMAP1: Refresh OSK defconfig
ARM: OMAP: gpio lockdep updates
ARM: OMAP1: omap1/pm.c build fix
ARM: OMAP1: omap h2 regression fix
ARM: OMAP1: Fix compile for boards depending on old gpio expander
...

+412 -291
+1
arch/arm/Makefile
··· 251 echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' 252 echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' 253 echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)' 254 echo ' bootpImage - Combined zImage and initial RAM disk' 255 echo ' (supply initrd image via make variable INITRD=<path>)' 256 echo ' install - Install uncompressed kernel'
··· 251 echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' 252 echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' 253 echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)' 254 + echo ' uImage - U-Boot wrapped zImage' 255 echo ' bootpImage - Combined zImage and initial RAM disk' 256 echo ' (supply initrd image via make variable INITRD=<path>)' 257 echo ' install - Install uncompressed kernel'
+3 -3
arch/arm/common/it8152.c
··· 274 int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) 275 { 276 dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", 277 - __FUNCTION__, dma_addr, size); 278 return (dev->bus == &pci_bus_type) && 279 ((dma_addr + size - PHYS_OFFSET) >= SZ_64M); 280 } ··· 289 */ 290 int pci_set_dma_mask(struct pci_dev *dev, u64 mask) 291 { 292 - dev_dbg(&dev->dev, "%s: %llx\n", __FUNCTION__, mask); 293 if (mask >= PHYS_OFFSET + SZ_64M - 1) 294 return 0; 295 ··· 299 int 300 pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) 301 { 302 - dev_dbg(&dev->dev, "%s: %llx\n", __FUNCTION__, mask); 303 if (mask >= PHYS_OFFSET + SZ_64M - 1) 304 return 0; 305
··· 274 int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) 275 { 276 dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", 277 + __func__, dma_addr, size); 278 return (dev->bus == &pci_bus_type) && 279 ((dma_addr + size - PHYS_OFFSET) >= SZ_64M); 280 } ··· 289 */ 290 int pci_set_dma_mask(struct pci_dev *dev, u64 mask) 291 { 292 + dev_dbg(&dev->dev, "%s: %llx\n", __func__, mask); 293 if (mask >= PHYS_OFFSET + SZ_64M - 1) 294 return 0; 295 ··· 299 int 300 pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) 301 { 302 + dev_dbg(&dev->dev, "%s: %llx\n", __func__, mask); 303 if (mask >= PHYS_OFFSET + SZ_64M - 1) 304 return 0; 305
+49 -22
arch/arm/configs/omap_h2_1610_defconfig
··· 1 # 2 # Automatically generated make config: don't edit 3 - # Linux kernel version: 2.6.24-rc5 4 - # Mon Dec 17 20:04:38 2007 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 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_VECTORS_BASE=0xffff0000 26 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" ··· 41 # CONFIG_POSIX_MQUEUE is not set 42 # CONFIG_BSD_PROCESS_ACCT is not set 43 # CONFIG_TASKSTATS is not set 44 - # CONFIG_USER_NS is not set 45 - # CONFIG_PID_NS is not set 46 # CONFIG_AUDIT is not set 47 # CONFIG_IKCONFIG is not set 48 CONFIG_LOG_BUF_SHIFT=14 49 # CONFIG_CGROUPS is not set 50 CONFIG_FAIR_GROUP_SCHED=y 51 - CONFIG_FAIR_USER_SCHED=y 52 - # CONFIG_FAIR_CGROUP_SCHED is not set 53 # CONFIG_SYSFS_DEPRECATED is not set 54 # CONFIG_RELAY is not set 55 CONFIG_BLK_DEV_INITRD=y 56 CONFIG_INITRAMFS_SOURCE="" 57 CONFIG_CC_OPTIMIZE_FOR_SIZE=y ··· 70 CONFIG_PRINTK=y 71 CONFIG_BUG=y 72 CONFIG_ELF_CORE=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_EVENTFD=y 79 CONFIG_SHMEM=y 80 CONFIG_VM_EVENT_COUNTERS=y 81 CONFIG_SLAB=y 82 # CONFIG_SLUB is not set 83 # CONFIG_SLOB is not set 84 CONFIG_RT_MUTEXES=y 85 # CONFIG_TINY_SHMEM is not set 86 CONFIG_BASE_SMALL=0 ··· 117 # CONFIG_DEFAULT_CFQ is not set 118 # CONFIG_DEFAULT_NOOP is not set 119 CONFIG_DEFAULT_IOSCHED="anticipatory" 120 121 # 122 # System Type ··· 147 # CONFIG_ARCH_KS8695 is not set 148 # CONFIG_ARCH_NS9XXX is not set 149 # CONFIG_ARCH_MXC is not set 150 # CONFIG_ARCH_PNX4008 is not set 151 # CONFIG_ARCH_PXA is not set 152 # CONFIG_ARCH_RPC is not set ··· 157 # CONFIG_ARCH_LH7A40X is not set 158 # CONFIG_ARCH_DAVINCI is not set 159 CONFIG_ARCH_OMAP=y 160 161 # 162 # TI OMAP Implementations ··· 174 # CONFIG_OMAP_MUX_DEBUG is not set 175 CONFIG_OMAP_MUX_WARNINGS=y 176 CONFIG_OMAP_MCBSP=y 177 # CONFIG_OMAP_MPU_TIMER is not set 178 CONFIG_OMAP_32K_TIMER=y 179 CONFIG_OMAP_32K_TIMER_HZ=128 ··· 286 CONFIG_CMDLINE="mem=32M console=ttyS0,115200n8 root=0801 ro init=/bin/sh" 287 # CONFIG_XIP_KERNEL is not set 288 # CONFIG_KEXEC is not set 289 290 # 291 # CPU Frequency scaling ··· 332 # CONFIG_PM_LEGACY is not set 333 # CONFIG_PM_DEBUG is not set 334 CONFIG_PM_SLEEP=y 335 - CONFIG_SUSPEND_UP_POSSIBLE=y 336 CONFIG_SUSPEND=y 337 # CONFIG_APM_EMULATION is not set 338 339 # 340 # Networking ··· 352 # CONFIG_XFRM_USER is not set 353 # CONFIG_XFRM_SUB_POLICY is not set 354 # CONFIG_XFRM_MIGRATE is not set 355 # CONFIG_NET_KEY is not set 356 CONFIG_INET=y 357 # CONFIG_IP_MULTICAST is not set ··· 407 # 408 # CONFIG_NET_PKTGEN is not set 409 # CONFIG_HAMRADIO is not set 410 # CONFIG_IRDA is not set 411 # CONFIG_BT is not set 412 # CONFIG_AF_RXRPC is not set ··· 445 CONFIG_BLK_DEV_RAM=y 446 CONFIG_BLK_DEV_RAM_COUNT=16 447 CONFIG_BLK_DEV_RAM_SIZE=8192 448 - CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 449 # CONFIG_CDROM_PKTCDVD is not set 450 CONFIG_ATA_OVER_ETH=m 451 CONFIG_MISC_DEVICES=y 452 # CONFIG_EEPROM_93CX6 is not set 453 454 # 455 # SCSI device support ··· 515 # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 516 # CONFIG_B44 is not set 517 CONFIG_NETDEV_1000=y 518 CONFIG_NETDEV_10000=y 519 520 # ··· 539 CONFIG_SLHC=y 540 # CONFIG_SLIP_SMART is not set 541 # CONFIG_SLIP_MODE_SLIP6 is not set 542 - # CONFIG_SHAPER is not set 543 # CONFIG_NETCONSOLE is not set 544 # CONFIG_NETPOLL is not set 545 # CONFIG_NET_POLL_CONTROLLER is not set ··· 642 # 643 # Miscellaneous I2C Chip support 644 # 645 - # CONFIG_SENSORS_DS1337 is not set 646 - # CONFIG_SENSORS_DS1374 is not set 647 # CONFIG_DS1682 is not set 648 # CONFIG_SENSORS_EEPROM is not set 649 # CONFIG_SENSORS_PCF8574 is not set 650 - # CONFIG_SENSORS_PCA9539 is not set 651 # CONFIG_SENSORS_PCF8591 is not set 652 # CONFIG_ISP1301_OMAP is not set 653 CONFIG_TPS65010=y ··· 673 # CONFIG_SENSORS_ADM1031 is not set 674 # CONFIG_SENSORS_ADM9240 is not set 675 # CONFIG_SENSORS_ADT7470 is not set 676 # CONFIG_SENSORS_ATXP1 is not set 677 # CONFIG_SENSORS_DS1621 is not set 678 # CONFIG_SENSORS_F71805F is not set ··· 701 # CONFIG_SENSORS_SMSC47M1 is not set 702 # CONFIG_SENSORS_SMSC47M192 is not set 703 # CONFIG_SENSORS_SMSC47B397 is not set 704 # CONFIG_SENSORS_THMC50 is not set 705 # CONFIG_SENSORS_VT1211 is not set 706 # CONFIG_SENSORS_W83781D is not set ··· 709 # CONFIG_SENSORS_W83792D is not set 710 # CONFIG_SENSORS_W83793 is not set 711 # CONFIG_SENSORS_W83L785TS is not set 712 # CONFIG_SENSORS_W83627HF is not set 713 # CONFIG_SENSORS_W83627EHF is not set 714 # CONFIG_HWMON_DEBUG_CHIP is not set ··· 732 # Multifunction device drivers 733 # 734 # CONFIG_MFD_SM501 is not set 735 736 # 737 # Multimedia devices ··· 830 # 831 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 832 # 833 - 834 - # 835 - # USB Gadget Support 836 - # 837 # CONFIG_USB_GADGET is not set 838 # CONFIG_MMC is not set 839 # CONFIG_NEW_LEDS is not set ··· 850 # CONFIG_XFS_FS is not set 851 # CONFIG_GFS2_FS is not set 852 # CONFIG_OCFS2_FS is not set 853 - # CONFIG_MINIX_FS is not set 854 - CONFIG_ROMFS_FS=y 855 CONFIG_INOTIFY=y 856 CONFIG_INOTIFY_USER=y 857 # CONFIG_QUOTA is not set 858 - CONFIG_DNOTIFY=y 859 # CONFIG_AUTOFS_FS is not set 860 # CONFIG_AUTOFS4_FS is not set 861 # CONFIG_FUSE_FS is not set ··· 896 # CONFIG_EFS_FS is not set 897 CONFIG_CRAMFS=y 898 # CONFIG_VXFS_FS is not set 899 # CONFIG_HPFS_FS is not set 900 # CONFIG_QNX4FS_FS is not set 901 # CONFIG_SYSV_FS is not set 902 # CONFIG_UFS_FS is not set 903 CONFIG_NETWORK_FILESYSTEMS=y ··· 970 # CONFIG_NLS_KOI8_U is not set 971 # CONFIG_NLS_UTF8 is not set 972 # CONFIG_DLM is not set 973 - CONFIG_INSTRUMENTATION=y 974 - # CONFIG_PROFILING is not set 975 - # CONFIG_MARKERS is not set 976 977 # 978 # Kernel hacking ··· 996 CONFIG_CRYPTO=y 997 CONFIG_CRYPTO_ALGAPI=y 998 CONFIG_CRYPTO_BLKCIPHER=y 999 CONFIG_CRYPTO_MANAGER=y 1000 # CONFIG_CRYPTO_HMAC is not set 1001 # CONFIG_CRYPTO_XCBC is not set ··· 1014 CONFIG_CRYPTO_PCBC=m 1015 # CONFIG_CRYPTO_LRW is not set 1016 # CONFIG_CRYPTO_XTS is not set 1017 # CONFIG_CRYPTO_CRYPTD is not set 1018 CONFIG_CRYPTO_DES=y 1019 # CONFIG_CRYPTO_FCRYPT is not set ··· 1031 # CONFIG_CRYPTO_KHAZAD is not set 1032 # CONFIG_CRYPTO_ANUBIS is not set 1033 # CONFIG_CRYPTO_SEED is not set 1034 # CONFIG_CRYPTO_DEFLATE is not set 1035 # CONFIG_CRYPTO_MICHAEL_MIC is not set 1036 # CONFIG_CRYPTO_CRC32C is not set 1037 # CONFIG_CRYPTO_CAMELLIA is not set 1038 # CONFIG_CRYPTO_TEST is not set 1039 # CONFIG_CRYPTO_AUTHENC is not set 1040 CONFIG_CRYPTO_HW=y 1041 1042 #
··· 1 # 2 # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.25-rc3 4 + # Mon Mar 3 03:39:48 2008 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 21 # CONFIG_ARCH_HAS_ILOG2_U64 is not set 22 CONFIG_GENERIC_HWEIGHT=y 23 CONFIG_GENERIC_CALIBRATE_DELAY=y 24 + CONFIG_ARCH_SUPPORTS_AOUT=y 25 CONFIG_ZONE_DMA=y 26 CONFIG_VECTORS_BASE=0xffff0000 27 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" ··· 40 # CONFIG_POSIX_MQUEUE is not set 41 # CONFIG_BSD_PROCESS_ACCT is not set 42 # CONFIG_TASKSTATS is not set 43 # CONFIG_AUDIT is not set 44 # CONFIG_IKCONFIG is not set 45 CONFIG_LOG_BUF_SHIFT=14 46 # CONFIG_CGROUPS is not set 47 + CONFIG_GROUP_SCHED=y 48 CONFIG_FAIR_GROUP_SCHED=y 49 + # CONFIG_RT_GROUP_SCHED is not set 50 + CONFIG_USER_SCHED=y 51 + # CONFIG_CGROUP_SCHED is not set 52 # CONFIG_SYSFS_DEPRECATED is not set 53 # CONFIG_RELAY is not set 54 + CONFIG_NAMESPACES=y 55 + # CONFIG_UTS_NS is not set 56 + # CONFIG_IPC_NS is not set 57 + # CONFIG_USER_NS is not set 58 + # CONFIG_PID_NS is not set 59 CONFIG_BLK_DEV_INITRD=y 60 CONFIG_INITRAMFS_SOURCE="" 61 CONFIG_CC_OPTIMIZE_FOR_SIZE=y ··· 64 CONFIG_PRINTK=y 65 CONFIG_BUG=y 66 CONFIG_ELF_CORE=y 67 + CONFIG_COMPAT_BRK=y 68 CONFIG_BASE_FULL=y 69 CONFIG_FUTEX=y 70 CONFIG_ANON_INODES=y 71 CONFIG_EPOLL=y 72 CONFIG_SIGNALFD=y 73 + CONFIG_TIMERFD=y 74 CONFIG_EVENTFD=y 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_PROFILING is not set 81 + # CONFIG_MARKERS is not set 82 + CONFIG_HAVE_OPROFILE=y 83 + # CONFIG_KPROBES is not set 84 + CONFIG_HAVE_KPROBES=y 85 + CONFIG_PROC_PAGE_MONITOR=y 86 + CONFIG_SLABINFO=y 87 CONFIG_RT_MUTEXES=y 88 # CONFIG_TINY_SHMEM is not set 89 CONFIG_BASE_SMALL=0 ··· 102 # CONFIG_DEFAULT_CFQ is not set 103 # CONFIG_DEFAULT_NOOP is not set 104 CONFIG_DEFAULT_IOSCHED="anticipatory" 105 + CONFIG_CLASSIC_RCU=y 106 + # CONFIG_PREEMPT_RCU is not set 107 108 # 109 # System Type ··· 130 # CONFIG_ARCH_KS8695 is not set 131 # CONFIG_ARCH_NS9XXX is not set 132 # CONFIG_ARCH_MXC is not set 133 + # CONFIG_ARCH_ORION is not set 134 # CONFIG_ARCH_PNX4008 is not set 135 # CONFIG_ARCH_PXA is not set 136 # CONFIG_ARCH_RPC is not set ··· 139 # CONFIG_ARCH_LH7A40X is not set 140 # CONFIG_ARCH_DAVINCI is not set 141 CONFIG_ARCH_OMAP=y 142 + # CONFIG_ARCH_MSM7X00A is not set 143 144 # 145 # TI OMAP Implementations ··· 155 # CONFIG_OMAP_MUX_DEBUG is not set 156 CONFIG_OMAP_MUX_WARNINGS=y 157 CONFIG_OMAP_MCBSP=y 158 + # CONFIG_OMAP_MMU_FWK is not set 159 # CONFIG_OMAP_MPU_TIMER is not set 160 CONFIG_OMAP_32K_TIMER=y 161 CONFIG_OMAP_32K_TIMER_HZ=128 ··· 266 CONFIG_CMDLINE="mem=32M console=ttyS0,115200n8 root=0801 ro init=/bin/sh" 267 # CONFIG_XIP_KERNEL is not set 268 # CONFIG_KEXEC is not set 269 + # CONFIG_ATAGS_PROC is not set 270 271 # 272 # CPU Frequency scaling ··· 311 # CONFIG_PM_LEGACY is not set 312 # CONFIG_PM_DEBUG is not set 313 CONFIG_PM_SLEEP=y 314 CONFIG_SUSPEND=y 315 + CONFIG_SUSPEND_FREEZER=y 316 # CONFIG_APM_EMULATION is not set 317 + CONFIG_ARCH_SUSPEND_POSSIBLE=y 318 319 # 320 # Networking ··· 330 # CONFIG_XFRM_USER is not set 331 # CONFIG_XFRM_SUB_POLICY is not set 332 # CONFIG_XFRM_MIGRATE is not set 333 + # CONFIG_XFRM_STATISTICS is not set 334 # CONFIG_NET_KEY is not set 335 CONFIG_INET=y 336 # CONFIG_IP_MULTICAST is not set ··· 384 # 385 # CONFIG_NET_PKTGEN is not set 386 # CONFIG_HAMRADIO is not set 387 + # CONFIG_CAN is not set 388 # CONFIG_IRDA is not set 389 # CONFIG_BT is not set 390 # CONFIG_AF_RXRPC is not set ··· 421 CONFIG_BLK_DEV_RAM=y 422 CONFIG_BLK_DEV_RAM_COUNT=16 423 CONFIG_BLK_DEV_RAM_SIZE=8192 424 + # CONFIG_BLK_DEV_XIP is not set 425 # CONFIG_CDROM_PKTCDVD is not set 426 CONFIG_ATA_OVER_ETH=m 427 CONFIG_MISC_DEVICES=y 428 # CONFIG_EEPROM_93CX6 is not set 429 + # CONFIG_ENCLOSURE_SERVICES is not set 430 + # CONFIG_HAVE_IDE is not set 431 432 # 433 # SCSI device support ··· 489 # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 490 # CONFIG_B44 is not set 491 CONFIG_NETDEV_1000=y 492 + # CONFIG_E1000E_ENABLED is not set 493 CONFIG_NETDEV_10000=y 494 495 # ··· 512 CONFIG_SLHC=y 513 # CONFIG_SLIP_SMART is not set 514 # CONFIG_SLIP_MODE_SLIP6 is not set 515 # CONFIG_NETCONSOLE is not set 516 # CONFIG_NETPOLL is not set 517 # CONFIG_NET_POLL_CONTROLLER is not set ··· 616 # 617 # Miscellaneous I2C Chip support 618 # 619 # CONFIG_DS1682 is not set 620 # CONFIG_SENSORS_EEPROM is not set 621 # CONFIG_SENSORS_PCF8574 is not set 622 + # CONFIG_PCF8575 is not set 623 # CONFIG_SENSORS_PCF8591 is not set 624 # CONFIG_ISP1301_OMAP is not set 625 CONFIG_TPS65010=y ··· 649 # CONFIG_SENSORS_ADM1031 is not set 650 # CONFIG_SENSORS_ADM9240 is not set 651 # CONFIG_SENSORS_ADT7470 is not set 652 + # CONFIG_SENSORS_ADT7473 is not set 653 # CONFIG_SENSORS_ATXP1 is not set 654 # CONFIG_SENSORS_DS1621 is not set 655 # CONFIG_SENSORS_F71805F is not set ··· 676 # CONFIG_SENSORS_SMSC47M1 is not set 677 # CONFIG_SENSORS_SMSC47M192 is not set 678 # CONFIG_SENSORS_SMSC47B397 is not set 679 + # CONFIG_SENSORS_ADS7828 is not set 680 # CONFIG_SENSORS_THMC50 is not set 681 # CONFIG_SENSORS_VT1211 is not set 682 # CONFIG_SENSORS_W83781D is not set ··· 683 # CONFIG_SENSORS_W83792D is not set 684 # CONFIG_SENSORS_W83793 is not set 685 # CONFIG_SENSORS_W83L785TS is not set 686 + # CONFIG_SENSORS_W83L786NG is not set 687 # CONFIG_SENSORS_W83627HF is not set 688 # CONFIG_SENSORS_W83627EHF is not set 689 # CONFIG_HWMON_DEBUG_CHIP is not set ··· 705 # Multifunction device drivers 706 # 707 # CONFIG_MFD_SM501 is not set 708 + # CONFIG_MFD_ASIC3 is not set 709 710 # 711 # Multimedia devices ··· 802 # 803 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 804 # 805 # CONFIG_USB_GADGET is not set 806 # CONFIG_MMC is not set 807 # CONFIG_NEW_LEDS is not set ··· 826 # CONFIG_XFS_FS is not set 827 # CONFIG_GFS2_FS is not set 828 # CONFIG_OCFS2_FS is not set 829 + CONFIG_DNOTIFY=y 830 CONFIG_INOTIFY=y 831 CONFIG_INOTIFY_USER=y 832 # CONFIG_QUOTA is not set 833 # CONFIG_AUTOFS_FS is not set 834 # CONFIG_AUTOFS4_FS is not set 835 # CONFIG_FUSE_FS is not set ··· 874 # CONFIG_EFS_FS is not set 875 CONFIG_CRAMFS=y 876 # CONFIG_VXFS_FS is not set 877 + # CONFIG_MINIX_FS is not set 878 # CONFIG_HPFS_FS is not set 879 # CONFIG_QNX4FS_FS is not set 880 + CONFIG_ROMFS_FS=y 881 # CONFIG_SYSV_FS is not set 882 # CONFIG_UFS_FS is not set 883 CONFIG_NETWORK_FILESYSTEMS=y ··· 946 # CONFIG_NLS_KOI8_U is not set 947 # CONFIG_NLS_UTF8 is not set 948 # CONFIG_DLM is not set 949 950 # 951 # Kernel hacking ··· 975 CONFIG_CRYPTO=y 976 CONFIG_CRYPTO_ALGAPI=y 977 CONFIG_CRYPTO_BLKCIPHER=y 978 + # CONFIG_CRYPTO_SEQIV is not set 979 CONFIG_CRYPTO_MANAGER=y 980 # CONFIG_CRYPTO_HMAC is not set 981 # CONFIG_CRYPTO_XCBC is not set ··· 992 CONFIG_CRYPTO_PCBC=m 993 # CONFIG_CRYPTO_LRW is not set 994 # CONFIG_CRYPTO_XTS is not set 995 + # CONFIG_CRYPTO_CTR is not set 996 + # CONFIG_CRYPTO_GCM is not set 997 + # CONFIG_CRYPTO_CCM is not set 998 # CONFIG_CRYPTO_CRYPTD is not set 999 CONFIG_CRYPTO_DES=y 1000 # CONFIG_CRYPTO_FCRYPT is not set ··· 1006 # CONFIG_CRYPTO_KHAZAD is not set 1007 # CONFIG_CRYPTO_ANUBIS is not set 1008 # CONFIG_CRYPTO_SEED is not set 1009 + # CONFIG_CRYPTO_SALSA20 is not set 1010 # CONFIG_CRYPTO_DEFLATE is not set 1011 # CONFIG_CRYPTO_MICHAEL_MIC is not set 1012 # CONFIG_CRYPTO_CRC32C is not set 1013 # CONFIG_CRYPTO_CAMELLIA is not set 1014 # CONFIG_CRYPTO_TEST is not set 1015 # CONFIG_CRYPTO_AUTHENC is not set 1016 + # CONFIG_CRYPTO_LZO is not set 1017 CONFIG_CRYPTO_HW=y 1018 1019 #
+94 -29
arch/arm/configs/omap_osk_5912_defconfig
··· 1 # 2 # Automatically generated make config: don't edit 3 - # Linux kernel version: 2.6.24-rc5 4 - # Mon Dec 17 21:12:45 2007 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 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_VECTORS_BASE=0xffff0000 26 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" ··· 40 # CONFIG_POSIX_MQUEUE is not set 41 # CONFIG_BSD_PROCESS_ACCT is not set 42 # CONFIG_TASKSTATS is not set 43 - # CONFIG_USER_NS is not set 44 - # CONFIG_PID_NS is not set 45 # CONFIG_AUDIT is not set 46 # CONFIG_IKCONFIG is not set 47 CONFIG_LOG_BUF_SHIFT=14 48 # CONFIG_CGROUPS is not set 49 CONFIG_FAIR_GROUP_SCHED=y 50 - CONFIG_FAIR_USER_SCHED=y 51 - # CONFIG_FAIR_CGROUP_SCHED is not set 52 # CONFIG_SYSFS_DEPRECATED is not set 53 # CONFIG_RELAY is not set 54 CONFIG_BLK_DEV_INITRD=y 55 CONFIG_INITRAMFS_SOURCE="" 56 CONFIG_CC_OPTIMIZE_FOR_SIZE=y ··· 69 CONFIG_PRINTK=y 70 CONFIG_BUG=y 71 CONFIG_ELF_CORE=y 72 CONFIG_BASE_FULL=y 73 CONFIG_FUTEX=y 74 CONFIG_ANON_INODES=y 75 CONFIG_EPOLL=y 76 CONFIG_SIGNALFD=y 77 CONFIG_EVENTFD=y 78 CONFIG_SHMEM=y 79 CONFIG_VM_EVENT_COUNTERS=y 80 CONFIG_SLAB=y 81 # CONFIG_SLUB is not set 82 # CONFIG_SLOB is not set 83 CONFIG_RT_MUTEXES=y 84 # CONFIG_TINY_SHMEM is not set 85 CONFIG_BASE_SMALL=0 ··· 116 CONFIG_DEFAULT_CFQ=y 117 # CONFIG_DEFAULT_NOOP is not set 118 CONFIG_DEFAULT_IOSCHED="cfq" 119 120 # 121 # System Type ··· 146 # CONFIG_ARCH_KS8695 is not set 147 # CONFIG_ARCH_NS9XXX is not set 148 # CONFIG_ARCH_MXC is not set 149 # CONFIG_ARCH_PNX4008 is not set 150 # CONFIG_ARCH_PXA is not set 151 # CONFIG_ARCH_RPC is not set ··· 156 # CONFIG_ARCH_LH7A40X is not set 157 # CONFIG_ARCH_DAVINCI is not set 158 CONFIG_ARCH_OMAP=y 159 160 # 161 # TI OMAP Implementations ··· 173 # CONFIG_OMAP_MUX_DEBUG is not set 174 CONFIG_OMAP_MUX_WARNINGS=y 175 CONFIG_OMAP_MCBSP=y 176 # CONFIG_OMAP_MPU_TIMER is not set 177 CONFIG_OMAP_32K_TIMER=y 178 CONFIG_OMAP_32K_TIMER_HZ=128 ··· 193 # 194 # OMAP Board Type 195 # 196 - # CONFIG_MACH_OMAP_INNOVATOR is not set 197 - # CONFIG_MACH_OMAP_H2 is not set 198 - # CONFIG_MACH_OMAP_H3 is not set 199 CONFIG_MACH_OMAP_OSK=y 200 # CONFIG_OMAP_OSK_MISTRAL is not set 201 - # CONFIG_MACH_NOKIA770 is not set 202 - # CONFIG_MACH_OMAP_GENERIC is not set 203 204 # 205 # OMAP CPU Speed ··· 295 CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x10400000,8M root=/dev/ram0 rw" 296 # CONFIG_XIP_KERNEL is not set 297 # CONFIG_KEXEC is not set 298 299 # 300 # CPU Frequency scaling ··· 328 # CONFIG_PM_LEGACY is not set 329 # CONFIG_PM_DEBUG is not set 330 CONFIG_PM_SLEEP=y 331 - CONFIG_SUSPEND_UP_POSSIBLE=y 332 CONFIG_SUSPEND=y 333 # CONFIG_APM_EMULATION is not set 334 335 # 336 # Networking ··· 348 # CONFIG_XFRM_USER is not set 349 # CONFIG_XFRM_SUB_POLICY is not set 350 # CONFIG_XFRM_MIGRATE is not set 351 # CONFIG_NET_KEY is not set 352 CONFIG_INET=y 353 CONFIG_IP_MULTICAST=y ··· 404 # 405 # CONFIG_NET_PKTGEN is not set 406 # CONFIG_HAMRADIO is not set 407 # CONFIG_IRDA is not set 408 # CONFIG_BT is not set 409 # CONFIG_AF_RXRPC is not set ··· 517 CONFIG_BLK_DEV_RAM=y 518 CONFIG_BLK_DEV_RAM_COUNT=16 519 CONFIG_BLK_DEV_RAM_SIZE=8192 520 - CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 521 # CONFIG_CDROM_PKTCDVD is not set 522 # CONFIG_ATA_OVER_ETH is not set 523 CONFIG_MISC_DEVICES=y 524 # CONFIG_EEPROM_93CX6 is not set 525 CONFIG_IDE=m 526 CONFIG_BLK_DEV_IDE=m 527 ··· 545 # 546 # CONFIG_IDE_GENERIC is not set 547 # CONFIG_BLK_DEV_PLATFORM is not set 548 - # CONFIG_IDE_ARM is not set 549 # CONFIG_BLK_DEV_IDEDMA is not set 550 CONFIG_IDE_ARCH_OBSOLETE_INIT=y 551 # CONFIG_BLK_DEV_HD is not set ··· 578 # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 579 # CONFIG_B44 is not set 580 CONFIG_NETDEV_1000=y 581 CONFIG_NETDEV_10000=y 582 583 # ··· 600 # CONFIG_PPPOL2TP is not set 601 # CONFIG_SLIP is not set 602 CONFIG_SLHC=y 603 - # CONFIG_SHAPER is not set 604 # CONFIG_NETCONSOLE is not set 605 # CONFIG_NETPOLL is not set 606 # CONFIG_NET_POLL_CONTROLLER is not set ··· 696 # CONFIG_SYNCLINK_CS is not set 697 # CONFIG_CARDMAN_4000 is not set 698 # CONFIG_CARDMAN_4040 is not set 699 # CONFIG_RAW_DRIVER is not set 700 # CONFIG_TCG_TPM is not set 701 CONFIG_I2C=y ··· 724 # 725 # Miscellaneous I2C Chip support 726 # 727 - # CONFIG_SENSORS_DS1337 is not set 728 - # CONFIG_SENSORS_DS1374 is not set 729 # CONFIG_DS1682 is not set 730 # CONFIG_SENSORS_EEPROM is not set 731 # CONFIG_SENSORS_PCF8574 is not set 732 - # CONFIG_SENSORS_PCA9539 is not set 733 # CONFIG_SENSORS_PCF8591 is not set 734 # CONFIG_ISP1301_OMAP is not set 735 CONFIG_TPS65010=y ··· 755 # CONFIG_SENSORS_ADM1031 is not set 756 # CONFIG_SENSORS_ADM9240 is not set 757 # CONFIG_SENSORS_ADT7470 is not set 758 # CONFIG_SENSORS_ATXP1 is not set 759 # CONFIG_SENSORS_DS1621 is not set 760 # CONFIG_SENSORS_F71805F is not set ··· 783 # CONFIG_SENSORS_SMSC47M1 is not set 784 # CONFIG_SENSORS_SMSC47M192 is not set 785 # CONFIG_SENSORS_SMSC47B397 is not set 786 # CONFIG_SENSORS_THMC50 is not set 787 # CONFIG_SENSORS_VT1211 is not set 788 # CONFIG_SENSORS_W83781D is not set ··· 791 # CONFIG_SENSORS_W83792D is not set 792 # CONFIG_SENSORS_W83793 is not set 793 # CONFIG_SENSORS_W83L785TS is not set 794 # CONFIG_SENSORS_W83627HF is not set 795 # CONFIG_SENSORS_W83627EHF is not set 796 # CONFIG_HWMON_DEBUG_CHIP is not set ··· 807 # Multifunction device drivers 808 # 809 # CONFIG_MFD_SM501 is not set 810 811 # 812 # Multimedia devices ··· 893 # 894 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 895 # 896 - 897 - # 898 - # USB Gadget Support 899 - # 900 # CONFIG_USB_GADGET is not set 901 # CONFIG_MMC is not set 902 # CONFIG_NEW_LEDS is not set ··· 913 # CONFIG_XFS_FS is not set 914 # CONFIG_GFS2_FS is not set 915 # CONFIG_OCFS2_FS is not set 916 - # CONFIG_MINIX_FS is not set 917 - # CONFIG_ROMFS_FS is not set 918 CONFIG_INOTIFY=y 919 CONFIG_INOTIFY_USER=y 920 # CONFIG_QUOTA is not set 921 - CONFIG_DNOTIFY=y 922 CONFIG_AUTOFS_FS=y 923 CONFIG_AUTOFS4_FS=y 924 # CONFIG_FUSE_FS is not set ··· 970 # CONFIG_JFFS2_RUBIN is not set 971 # CONFIG_CRAMFS is not set 972 # CONFIG_VXFS_FS is not set 973 # CONFIG_HPFS_FS is not set 974 # CONFIG_QNX4FS_FS is not set 975 # CONFIG_SYSV_FS is not set 976 # CONFIG_UFS_FS is not set 977 CONFIG_NETWORK_FILESYSTEMS=y ··· 1043 # CONFIG_NLS_KOI8_U is not set 1044 # CONFIG_NLS_UTF8 is not set 1045 # CONFIG_DLM is not set 1046 - CONFIG_INSTRUMENTATION=y 1047 - # CONFIG_PROFILING is not set 1048 - # CONFIG_MARKERS is not set 1049 1050 # 1051 # Kernel hacking ··· 1066 # CONFIG_KEYS is not set 1067 # CONFIG_SECURITY is not set 1068 # CONFIG_SECURITY_FILE_CAPABILITIES is not set 1069 - # CONFIG_CRYPTO is not set 1070 1071 # 1072 # Library routines
··· 1 # 2 # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.25-rc3 4 + # Mon Mar 3 03:35:17 2008 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 21 # CONFIG_ARCH_HAS_ILOG2_U64 is not set 22 CONFIG_GENERIC_HWEIGHT=y 23 CONFIG_GENERIC_CALIBRATE_DELAY=y 24 + CONFIG_ARCH_SUPPORTS_AOUT=y 25 CONFIG_ZONE_DMA=y 26 CONFIG_VECTORS_BASE=0xffff0000 27 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" ··· 39 # CONFIG_POSIX_MQUEUE is not set 40 # CONFIG_BSD_PROCESS_ACCT is not set 41 # CONFIG_TASKSTATS is not set 42 # CONFIG_AUDIT is not set 43 # CONFIG_IKCONFIG is not set 44 CONFIG_LOG_BUF_SHIFT=14 45 # CONFIG_CGROUPS is not set 46 + CONFIG_GROUP_SCHED=y 47 CONFIG_FAIR_GROUP_SCHED=y 48 + # CONFIG_RT_GROUP_SCHED is not set 49 + CONFIG_USER_SCHED=y 50 + # CONFIG_CGROUP_SCHED is not set 51 # CONFIG_SYSFS_DEPRECATED is not set 52 # CONFIG_RELAY is not set 53 + CONFIG_NAMESPACES=y 54 + # CONFIG_UTS_NS is not set 55 + # CONFIG_IPC_NS is not set 56 + # CONFIG_USER_NS is not set 57 + # CONFIG_PID_NS is not set 58 CONFIG_BLK_DEV_INITRD=y 59 CONFIG_INITRAMFS_SOURCE="" 60 CONFIG_CC_OPTIMIZE_FOR_SIZE=y ··· 63 CONFIG_PRINTK=y 64 CONFIG_BUG=y 65 CONFIG_ELF_CORE=y 66 + CONFIG_COMPAT_BRK=y 67 CONFIG_BASE_FULL=y 68 CONFIG_FUTEX=y 69 CONFIG_ANON_INODES=y 70 CONFIG_EPOLL=y 71 CONFIG_SIGNALFD=y 72 + CONFIG_TIMERFD=y 73 CONFIG_EVENTFD=y 74 CONFIG_SHMEM=y 75 CONFIG_VM_EVENT_COUNTERS=y 76 CONFIG_SLAB=y 77 # CONFIG_SLUB is not set 78 # CONFIG_SLOB is not set 79 + # CONFIG_PROFILING is not set 80 + # CONFIG_MARKERS is not set 81 + CONFIG_HAVE_OPROFILE=y 82 + # CONFIG_KPROBES is not set 83 + CONFIG_HAVE_KPROBES=y 84 + CONFIG_PROC_PAGE_MONITOR=y 85 + CONFIG_SLABINFO=y 86 CONFIG_RT_MUTEXES=y 87 # CONFIG_TINY_SHMEM is not set 88 CONFIG_BASE_SMALL=0 ··· 101 CONFIG_DEFAULT_CFQ=y 102 # CONFIG_DEFAULT_NOOP is not set 103 CONFIG_DEFAULT_IOSCHED="cfq" 104 + CONFIG_CLASSIC_RCU=y 105 + # CONFIG_PREEMPT_RCU is not set 106 107 # 108 # System Type ··· 129 # CONFIG_ARCH_KS8695 is not set 130 # CONFIG_ARCH_NS9XXX is not set 131 # CONFIG_ARCH_MXC is not set 132 + # CONFIG_ARCH_ORION is not set 133 # CONFIG_ARCH_PNX4008 is not set 134 # CONFIG_ARCH_PXA is not set 135 # CONFIG_ARCH_RPC is not set ··· 138 # CONFIG_ARCH_LH7A40X is not set 139 # CONFIG_ARCH_DAVINCI is not set 140 CONFIG_ARCH_OMAP=y 141 + # CONFIG_ARCH_MSM7X00A is not set 142 143 # 144 # TI OMAP Implementations ··· 154 # CONFIG_OMAP_MUX_DEBUG is not set 155 CONFIG_OMAP_MUX_WARNINGS=y 156 CONFIG_OMAP_MCBSP=y 157 + # CONFIG_OMAP_MMU_FWK is not set 158 # CONFIG_OMAP_MPU_TIMER is not set 159 CONFIG_OMAP_32K_TIMER=y 160 CONFIG_OMAP_32K_TIMER_HZ=128 ··· 173 # 174 # OMAP Board Type 175 # 176 + CONFIG_MACH_OMAP_INNOVATOR=y 177 + CONFIG_MACH_OMAP_H2=y 178 + CONFIG_MACH_OMAP_H3=y 179 CONFIG_MACH_OMAP_OSK=y 180 # CONFIG_OMAP_OSK_MISTRAL is not set 181 + CONFIG_MACH_NOKIA770=y 182 + CONFIG_MACH_OMAP_GENERIC=y 183 184 # 185 # OMAP CPU Speed ··· 275 CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x10400000,8M root=/dev/ram0 rw" 276 # CONFIG_XIP_KERNEL is not set 277 # CONFIG_KEXEC is not set 278 + # CONFIG_ATAGS_PROC is not set 279 280 # 281 # CPU Frequency scaling ··· 307 # CONFIG_PM_LEGACY is not set 308 # CONFIG_PM_DEBUG is not set 309 CONFIG_PM_SLEEP=y 310 CONFIG_SUSPEND=y 311 + CONFIG_SUSPEND_FREEZER=y 312 # CONFIG_APM_EMULATION is not set 313 + CONFIG_ARCH_SUSPEND_POSSIBLE=y 314 315 # 316 # Networking ··· 326 # CONFIG_XFRM_USER is not set 327 # CONFIG_XFRM_SUB_POLICY is not set 328 # CONFIG_XFRM_MIGRATE is not set 329 + # CONFIG_XFRM_STATISTICS is not set 330 # CONFIG_NET_KEY is not set 331 CONFIG_INET=y 332 CONFIG_IP_MULTICAST=y ··· 381 # 382 # CONFIG_NET_PKTGEN is not set 383 # CONFIG_HAMRADIO is not set 384 + # CONFIG_CAN is not set 385 # CONFIG_IRDA is not set 386 # CONFIG_BT is not set 387 # CONFIG_AF_RXRPC is not set ··· 493 CONFIG_BLK_DEV_RAM=y 494 CONFIG_BLK_DEV_RAM_COUNT=16 495 CONFIG_BLK_DEV_RAM_SIZE=8192 496 + # CONFIG_BLK_DEV_XIP is not set 497 # CONFIG_CDROM_PKTCDVD is not set 498 # CONFIG_ATA_OVER_ETH is not set 499 CONFIG_MISC_DEVICES=y 500 # CONFIG_EEPROM_93CX6 is not set 501 + # CONFIG_ENCLOSURE_SERVICES is not set 502 + CONFIG_HAVE_IDE=y 503 CONFIG_IDE=m 504 CONFIG_BLK_DEV_IDE=m 505 ··· 519 # 520 # CONFIG_IDE_GENERIC is not set 521 # CONFIG_BLK_DEV_PLATFORM is not set 522 # CONFIG_BLK_DEV_IDEDMA is not set 523 CONFIG_IDE_ARCH_OBSOLETE_INIT=y 524 # CONFIG_BLK_DEV_HD is not set ··· 553 # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 554 # CONFIG_B44 is not set 555 CONFIG_NETDEV_1000=y 556 + # CONFIG_E1000E_ENABLED is not set 557 CONFIG_NETDEV_10000=y 558 559 # ··· 574 # CONFIG_PPPOL2TP is not set 575 # CONFIG_SLIP is not set 576 CONFIG_SLHC=y 577 # CONFIG_NETCONSOLE is not set 578 # CONFIG_NETPOLL is not set 579 # CONFIG_NET_POLL_CONTROLLER is not set ··· 671 # CONFIG_SYNCLINK_CS is not set 672 # CONFIG_CARDMAN_4000 is not set 673 # CONFIG_CARDMAN_4040 is not set 674 + # CONFIG_IPWIRELESS is not set 675 # CONFIG_RAW_DRIVER is not set 676 # CONFIG_TCG_TPM is not set 677 CONFIG_I2C=y ··· 698 # 699 # Miscellaneous I2C Chip support 700 # 701 # CONFIG_DS1682 is not set 702 # CONFIG_SENSORS_EEPROM is not set 703 # CONFIG_SENSORS_PCF8574 is not set 704 + # CONFIG_PCF8575 is not set 705 # CONFIG_SENSORS_PCF8591 is not set 706 # CONFIG_ISP1301_OMAP is not set 707 CONFIG_TPS65010=y ··· 731 # CONFIG_SENSORS_ADM1031 is not set 732 # CONFIG_SENSORS_ADM9240 is not set 733 # CONFIG_SENSORS_ADT7470 is not set 734 + # CONFIG_SENSORS_ADT7473 is not set 735 # CONFIG_SENSORS_ATXP1 is not set 736 # CONFIG_SENSORS_DS1621 is not set 737 # CONFIG_SENSORS_F71805F is not set ··· 758 # CONFIG_SENSORS_SMSC47M1 is not set 759 # CONFIG_SENSORS_SMSC47M192 is not set 760 # CONFIG_SENSORS_SMSC47B397 is not set 761 + # CONFIG_SENSORS_ADS7828 is not set 762 # CONFIG_SENSORS_THMC50 is not set 763 # CONFIG_SENSORS_VT1211 is not set 764 # CONFIG_SENSORS_W83781D is not set ··· 765 # CONFIG_SENSORS_W83792D is not set 766 # CONFIG_SENSORS_W83793 is not set 767 # CONFIG_SENSORS_W83L785TS is not set 768 + # CONFIG_SENSORS_W83L786NG is not set 769 # CONFIG_SENSORS_W83627HF is not set 770 # CONFIG_SENSORS_W83627EHF is not set 771 # CONFIG_HWMON_DEBUG_CHIP is not set ··· 780 # Multifunction device drivers 781 # 782 # CONFIG_MFD_SM501 is not set 783 + # CONFIG_MFD_ASIC3 is not set 784 785 # 786 # Multimedia devices ··· 865 # 866 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 867 # 868 # CONFIG_USB_GADGET is not set 869 # CONFIG_MMC is not set 870 # CONFIG_NEW_LEDS is not set ··· 889 # CONFIG_XFS_FS is not set 890 # CONFIG_GFS2_FS is not set 891 # CONFIG_OCFS2_FS is not set 892 + CONFIG_DNOTIFY=y 893 CONFIG_INOTIFY=y 894 CONFIG_INOTIFY_USER=y 895 # CONFIG_QUOTA is not set 896 CONFIG_AUTOFS_FS=y 897 CONFIG_AUTOFS4_FS=y 898 # CONFIG_FUSE_FS is not set ··· 948 # CONFIG_JFFS2_RUBIN is not set 949 # CONFIG_CRAMFS is not set 950 # CONFIG_VXFS_FS is not set 951 + # CONFIG_MINIX_FS is not set 952 # CONFIG_HPFS_FS is not set 953 # CONFIG_QNX4FS_FS is not set 954 + # CONFIG_ROMFS_FS is not set 955 # CONFIG_SYSV_FS is not set 956 # CONFIG_UFS_FS is not set 957 CONFIG_NETWORK_FILESYSTEMS=y ··· 1019 # CONFIG_NLS_KOI8_U is not set 1020 # CONFIG_NLS_UTF8 is not set 1021 # CONFIG_DLM is not set 1022 1023 # 1024 # Kernel hacking ··· 1045 # CONFIG_KEYS is not set 1046 # CONFIG_SECURITY is not set 1047 # CONFIG_SECURITY_FILE_CAPABILITIES is not set 1048 + CONFIG_CRYPTO=y 1049 + # CONFIG_CRYPTO_SEQIV is not set 1050 + # CONFIG_CRYPTO_MANAGER is not set 1051 + # CONFIG_CRYPTO_HMAC is not set 1052 + # CONFIG_CRYPTO_XCBC is not set 1053 + # CONFIG_CRYPTO_NULL is not set 1054 + # CONFIG_CRYPTO_MD4 is not set 1055 + # CONFIG_CRYPTO_MD5 is not set 1056 + # CONFIG_CRYPTO_SHA1 is not set 1057 + # CONFIG_CRYPTO_SHA256 is not set 1058 + # CONFIG_CRYPTO_SHA512 is not set 1059 + # CONFIG_CRYPTO_WP512 is not set 1060 + # CONFIG_CRYPTO_TGR192 is not set 1061 + # CONFIG_CRYPTO_GF128MUL is not set 1062 + # CONFIG_CRYPTO_ECB is not set 1063 + # CONFIG_CRYPTO_CBC is not set 1064 + # CONFIG_CRYPTO_PCBC is not set 1065 + # CONFIG_CRYPTO_LRW is not set 1066 + # CONFIG_CRYPTO_XTS is not set 1067 + # CONFIG_CRYPTO_CTR is not set 1068 + # CONFIG_CRYPTO_GCM is not set 1069 + # CONFIG_CRYPTO_CCM is not set 1070 + # CONFIG_CRYPTO_CRYPTD is not set 1071 + # CONFIG_CRYPTO_DES is not set 1072 + # CONFIG_CRYPTO_FCRYPT is not set 1073 + # CONFIG_CRYPTO_BLOWFISH is not set 1074 + # CONFIG_CRYPTO_TWOFISH is not set 1075 + # CONFIG_CRYPTO_SERPENT is not set 1076 + # CONFIG_CRYPTO_AES is not set 1077 + # CONFIG_CRYPTO_CAST5 is not set 1078 + # CONFIG_CRYPTO_CAST6 is not set 1079 + # CONFIG_CRYPTO_TEA is not set 1080 + # CONFIG_CRYPTO_ARC4 is not set 1081 + # CONFIG_CRYPTO_KHAZAD is not set 1082 + # CONFIG_CRYPTO_ANUBIS is not set 1083 + # CONFIG_CRYPTO_SEED is not set 1084 + # CONFIG_CRYPTO_SALSA20 is not set 1085 + # CONFIG_CRYPTO_DEFLATE is not set 1086 + # CONFIG_CRYPTO_MICHAEL_MIC is not set 1087 + # CONFIG_CRYPTO_CRC32C is not set 1088 + # CONFIG_CRYPTO_CAMELLIA is not set 1089 + # CONFIG_CRYPTO_TEST is not set 1090 + # CONFIG_CRYPTO_AUTHENC is not set 1091 + # CONFIG_CRYPTO_LZO is not set 1092 + CONFIG_CRYPTO_HW=y 1093 1094 # 1095 # Library routines
+3
arch/arm/kernel/head-common.S
··· 11 * 12 */ 13 14 .type __switch_data, %object 15 __switch_data: 16 .long __mmap_switched
··· 11 * 12 */ 13 14 + #define ATAG_CORE 0x54410001 15 + #define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2) 16 + 17 .type __switch_data, %object 18 __switch_data: 19 .long __mmap_switched
-3
arch/arm/kernel/head.S
··· 29 #define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET) 30 #define KERNEL_RAM_PADDR (PHYS_OFFSET + TEXT_OFFSET) 31 32 - #define ATAG_CORE 0x54410001 33 - #define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2) 34 - 35 36 /* 37 * swapper_pg_dir is the virtual address of the initial page table.
··· 29 #define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET) 30 #define KERNEL_RAM_PADDR (PHYS_OFFSET + TEXT_OFFSET) 31 32 33 /* 34 * swapper_pg_dir is the virtual address of the initial page table.
+5
arch/arm/kernel/kprobes.c
··· 431 return 0; 432 } 433 434 static struct undef_hook kprobes_break_hook = { 435 .instr_mask = 0xffffffff, 436 .instr_val = KPROBE_BREAKPOINT_INSTRUCTION,
··· 431 return 0; 432 } 433 434 + int __kprobes arch_trampoline_kprobe(struct kprobe *p) 435 + { 436 + return 0; 437 + } 438 + 439 static struct undef_hook kprobes_break_hook = { 440 .instr_mask = 0xffffffff, 441 .instr_val = KPROBE_BREAKPOINT_INSTRUCTION,
+1 -4
arch/arm/mach-at91/board-sam9263ek.c
··· 245 246 static void at91_lcdc_power_control(int on) 247 { 248 - if (on) 249 - at91_set_gpio_value(AT91_PIN_PD12, 0); /* power up */ 250 - else 251 - at91_set_gpio_value(AT91_PIN_PD12, 1); /* power down */ 252 } 253 254 /* Driver datas */
··· 245 246 static void at91_lcdc_power_control(int on) 247 { 248 + at91_set_gpio_value(AT91_PIN_PA30, on); 249 } 250 251 /* Driver datas */
+7
arch/arm/mach-at91/gpio.c
··· 490 491 /*--------------------------------------------------------------------------*/ 492 493 /* 494 * Called from the processor-specific init to enable GPIO interrupt support. 495 */ ··· 515 __raw_writel(~0, this->regbase + PIO_IDR); 516 517 for (i = 0, pin = this->chipbase; i < 32; i++, pin++) { 518 /* 519 * Can use the "simple" and not "edge" handler since it's 520 * shorter, and the AIC handles interrupts sanely.
··· 490 491 /*--------------------------------------------------------------------------*/ 492 493 + /* This lock class tells lockdep that GPIO irqs are in a different 494 + * category than their parents, so it won't report false recursion. 495 + */ 496 + static struct lock_class_key gpio_lock_class; 497 + 498 /* 499 * Called from the processor-specific init to enable GPIO interrupt support. 500 */ ··· 510 __raw_writel(~0, this->regbase + PIO_IDR); 511 512 for (i = 0, pin = this->chipbase; i < 32; i++, pin++) { 513 + lockdep_set_class(&irq_desc[pin].lock, &gpio_lock_class); 514 + 515 /* 516 * Can use the "simple" and not "edge" handler since it's 517 * shorter, and the AIC handles interrupts sanely.
+6 -6
arch/arm/mach-h720x/common.c
··· 103 h720x_gpio_handler(unsigned int mask, unsigned int irq, 104 struct irq_desc *desc) 105 { 106 - IRQDBG("%s irq: %d\n",__FUNCTION__,irq); 107 desc = irq_desc + irq; 108 while (mask) { 109 if (mask & 1) { ··· 123 124 mask = CPU_REG(GPIO_A_VIRT,GPIO_STAT); 125 irq = IRQ_CHAINED_GPIOA(0); 126 - IRQDBG("%s mask: 0x%08x irq: %d\n",__FUNCTION__,mask,irq); 127 h720x_gpio_handler(mask, irq, desc); 128 } 129 ··· 133 unsigned int mask, irq; 134 mask = CPU_REG(GPIO_B_VIRT,GPIO_STAT); 135 irq = IRQ_CHAINED_GPIOB(0); 136 - IRQDBG("%s mask: 0x%08x irq: %d\n",__FUNCTION__,mask,irq); 137 h720x_gpio_handler(mask, irq, desc); 138 } 139 ··· 144 145 mask = CPU_REG(GPIO_C_VIRT,GPIO_STAT); 146 irq = IRQ_CHAINED_GPIOC(0); 147 - IRQDBG("%s mask: 0x%08x irq: %d\n",__FUNCTION__,mask,irq); 148 h720x_gpio_handler(mask, irq, desc); 149 } 150 ··· 155 156 mask = CPU_REG(GPIO_D_VIRT,GPIO_STAT); 157 irq = IRQ_CHAINED_GPIOD(0); 158 - IRQDBG("%s mask: 0x%08x irq: %d\n",__FUNCTION__,mask,irq); 159 h720x_gpio_handler(mask, irq, desc); 160 } 161 ··· 167 168 mask = CPU_REG(GPIO_E_VIRT,GPIO_STAT); 169 irq = IRQ_CHAINED_GPIOE(0); 170 - IRQDBG("%s mask: 0x%08x irq: %d\n",__FUNCTION__,mask,irq); 171 h720x_gpio_handler(mask, irq, desc); 172 } 173 #endif
··· 103 h720x_gpio_handler(unsigned int mask, unsigned int irq, 104 struct irq_desc *desc) 105 { 106 + IRQDBG("%s irq: %d\n", __func__, irq); 107 desc = irq_desc + irq; 108 while (mask) { 109 if (mask & 1) { ··· 123 124 mask = CPU_REG(GPIO_A_VIRT,GPIO_STAT); 125 irq = IRQ_CHAINED_GPIOA(0); 126 + IRQDBG("%s mask: 0x%08x irq: %d\n", __func__, mask,irq); 127 h720x_gpio_handler(mask, irq, desc); 128 } 129 ··· 133 unsigned int mask, irq; 134 mask = CPU_REG(GPIO_B_VIRT,GPIO_STAT); 135 irq = IRQ_CHAINED_GPIOB(0); 136 + IRQDBG("%s mask: 0x%08x irq: %d\n", __func__, mask,irq); 137 h720x_gpio_handler(mask, irq, desc); 138 } 139 ··· 144 145 mask = CPU_REG(GPIO_C_VIRT,GPIO_STAT); 146 irq = IRQ_CHAINED_GPIOC(0); 147 + IRQDBG("%s mask: 0x%08x irq: %d\n", __func__, mask,irq); 148 h720x_gpio_handler(mask, irq, desc); 149 } 150 ··· 155 156 mask = CPU_REG(GPIO_D_VIRT,GPIO_STAT); 157 irq = IRQ_CHAINED_GPIOD(0); 158 + IRQDBG("%s mask: 0x%08x irq: %d\n", __func__, mask,irq); 159 h720x_gpio_handler(mask, irq, desc); 160 } 161 ··· 167 168 mask = CPU_REG(GPIO_E_VIRT,GPIO_STAT); 169 irq = IRQ_CHAINED_GPIOE(0); 170 + IRQDBG("%s mask: 0x%08x irq: %d\n", __func__, mask,irq); 171 h720x_gpio_handler(mask, irq, desc); 172 } 173 #endif
+6 -6
arch/arm/mach-imx/dma.c
··· 54 55 if (!imxdma->name) { 56 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 57 - __FUNCTION__, dma_ch); 58 return 0; 59 } 60 ··· 288 289 if (!imxdma->name) { 290 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 291 - __FUNCTION__, dma_ch); 292 return -ENODEV; 293 } 294 ··· 321 322 if (!imxdma->name) { 323 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 324 - __FUNCTION__, dma_ch); 325 return; 326 } 327 ··· 365 366 if (dma_ch >= IMX_DMA_CHANNELS) { 367 printk(KERN_CRIT "%s: called for non-existed channel %d\n", 368 - __FUNCTION__, dma_ch); 369 return -EINVAL; 370 } 371 ··· 396 if (!imxdma->name) { 397 printk(KERN_CRIT 398 "%s: trying to free channel %d which is already freed\n", 399 - __FUNCTION__, dma_ch); 400 return; 401 } 402 ··· 456 } 457 } 458 459 - printk(KERN_ERR "%s: no free DMA channel found\n", __FUNCTION__); 460 461 return -ENODEV; 462 }
··· 54 55 if (!imxdma->name) { 56 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 57 + __func__, dma_ch); 58 return 0; 59 } 60 ··· 288 289 if (!imxdma->name) { 290 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 291 + __func__, dma_ch); 292 return -ENODEV; 293 } 294 ··· 321 322 if (!imxdma->name) { 323 printk(KERN_CRIT "%s: called for not allocated channel %d\n", 324 + __func__, dma_ch); 325 return; 326 } 327 ··· 365 366 if (dma_ch >= IMX_DMA_CHANNELS) { 367 printk(KERN_CRIT "%s: called for non-existed channel %d\n", 368 + __func__, dma_ch); 369 return -EINVAL; 370 } 371 ··· 396 if (!imxdma->name) { 397 printk(KERN_CRIT 398 "%s: trying to free channel %d which is already freed\n", 399 + __func__, dma_ch); 400 return; 401 } 402 ··· 456 } 457 } 458 459 + printk(KERN_ERR "%s: no free DMA channel found\n", __func__); 460 461 return -ENODEV; 462 }
+3 -3
arch/arm/mach-imx/irq.c
··· 160 static void 161 imx_gpio_ack_irq(unsigned int irq) 162 { 163 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, irq); 164 ISR(IRQ_TO_REG(irq)) = 1 << ((irq - IRQ_GPIOA(0)) % 32); 165 } 166 167 static void 168 imx_gpio_mask_irq(unsigned int irq) 169 { 170 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, irq); 171 IMR(IRQ_TO_REG(irq)) &= ~( 1 << ((irq - IRQ_GPIOA(0)) % 32)); 172 } 173 174 static void 175 imx_gpio_unmask_irq(unsigned int irq) 176 { 177 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, irq); 178 IMR(IRQ_TO_REG(irq)) |= 1 << ((irq - IRQ_GPIOA(0)) % 32); 179 } 180
··· 160 static void 161 imx_gpio_ack_irq(unsigned int irq) 162 { 163 + DEBUG_IRQ("%s: irq %d\n", __func__, irq); 164 ISR(IRQ_TO_REG(irq)) = 1 << ((irq - IRQ_GPIOA(0)) % 32); 165 } 166 167 static void 168 imx_gpio_mask_irq(unsigned int irq) 169 { 170 + DEBUG_IRQ("%s: irq %d\n", __func__, irq); 171 IMR(IRQ_TO_REG(irq)) &= ~( 1 << ((irq - IRQ_GPIOA(0)) % 32)); 172 } 173 174 static void 175 imx_gpio_unmask_irq(unsigned int irq) 176 { 177 + DEBUG_IRQ("%s: irq %d\n", __func__, irq); 178 IMR(IRQ_TO_REG(irq)) |= 1 << ((irq - IRQ_GPIOA(0)) % 32); 179 } 180
+1 -1
arch/arm/mach-iop13xx/iq81340mc.c
··· 81 static void __init iq81340mc_timer_init(void) 82 { 83 unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); 84 - printk(KERN_DEBUG "%s: bus frequency: %lu\n", __FUNCTION__, bus_freq); 85 iop_init_time(bus_freq); 86 } 87
··· 81 static void __init iq81340mc_timer_init(void) 82 { 83 unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); 84 + printk(KERN_DEBUG "%s: bus frequency: %lu\n", __func__, bus_freq); 85 iop_init_time(bus_freq); 86 } 87
+1 -1
arch/arm/mach-iop13xx/iq81340sc.c
··· 83 static void __init iq81340sc_timer_init(void) 84 { 85 unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); 86 - printk(KERN_DEBUG "%s: bus frequency: %lu\n", __FUNCTION__, bus_freq); 87 iop_init_time(bus_freq); 88 } 89
··· 83 static void __init iq81340sc_timer_init(void) 84 { 85 unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); 86 + printk(KERN_DEBUG "%s: bus frequency: %lu\n", __func__, bus_freq); 87 iop_init_time(bus_freq); 88 } 89
+4 -4
arch/arm/mach-iop13xx/pci.c
··· 94 , 0, iop13xx_atux_mem_size, MT_DEVICE); 95 if (!iop13xx_atux_mem_base) { 96 printk("%s: atux allocation " 97 - "failed\n", __FUNCTION__); 98 BUG(); 99 } 100 } else 101 iop13xx_atux_mem_size = 0; 102 PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", 103 - __FUNCTION__, atu, iop13xx_atux_mem_size, 104 iop13xx_atux_mem_base); 105 break; 106 case 1: ··· 120 , 0, iop13xx_atue_mem_size, MT_DEVICE); 121 if (!iop13xx_atue_mem_base) { 122 printk("%s: atue allocation " 123 - "failed\n", __FUNCTION__); 124 BUG(); 125 } 126 } else 127 iop13xx_atue_mem_size = 0; 128 PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", 129 - __FUNCTION__, atu, iop13xx_atue_mem_size, 130 iop13xx_atue_mem_base); 131 break; 132 }
··· 94 , 0, iop13xx_atux_mem_size, MT_DEVICE); 95 if (!iop13xx_atux_mem_base) { 96 printk("%s: atux allocation " 97 + "failed\n", __func__); 98 BUG(); 99 } 100 } else 101 iop13xx_atux_mem_size = 0; 102 PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", 103 + __func__, atu, iop13xx_atux_mem_size, 104 iop13xx_atux_mem_base); 105 break; 106 case 1: ··· 120 , 0, iop13xx_atue_mem_size, MT_DEVICE); 121 if (!iop13xx_atue_mem_base) { 122 printk("%s: atue allocation " 123 + "failed\n", __func__); 124 BUG(); 125 } 126 } else 127 iop13xx_atue_mem_size = 0; 128 PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", 129 + __func__, atu, iop13xx_atue_mem_size, 130 iop13xx_atue_mem_base); 131 break; 132 }
+1 -1
arch/arm/mach-iop13xx/setup.c
··· 519 if (iq8134x_flash_resource.end > iq8134x_flash_resource.start) 520 iop13xx_devices[plat_idx++] = &iq8134x_flash; 521 else 522 - printk(KERN_ERR "%s: Failed to probe flash size\n", __FUNCTION__); 523 #endif 524 525 platform_add_devices(iop13xx_devices, plat_idx);
··· 519 if (iq8134x_flash_resource.end > iq8134x_flash_resource.start) 520 iop13xx_devices[plat_idx++] = &iq8134x_flash; 521 else 522 + printk(KERN_ERR "%s: Failed to probe flash size\n", __func__); 523 #endif 524 525 platform_add_devices(iop13xx_devices, plat_idx);
+1 -1
arch/arm/mach-ixp4xx/common-pci.c
··· 87 if (isr & PCI_ISR_PFE) { 88 /* make sure the Master Abort bit is reset */ 89 *PCI_ISR = PCI_ISR_PFE; 90 - pr_debug("%s failed\n", __FUNCTION__); 91 return 1; 92 } 93
··· 87 if (isr & PCI_ISR_PFE) { 88 /* make sure the Master Abort bit is reset */ 89 *PCI_ISR = PCI_ISR_PFE; 90 + pr_debug("%s failed\n", __func__); 91 return 1; 92 } 93
+1 -1
arch/arm/mach-ixp4xx/gtwx5715-pci.c
··· 65 else 66 rc = gtwx5715_irqmap[slot][pin-1]; 67 68 - printk("%s: Mapped slot %d pin %d to IRQ %d\n", __FUNCTION__,slot, pin, rc); 69 return(rc); 70 } 71
··· 65 else 66 rc = gtwx5715_irqmap[slot][pin-1]; 67 68 + printk("%s: Mapped slot %d pin %d to IRQ %d\n", __func__, slot, pin, rc); 69 return(rc); 70 } 71
+3 -3
arch/arm/mach-netx/generic.c
··· 133 val &= ~((1 << 24) << irq); 134 writel(val, NETX_DPMAS_INT_EN); 135 136 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, _irq); 137 } 138 139 static void ··· 145 val = readl(NETX_DPMAS_INT_EN); 146 val &= ~((1 << 24) << irq); 147 writel(val, NETX_DPMAS_INT_EN); 148 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, _irq); 149 } 150 151 static void ··· 157 val = readl(NETX_DPMAS_INT_EN); 158 val |= (1 << 24) << irq; 159 writel(val, NETX_DPMAS_INT_EN); 160 - DEBUG_IRQ("%s: irq %d\n", __FUNCTION__, _irq); 161 } 162 163 static struct irq_chip netx_hif_chip = {
··· 133 val &= ~((1 << 24) << irq); 134 writel(val, NETX_DPMAS_INT_EN); 135 136 + DEBUG_IRQ("%s: irq %d\n", __func__, _irq); 137 } 138 139 static void ··· 145 val = readl(NETX_DPMAS_INT_EN); 146 val &= ~((1 << 24) << irq); 147 writel(val, NETX_DPMAS_INT_EN); 148 + DEBUG_IRQ("%s: irq %d\n", __func__, _irq); 149 } 150 151 static void ··· 157 val = readl(NETX_DPMAS_INT_EN); 158 val |= (1 << 24) << irq; 159 writel(val, NETX_DPMAS_INT_EN); 160 + DEBUG_IRQ("%s: irq %d\n", __func__, _irq); 161 } 162 163 static struct irq_chip netx_hif_chip = {
+1 -1
arch/arm/mach-ns9xxx/gpio.c
··· 31 static spinlock_t gpio_lock = __SPIN_LOCK_UNLOCKED(gpio_lock); 32 33 /* only access gpiores with atomic ops */ 34 - static DECLARE_BITMAP(gpiores, GPIO_MAX); 35 36 static inline int ns9xxx_valid_gpio(unsigned gpio) 37 {
··· 31 static spinlock_t gpio_lock = __SPIN_LOCK_UNLOCKED(gpio_lock); 32 33 /* only access gpiores with atomic ops */ 34 + static DECLARE_BITMAP(gpiores, GPIO_MAX + 1); 35 36 static inline int ns9xxx_valid_gpio(unsigned gpio) 37 {
+4
arch/arm/mach-omap1/board-h2.c
··· 350 351 static struct i2c_board_info __initdata h2_i2c_board_info[] = { 352 { 353 I2C_BOARD_INFO("isp1301_omap", 0x2d), 354 .type = "isp1301_omap", 355 .irq = OMAP_GPIO_IRQ(2),
··· 350 351 static struct i2c_board_info __initdata h2_i2c_board_info[] = { 352 { 353 + I2C_BOARD_INFO("tps65010", 0x48), 354 + .type = "tps65010", 355 + .irq = OMAP_GPIO_IRQ(58), 356 + }, { 357 I2C_BOARD_INFO("isp1301_omap", 0x2d), 358 .type = "isp1301_omap", 359 .irq = OMAP_GPIO_IRQ(2),
+22
arch/arm/mach-omap1/board-h3.c
··· 26 #include <linux/mtd/nand.h> 27 #include <linux/mtd/partitions.h> 28 #include <linux/input.h> 29 #include <linux/i2c/tps65010.h> 30 31 #include <asm/setup.h> ··· 51 #include <asm/arch/common.h> 52 #include <asm/arch/mcbsp.h> 53 #include <asm/arch/omap-alsa.h> 54 55 static int h3_keymap[] = { 56 KEY(0, 0, KEY_LEFT), ··· 376 .id = -1, 377 }; 378 379 static struct omap_mcbsp_reg_cfg mcbsp_regs = { 380 .spcr2 = FREE | FRST | GRST | XRST | XINTM(3), 381 .spcr1 = RINTM(3) | RRST, ··· 469 { OMAP_TAG_MMC, &h3_mmc_config }, 470 { OMAP_TAG_UART, &h3_uart_config }, 471 { OMAP_TAG_LCD, &h3_lcd_config }, 472 }; 473 474 static struct omap_gpio_switch h3_gpio_switches[] __initdata = {
··· 26 #include <linux/mtd/nand.h> 27 #include <linux/mtd/partitions.h> 28 #include <linux/input.h> 29 + #include <linux/spi/spi.h> 30 #include <linux/i2c/tps65010.h> 31 32 #include <asm/setup.h> ··· 50 #include <asm/arch/common.h> 51 #include <asm/arch/mcbsp.h> 52 #include <asm/arch/omap-alsa.h> 53 + 54 + #define H3_TS_GPIO 48 55 56 static int h3_keymap[] = { 57 KEY(0, 0, KEY_LEFT), ··· 373 .id = -1, 374 }; 375 376 + static struct spi_board_info h3_spi_board_info[] __initdata = { 377 + [0] = { 378 + .modalias = "tsc2101", 379 + .bus_num = 2, 380 + .chip_select = 0, 381 + .irq = OMAP_GPIO_IRQ(H3_TS_GPIO), 382 + .max_speed_hz = 16000000, 383 + /* .platform_data = &tsc_platform_data, */ 384 + }, 385 + }; 386 + 387 static struct omap_mcbsp_reg_cfg mcbsp_regs = { 388 .spcr2 = FREE | FRST | GRST | XRST | XINTM(3), 389 .spcr1 = RINTM(3) | RRST, ··· 455 { OMAP_TAG_MMC, &h3_mmc_config }, 456 { OMAP_TAG_UART, &h3_uart_config }, 457 { OMAP_TAG_LCD, &h3_lcd_config }, 458 + }; 459 + 460 + static struct i2c_board_info __initdata h3_i2c_board_info[] = { 461 + { 462 + I2C_BOARD_INFO("tps65010", 0x48), 463 + .type = "tps65013", 464 + /* .irq = OMAP_GPIO_IRQ(??), */ 465 + }, 466 }; 467 468 static struct omap_gpio_switch h3_gpio_switches[] __initdata = {
+1 -1
arch/arm/mach-omap1/pm.c
··· 717 #endif 718 719 #ifdef CONFIG_OMAP_32K_TIMER 720 - error = sysfs_create_file(power_kobj, &sleep_while_idle_attr); 721 if (error) 722 printk(KERN_ERR "sysfs_create_file failed: %d\n", error); 723 #endif
··· 717 #endif 718 719 #ifdef CONFIG_OMAP_32K_TIMER 720 + error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr); 721 if (error) 722 printk(KERN_ERR "sysfs_create_file failed: %d\n", error); 723 #endif
+6
arch/arm/mach-omap2/io.c
··· 42 .length = L3_24XX_SIZE, 43 .type = MT_DEVICE 44 }, 45 #ifdef CONFIG_ARCH_OMAP2430 46 { 47 .virtual = L4_WK_243X_VIRT,
··· 42 .length = L3_24XX_SIZE, 43 .type = MT_DEVICE 44 }, 45 + { 46 + .virtual = L4_24XX_VIRT, 47 + .pfn = __phys_to_pfn(L4_24XX_PHYS), 48 + .length = L4_24XX_SIZE, 49 + .type = MT_DEVICE 50 + }, 51 #ifdef CONFIG_ARCH_OMAP2430 52 { 53 .virtual = L4_WK_243X_VIRT,
+10 -4
arch/arm/mach-orion/addr-map.c
··· 97 #define PCIE_BAR_CTRL(n) ORION_PCIE_REG(0x1804 + ((n - 1) * 4)) 98 #define PCIE_BAR_LO(n) ORION_PCIE_REG(0x0010 + ((n) * 8)) 99 #define PCIE_BAR_HI(n) ORION_PCIE_REG(0x0014 + ((n) * 8)) 100 - #define PCIE_WIN_CTRL(n) ORION_PCIE_REG(0x1820 + ((n) << 4)) 101 - #define PCIE_WIN_BASE(n) ORION_PCIE_REG(0x1824 + ((n) << 4)) 102 - #define PCIE_WIN_REMAP(n) ORION_PCIE_REG(0x182c + ((n) << 4)) 103 #define PCIE_DEFWIN_CTRL ORION_PCIE_REG(0x18b0) 104 #define PCIE_EXPROM_WIN_CTRL ORION_PCIE_REG(0x18c0) 105 #define PCIE_EXPROM_WIN_REMP ORION_PCIE_REG(0x18c4) 106 #define PCIE_MAX_BARS 3 107 - #define PCIE_MAX_WINS 5 108 109 /* 110 * Use PCIE BAR '1' for all DDR banks
··· 97 #define PCIE_BAR_CTRL(n) ORION_PCIE_REG(0x1804 + ((n - 1) * 4)) 98 #define PCIE_BAR_LO(n) ORION_PCIE_REG(0x0010 + ((n) * 8)) 99 #define PCIE_BAR_HI(n) ORION_PCIE_REG(0x0014 + ((n) * 8)) 100 + #define PCIE_WIN_CTRL(n) (((n) < 5) ? \ 101 + ORION_PCIE_REG(0x1820 + ((n) << 4)) : \ 102 + ORION_PCIE_REG(0x1880)) 103 + #define PCIE_WIN_BASE(n) (((n) < 5) ? \ 104 + ORION_PCIE_REG(0x1824 + ((n) << 4)) : \ 105 + ORION_PCIE_REG(0x1884)) 106 + #define PCIE_WIN_REMAP(n) (((n) < 5) ? \ 107 + ORION_PCIE_REG(0x182c + ((n) << 4)) : \ 108 + ORION_PCIE_REG(0x188c)) 109 #define PCIE_DEFWIN_CTRL ORION_PCIE_REG(0x18b0) 110 #define PCIE_EXPROM_WIN_CTRL ORION_PCIE_REG(0x18c0) 111 #define PCIE_EXPROM_WIN_REMP ORION_PCIE_REG(0x18c4) 112 #define PCIE_MAX_BARS 3 113 + #define PCIE_MAX_WINS 6 114 115 /* 116 * Use PCIE BAR '1' for all DDR banks
+22 -2
arch/arm/mach-orion/common.c
··· 17 #include <linux/mv643xx_eth.h> 18 #include <linux/mv643xx_i2c.h> 19 #include <asm/page.h> 20 #include <asm/timex.h> 21 #include <asm/mach/map.h> 22 #include <asm/arch/hardware.h> 23 #include "common.h" ··· 179 180 static struct resource orion_eth_shared_resources[] = { 181 { 182 - .start = ORION_ETH_PHYS_BASE, 183 - .end = ORION_ETH_PHYS_BASE + 0xffff, 184 .flags = IORESOURCE_MEM, 185 }, 186 }; ··· 348 if (dev == MV88F5182_DEV_ID) 349 platform_device_register(&orion_ehci1); 350 platform_device_register(&orion_i2c); 351 }
··· 17 #include <linux/mv643xx_eth.h> 18 #include <linux/mv643xx_i2c.h> 19 #include <asm/page.h> 20 + #include <asm/setup.h> 21 #include <asm/timex.h> 22 + #include <asm/mach/arch.h> 23 #include <asm/mach/map.h> 24 #include <asm/arch/hardware.h> 25 #include "common.h" ··· 177 178 static struct resource orion_eth_shared_resources[] = { 179 { 180 + .start = ORION_ETH_PHYS_BASE + 0x2000, 181 + .end = ORION_ETH_PHYS_BASE + 0x3fff, 182 .flags = IORESOURCE_MEM, 183 }, 184 }; ··· 346 if (dev == MV88F5182_DEV_ID) 347 platform_device_register(&orion_ehci1); 348 platform_device_register(&orion_i2c); 349 + } 350 + 351 + /* 352 + * Many orion-based systems have buggy bootloader implementations. 353 + * This is a common fixup for bogus memory tags. 354 + */ 355 + void __init tag_fixup_mem32(struct machine_desc *mdesc, struct tag *t, 356 + char **from, struct meminfo *meminfo) 357 + { 358 + for (; t->hdr.size; t = tag_next(t)) 359 + if (t->hdr.tag == ATAG_MEM && 360 + (!t->u.mem.size || t->u.mem.size & ~PAGE_MASK || 361 + t->u.mem.start & ~PAGE_MASK)) { 362 + printk(KERN_WARNING 363 + "Clearing invalid memory bank %dKB@0x%08x\n", 364 + t->u.mem.size / 1024, t->u.mem.start); 365 + t->hdr.tag = 0; 366 + } 367 }
+6
arch/arm/mach-orion/common.h
··· 83 84 void __init orion_sata_init(struct mv_sata_platform_data *sata_data); 85 86 #endif /* __ARCH_ORION_COMMON_H__ */
··· 83 84 void __init orion_sata_init(struct mv_sata_platform_data *sata_data); 85 86 + struct machine_desc; 87 + struct meminfo; 88 + struct tag; 89 + extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *, 90 + char **, struct meminfo *); 91 + 92 #endif /* __ARCH_ORION_COMMON_H__ */
+1
arch/arm/mach-orion/dns323-setup.c
··· 319 .map_io = orion_map_io, 320 .init_irq = orion_init_irq, 321 .timer = &orion_timer, 322 MACHINE_END
··· 319 .map_io = orion_map_io, 320 .init_irq = orion_init_irq, 321 .timer = &orion_timer, 322 + .fixup = tag_fixup_mem32, 323 MACHINE_END
+6 -6
arch/arm/mach-orion/gpio.c
··· 36 unsigned long flags; 37 38 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 39 - pr_debug("%s: invalid GPIO %d\n", __FUNCTION__, pin); 40 return -EINVAL; 41 } 42 ··· 62 int mask; 63 64 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 65 - pr_debug("%s: invalid GPIO %d\n", __FUNCTION__, pin); 66 return -EINVAL; 67 } 68 ··· 141 unsigned long flags; 142 143 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 144 - pr_debug("%s: invalid GPIO %d\n", __FUNCTION__, pin); 145 return -EINVAL; 146 } 147 ··· 149 150 if (gpio_label[pin]) { 151 pr_debug("%s: GPIO %d already used as %s\n", 152 - __FUNCTION__, pin, gpio_label[pin]); 153 ret = -EBUSY; 154 } else 155 gpio_label[pin] = label ? label : "?"; ··· 162 void gpio_free(unsigned pin) 163 { 164 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 165 - pr_debug("%s: invalid GPIO %d\n", __FUNCTION__, pin); 166 return; 167 } 168 169 if (!gpio_label[pin]) 170 - pr_warning("%s: GPIO %d already freed\n", __FUNCTION__, pin); 171 else 172 gpio_label[pin] = NULL; 173 }
··· 36 unsigned long flags; 37 38 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 39 + pr_debug("%s: invalid GPIO %d\n", __func__, pin); 40 return -EINVAL; 41 } 42 ··· 62 int mask; 63 64 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 65 + pr_debug("%s: invalid GPIO %d\n", __func__, pin); 66 return -EINVAL; 67 } 68 ··· 141 unsigned long flags; 142 143 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 144 + pr_debug("%s: invalid GPIO %d\n", __func__, pin); 145 return -EINVAL; 146 } 147 ··· 149 150 if (gpio_label[pin]) { 151 pr_debug("%s: GPIO %d already used as %s\n", 152 + __func__, pin, gpio_label[pin]); 153 ret = -EBUSY; 154 } else 155 gpio_label[pin] = label ? label : "?"; ··· 162 void gpio_free(unsigned pin) 163 { 164 if (pin >= GPIO_MAX || !test_bit(pin, gpio_valid)) { 165 + pr_debug("%s: invalid GPIO %d\n", __func__, pin); 166 return; 167 } 168 169 if (!gpio_label[pin]) 170 + pr_warning("%s: GPIO %d already freed\n", __func__, pin); 171 else 172 gpio_label[pin] = NULL; 173 }
+1
arch/arm/mach-orion/kurobox_pro-setup.c
··· 240 .map_io = orion_map_io, 241 .init_irq = orion_init_irq, 242 .timer = &orion_timer, 243 MACHINE_END
··· 240 .map_io = orion_map_io, 241 .init_irq = orion_init_irq, 242 .timer = &orion_timer, 243 + .fixup = tag_fixup_mem32, 244 MACHINE_END
+1
arch/arm/mach-orion/ts209-setup.c
··· 357 .map_io = orion_map_io, 358 .init_irq = orion_init_irq, 359 .timer = &orion_timer, 360 MACHINE_END
··· 357 .map_io = orion_map_io, 358 .init_irq = orion_init_irq, 359 .timer = &orion_timer, 360 + .fixup = tag_fixup_mem32, 361 MACHINE_END
+1 -1
arch/arm/mach-pnx4008/clock.c
··· 976 (*clkp)->set_parent((*clkp), (*clkp)->parent); 977 } 978 pr_debug("%s: clock %s, rate %ld\n", 979 - __FUNCTION__, (*clkp)->name, (*clkp)->rate); 980 } 981 982 local_clk_use(&ck_pll4);
··· 976 (*clkp)->set_parent((*clkp), (*clkp)->parent); 977 } 978 pr_debug("%s: clock %s, rate %ld\n", 979 + __func__, (*clkp)->name, (*clkp)->rate); 980 } 981 982 local_clk_use(&ck_pll4);
+1 -1
arch/arm/mach-pnx4008/dma.c
··· 192 if (!dma_channels[ch].name) { 193 printk(KERN_CRIT 194 "%s: trying to free channel %d which is already freed\n", 195 - __FUNCTION__, ch); 196 return; 197 } 198
··· 192 if (!dma_channels[ch].name) { 193 printk(KERN_CRIT 194 "%s: trying to free channel %d which is already freed\n", 195 + __func__, ch); 196 return; 197 } 198
+1 -1
arch/arm/mach-pxa/cm-x270-pci.c
··· 104 { 105 int irq; 106 107 - dev_dbg(&dev->dev, "%s: slot=%x, pin=%x\n", __FUNCTION__, slot, pin); 108 109 irq = it8152_pci_map_irq(dev, slot, pin); 110 if (irq)
··· 104 { 105 int irq; 106 107 + dev_dbg(&dev->dev, "%s: slot=%x, pin=%x\n", __func__, slot, pin); 108 109 irq = it8152_pci_map_irq(dev, slot, pin); 110 if (irq)
+2 -2
arch/arm/mach-pxa/cm-x270.c
··· 504 struct pxamci_platform_data *p_d = dev->platform_data; 505 506 if ((1 << vdd) & p_d->ocr_mask) { 507 - printk(KERN_DEBUG "%s: on\n", __FUNCTION__); 508 GPCR(105) = GPIO_bit(105); 509 } else { 510 GPSR(105) = GPIO_bit(105); 511 - printk(KERN_DEBUG "%s: off\n", __FUNCTION__); 512 } 513 } 514
··· 504 struct pxamci_platform_data *p_d = dev->platform_data; 505 506 if ((1 << vdd) & p_d->ocr_mask) { 507 + printk(KERN_DEBUG "%s: on\n", __func__); 508 GPCR(105) = GPIO_bit(105); 509 } else { 510 GPSR(105) = GPIO_bit(105); 511 + printk(KERN_DEBUG "%s: off\n", __func__); 512 } 513 } 514
+1 -1
arch/arm/mach-pxa/dma.c
··· 81 if (!dma_channels[dma_ch].name) { 82 printk (KERN_CRIT 83 "%s: trying to free channel %d which is already freed\n", 84 - __FUNCTION__, dma_ch); 85 return; 86 } 87
··· 81 if (!dma_channels[dma_ch].name) { 82 printk (KERN_CRIT 83 "%s: trying to free channel %d which is already freed\n", 84 + __func__, dma_ch); 85 return; 86 } 87
+1 -1
arch/arm/mach-pxa/em-x270.c
··· 264 "MMC card detect", data); 265 if (err) { 266 printk(KERN_ERR "%s: can't request MMC card detect IRQ: %d\n", 267 - __FUNCTION__, err); 268 return err; 269 } 270
··· 264 "MMC card detect", data); 265 if (err) { 266 printk(KERN_ERR "%s: can't request MMC card detect IRQ: %d\n", 267 + __func__, err); 268 return err; 269 } 270
+2 -2
arch/arm/mach-pxa/mainstone.c
··· 390 struct pxamci_platform_data* p_d = dev->platform_data; 391 392 if (( 1 << vdd) & p_d->ocr_mask) { 393 - printk(KERN_DEBUG "%s: on\n", __FUNCTION__); 394 MST_MSCWR1 |= MST_MSCWR1_MMC_ON; 395 MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL; 396 } else { 397 - printk(KERN_DEBUG "%s: off\n", __FUNCTION__); 398 MST_MSCWR1 &= ~MST_MSCWR1_MMC_ON; 399 } 400 }
··· 390 struct pxamci_platform_data* p_d = dev->platform_data; 391 392 if (( 1 << vdd) & p_d->ocr_mask) { 393 + printk(KERN_DEBUG "%s: on\n", __func__); 394 MST_MSCWR1 |= MST_MSCWR1_MMC_ON; 395 MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL; 396 } else { 397 + printk(KERN_DEBUG "%s: off\n", __func__); 398 MST_MSCWR1 &= ~MST_MSCWR1_MMC_ON; 399 } 400 }
+4 -4
arch/arm/mach-pxa/trizeps4.c
··· 217 ConXS_BCR = trizeps_conxs_bcr; 218 219 } 220 - pr_debug("%s: o%s 0x%x\n", __FUNCTION__, power ? "n": "ff", trizeps_conxs_bcr); 221 } 222 223 /* backlight power switching for LCD panel */ ··· 228 } else { 229 trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP; 230 } 231 - pr_debug("%s: o%s 0x%x\n", __FUNCTION__, on ? "n" : "ff", trizeps_conxs_bcr); 232 ConXS_BCR = trizeps_conxs_bcr; 233 } 234 ··· 238 struct pxamci_platform_data* p_d = dev->platform_data; 239 240 if (( 1 << vdd) & p_d->ocr_mask) { 241 - pr_debug("%s: on\n", __FUNCTION__); 242 /* FIXME fill in values here */ 243 } else { 244 - pr_debug("%s: off\n", __FUNCTION__); 245 /* FIXME fill in values here */ 246 } 247 }
··· 217 ConXS_BCR = trizeps_conxs_bcr; 218 219 } 220 + pr_debug("%s: o%s 0x%x\n", __func__, power ? "n": "ff", trizeps_conxs_bcr); 221 } 222 223 /* backlight power switching for LCD panel */ ··· 228 } else { 229 trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP; 230 } 231 + pr_debug("%s: o%s 0x%x\n", __func__, on ? "n" : "ff", trizeps_conxs_bcr); 232 ConXS_BCR = trizeps_conxs_bcr; 233 } 234 ··· 238 struct pxamci_platform_data* p_d = dev->platform_data; 239 240 if (( 1 << vdd) & p_d->ocr_mask) { 241 + pr_debug("%s: on\n", __func__); 242 /* FIXME fill in values here */ 243 } else { 244 + pr_debug("%s: off\n", __func__); 245 /* FIXME fill in values here */ 246 } 247 }
+3 -3
arch/arm/mach-sa1100/badge4.c
··· 206 if (ret < 0) 207 printk(KERN_ERR 208 "%s: SA-1111 initialization failed (%d)\n", 209 - __FUNCTION__, ret); 210 211 212 /* maybe turn on 5v0 from the start */ ··· 240 /* detect on->off and off->on transitions */ 241 if ((!old_5V_bitmap) && (badge4_5V_bitmap)) { 242 /* was off, now on */ 243 - printk(KERN_INFO "%s: enabling 5V supply rail\n", __FUNCTION__); 244 GPSR = BADGE4_GPIO_PCMEN5V; 245 } else if ((old_5V_bitmap) && (!badge4_5V_bitmap)) { 246 /* was on, now off */ 247 - printk(KERN_INFO "%s: disabling 5V supply rail\n", __FUNCTION__); 248 GPCR = BADGE4_GPIO_PCMEN5V; 249 } 250
··· 206 if (ret < 0) 207 printk(KERN_ERR 208 "%s: SA-1111 initialization failed (%d)\n", 209 + __func__, ret); 210 211 212 /* maybe turn on 5v0 from the start */ ··· 240 /* detect on->off and off->on transitions */ 241 if ((!old_5V_bitmap) && (badge4_5V_bitmap)) { 242 /* was off, now on */ 243 + printk(KERN_INFO "%s: enabling 5V supply rail\n", __func__); 244 GPSR = BADGE4_GPIO_PCMEN5V; 245 } else if ((old_5V_bitmap) && (!badge4_5V_bitmap)) { 246 /* was on, now off */ 247 + printk(KERN_INFO "%s: disabling 5V supply rail\n", __func__); 248 GPCR = BADGE4_GPIO_PCMEN5V; 249 } 250
+1 -1
arch/arm/mach-sa1100/cpu-sa1100.c
··· 139 140 if (settings->speed == 0) { 141 panic("%s: couldn't find dram setting for speed %d\n", 142 - __FUNCTION__, new_speed); 143 } 144 145 /* No risk, no fun: run with interrupts on! */
··· 139 140 if (settings->speed == 0) { 141 panic("%s: couldn't find dram setting for speed %d\n", 142 + __func__, new_speed); 143 } 144 145 /* No risk, no fun: run with interrupts on! */
+4 -4
arch/arm/mach-sa1100/dma.c
··· 129 if (err) { 130 printk(KERN_ERR 131 "%s: unable to request IRQ %d for %s\n", 132 - __FUNCTION__, IRQ_DMA0 + i, device_id); 133 dma->device = 0; 134 return err; 135 } ··· 165 if (regs == (dma_regs_t *)&DDAR(i)) 166 break; 167 if (i >= SA1100_DMA_CHANNELS) { 168 - printk(KERN_ERR "%s: bad DMA identifier\n", __FUNCTION__); 169 return; 170 } 171 172 if (!dma_chan[i].device) { 173 - printk(KERN_ERR "%s: Trying to free free DMA\n", __FUNCTION__); 174 return; 175 } 176 ··· 329 if (regs == (dma_regs_t *)&DDAR(i)) 330 break; 331 if (i >= SA1100_DMA_CHANNELS) { 332 - printk(KERN_ERR "%s: bad DMA identifier\n", __FUNCTION__); 333 return; 334 } 335
··· 129 if (err) { 130 printk(KERN_ERR 131 "%s: unable to request IRQ %d for %s\n", 132 + __func__, IRQ_DMA0 + i, device_id); 133 dma->device = 0; 134 return err; 135 } ··· 165 if (regs == (dma_regs_t *)&DDAR(i)) 166 break; 167 if (i >= SA1100_DMA_CHANNELS) { 168 + printk(KERN_ERR "%s: bad DMA identifier\n", __func__); 169 return; 170 } 171 172 if (!dma_chan[i].device) { 173 + printk(KERN_ERR "%s: Trying to free free DMA\n", __func__); 174 return; 175 } 176 ··· 329 if (regs == (dma_regs_t *)&DDAR(i)) 330 break; 331 if (i >= SA1100_DMA_CHANNELS) { 332 + printk(KERN_ERR "%s: bad DMA identifier\n", __func__); 333 return; 334 } 335
+7 -7
arch/arm/mach-sa1100/h3600.c
··· 596 case IPAQ_EGPIO_CODEC_NRESET: 597 case IPAQ_EGPIO_AUDIO_ON: 598 case IPAQ_EGPIO_QMUTE: 599 - printk("%s: error - should not be called\n", __FUNCTION__); 600 break; 601 case IPAQ_EGPIO_OPT_NVRAM_ON: 602 SET_ASIC2(GPIO2_OPT_ON_NVRAM); ··· 638 static u16 asic2_data; 639 int result = 0; 640 641 - printk("%s %d\n", __FUNCTION__, req); 642 643 switch (req) { 644 case PM_RESUME: ··· 666 asic2_data = H3800_ASIC2_GPIOPIOD; 667 break; 668 default: 669 - printk("%s: unrecognized PM callback\n", __FUNCTION__); 670 break; 671 } 672 return result; ··· 706 { 707 int i; 708 709 - if (0) printk("%s: interrupt received\n", __FUNCTION__); 710 711 desc->chip->ack(irq); 712 ··· 716 717 /* KPIO */ 718 irq = H3800_ASIC2_KPIINTFLAG; 719 - if (0) printk("%s KPIO 0x%08X\n", __FUNCTION__, irq); 720 for (j = 0; j < H3800_KPIO_IRQ_COUNT; j++) 721 if (irq & kpio_irq_mask[j]) 722 handle_edge_irq(H3800_KPIO_IRQ_COUNT + j, irq_desc + H3800_KPIO_IRQ_COUNT + j); 723 724 /* GPIO2 */ 725 irq = H3800_ASIC2_GPIINTFLAG; 726 - if (0) printk("%s GPIO 0x%08X\n", __FUNCTION__, irq); 727 for (j = 0; j < H3800_GPIO_IRQ_COUNT; j++) 728 if (irq & gpio_irq_mask[j]) 729 handle_edge_irq(H3800_GPIO_IRQ_COUNT + j, irq_desc + H3800_GPIO_IRQ_COUNT + j); 730 } 731 732 if (i >= MAX_ASIC_ISR_LOOPS) 733 - printk("%s: interrupt processing overrun\n", __FUNCTION__); 734 735 /* For level-based interrupts */ 736 desc->chip->unmask(irq);
··· 596 case IPAQ_EGPIO_CODEC_NRESET: 597 case IPAQ_EGPIO_AUDIO_ON: 598 case IPAQ_EGPIO_QMUTE: 599 + printk("%s: error - should not be called\n", __func__); 600 break; 601 case IPAQ_EGPIO_OPT_NVRAM_ON: 602 SET_ASIC2(GPIO2_OPT_ON_NVRAM); ··· 638 static u16 asic2_data; 639 int result = 0; 640 641 + printk("%s %d\n", __func__, req); 642 643 switch (req) { 644 case PM_RESUME: ··· 666 asic2_data = H3800_ASIC2_GPIOPIOD; 667 break; 668 default: 669 + printk("%s: unrecognized PM callback\n", __func__); 670 break; 671 } 672 return result; ··· 706 { 707 int i; 708 709 + if (0) printk("%s: interrupt received\n", __func__); 710 711 desc->chip->ack(irq); 712 ··· 716 717 /* KPIO */ 718 irq = H3800_ASIC2_KPIINTFLAG; 719 + if (0) printk("%s KPIO 0x%08X\n", __func__, irq); 720 for (j = 0; j < H3800_KPIO_IRQ_COUNT; j++) 721 if (irq & kpio_irq_mask[j]) 722 handle_edge_irq(H3800_KPIO_IRQ_COUNT + j, irq_desc + H3800_KPIO_IRQ_COUNT + j); 723 724 /* GPIO2 */ 725 irq = H3800_ASIC2_GPIINTFLAG; 726 + if (0) printk("%s GPIO 0x%08X\n", __func__, irq); 727 for (j = 0; j < H3800_GPIO_IRQ_COUNT; j++) 728 if (irq & gpio_irq_mask[j]) 729 handle_edge_irq(H3800_GPIO_IRQ_COUNT + j, irq_desc + H3800_GPIO_IRQ_COUNT + j); 730 } 731 732 if (i >= MAX_ASIC_ISR_LOOPS) 733 + printk("%s: interrupt processing overrun\n", __func__); 734 735 /* For level-based interrupts */ 736 desc->chip->unmask(irq);
+1 -1
arch/arm/plat-iop/pci.c
··· 371 default: 372 printk(KERN_DEBUG "\"%s\" malformed at " 373 "character: \'%c\'", 374 - __FUNCTION__, 375 *str); 376 *(str + 1) = '\0'; 377 }
··· 371 default: 372 printk(KERN_DEBUG "\"%s\" malformed at " 373 "character: \'%c\'", 374 + __func__, 375 *str); 376 *(str + 1) = '\0'; 377 }
+10 -22
arch/arm/plat-omap/cpu-omap.c
··· 33 #define MPU_CLK "virt_prcm_set" 34 #endif 35 36 /* TODO: Add support for SDRAM timing changes */ 37 38 int omap_verify_speed(struct cpufreq_policy *policy) 39 { 40 - struct clk * mpu_clk; 41 - 42 if (policy->cpu) 43 return -EINVAL; 44 45 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, 46 policy->cpuinfo.max_freq); 47 - mpu_clk = clk_get(NULL, MPU_CLK); 48 - if (IS_ERR(mpu_clk)) 49 - return PTR_ERR(mpu_clk); 50 policy->min = clk_round_rate(mpu_clk, policy->min * 1000) / 1000; 51 policy->max = clk_round_rate(mpu_clk, policy->max * 1000) / 1000; 52 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, 53 policy->cpuinfo.max_freq); 54 - clk_put(mpu_clk); 55 - 56 return 0; 57 } 58 59 unsigned int omap_getspeed(unsigned int cpu) 60 { 61 - struct clk * mpu_clk; 62 unsigned long rate; 63 64 if (cpu) 65 return 0; 66 67 - mpu_clk = clk_get(NULL, MPU_CLK); 68 - if (IS_ERR(mpu_clk)) 69 - return 0; 70 rate = clk_get_rate(mpu_clk) / 1000; 71 - clk_put(mpu_clk); 72 - 73 return rate; 74 } 75 ··· 67 unsigned int target_freq, 68 unsigned int relation) 69 { 70 - struct clk * mpu_clk; 71 struct cpufreq_freqs freqs; 72 int ret = 0; 73 - 74 - mpu_clk = clk_get(NULL, MPU_CLK); 75 - if (IS_ERR(mpu_clk)) 76 - return PTR_ERR(mpu_clk); 77 78 freqs.old = omap_getspeed(0); 79 freqs.new = clk_round_rate(mpu_clk, target_freq * 1000) / 1000; ··· 77 cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE); 78 ret = clk_set_rate(mpu_clk, target_freq * 1000); 79 cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); 80 - clk_put(mpu_clk); 81 82 return ret; 83 } 84 85 static int __init omap_cpu_init(struct cpufreq_policy *policy) 86 { 87 - struct clk * mpu_clk; 88 - 89 mpu_clk = clk_get(NULL, MPU_CLK); 90 if (IS_ERR(mpu_clk)) 91 return PTR_ERR(mpu_clk); ··· 93 policy->cpuinfo.min_freq = clk_round_rate(mpu_clk, 0) / 1000; 94 policy->cpuinfo.max_freq = clk_round_rate(mpu_clk, VERY_HI_RATE) / 1000; 95 policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL; 96 - clk_put(mpu_clk); 97 98 return 0; 99 } 100 ··· 109 .target = omap_target, 110 .get = omap_getspeed, 111 .init = omap_cpu_init, 112 .name = "omap", 113 }; 114
··· 33 #define MPU_CLK "virt_prcm_set" 34 #endif 35 36 + static struct clk *mpu_clk; 37 + 38 /* TODO: Add support for SDRAM timing changes */ 39 40 int omap_verify_speed(struct cpufreq_policy *policy) 41 { 42 if (policy->cpu) 43 return -EINVAL; 44 45 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, 46 policy->cpuinfo.max_freq); 47 + 48 policy->min = clk_round_rate(mpu_clk, policy->min * 1000) / 1000; 49 policy->max = clk_round_rate(mpu_clk, policy->max * 1000) / 1000; 50 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, 51 policy->cpuinfo.max_freq); 52 return 0; 53 } 54 55 unsigned int omap_getspeed(unsigned int cpu) 56 { 57 unsigned long rate; 58 59 if (cpu) 60 return 0; 61 62 rate = clk_get_rate(mpu_clk) / 1000; 63 return rate; 64 } 65 ··· 77 unsigned int target_freq, 78 unsigned int relation) 79 { 80 struct cpufreq_freqs freqs; 81 int ret = 0; 82 83 freqs.old = omap_getspeed(0); 84 freqs.new = clk_round_rate(mpu_clk, target_freq * 1000) / 1000; ··· 92 cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE); 93 ret = clk_set_rate(mpu_clk, target_freq * 1000); 94 cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); 95 96 return ret; 97 } 98 99 static int __init omap_cpu_init(struct cpufreq_policy *policy) 100 { 101 mpu_clk = clk_get(NULL, MPU_CLK); 102 if (IS_ERR(mpu_clk)) 103 return PTR_ERR(mpu_clk); ··· 111 policy->cpuinfo.min_freq = clk_round_rate(mpu_clk, 0) / 1000; 112 policy->cpuinfo.max_freq = clk_round_rate(mpu_clk, VERY_HI_RATE) / 1000; 113 policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL; 114 115 + return 0; 116 + } 117 + 118 + static int omap_cpu_exit(struct cpufreq_policy *policy) 119 + { 120 + clk_put(mpu_clk); 121 return 0; 122 } 123 ··· 122 .target = omap_target, 123 .get = omap_getspeed, 124 .init = omap_cpu_init, 125 + .exit = omap_cpu_exit, 126 .name = "omap", 127 }; 128
-63
arch/arm/plat-omap/devices.c
··· 89 #endif /* CONFIG_OMAP_DSP */ 90 91 /*-------------------------------------------------------------------------*/ 92 - #if defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE) 93 - 94 - #define OMAP1_I2C_BASE 0xfffb3800 95 - #define OMAP2_I2C_BASE1 0x48070000 96 - #define OMAP_I2C_SIZE 0x3f 97 - #define OMAP1_I2C_INT INT_I2C 98 - #define OMAP2_I2C_INT1 56 99 - 100 - static struct resource i2c_resources1[] = { 101 - { 102 - .start = 0, 103 - .end = 0, 104 - .flags = IORESOURCE_MEM, 105 - }, 106 - { 107 - .start = 0, 108 - .flags = IORESOURCE_IRQ, 109 - }, 110 - }; 111 - 112 - /* DMA not used; works around erratum writing to non-empty i2c fifo */ 113 - 114 - static struct platform_device omap_i2c_device1 = { 115 - .name = "i2c_omap", 116 - .id = 1, 117 - .num_resources = ARRAY_SIZE(i2c_resources1), 118 - .resource = i2c_resources1, 119 - }; 120 - 121 - /* See also arch/arm/mach-omap2/devices.c for second I2C on 24xx */ 122 - static void omap_init_i2c(void) 123 - { 124 - if (cpu_is_omap24xx()) { 125 - i2c_resources1[0].start = OMAP2_I2C_BASE1; 126 - i2c_resources1[0].end = OMAP2_I2C_BASE1 + OMAP_I2C_SIZE; 127 - i2c_resources1[1].start = OMAP2_I2C_INT1; 128 - } else { 129 - i2c_resources1[0].start = OMAP1_I2C_BASE; 130 - i2c_resources1[0].end = OMAP1_I2C_BASE + OMAP_I2C_SIZE; 131 - i2c_resources1[1].start = OMAP1_I2C_INT; 132 - } 133 - 134 - /* FIXME define and use a boot tag, in case of boards that 135 - * either don't wire up I2C, or chips that mux it differently... 136 - * it can include clocking and address info, maybe more. 137 - */ 138 - if (cpu_is_omap24xx()) { 139 - omap_cfg_reg(M19_24XX_I2C1_SCL); 140 - omap_cfg_reg(L15_24XX_I2C1_SDA); 141 - } else { 142 - omap_cfg_reg(I2C_SCL); 143 - omap_cfg_reg(I2C_SDA); 144 - } 145 - 146 - (void) platform_device_register(&omap_i2c_device1); 147 - } 148 - 149 - #else 150 - static inline void omap_init_i2c(void) {} 151 - #endif 152 - 153 - /*-------------------------------------------------------------------------*/ 154 #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) 155 156 static void omap_init_kp(void) ··· 439 * in alphabetical order so they're easier to sort through. 440 */ 441 omap_init_dsp(); 442 - omap_init_i2c(); 443 omap_init_kp(); 444 omap_init_mmc(); 445 omap_init_uwire();
··· 89 #endif /* CONFIG_OMAP_DSP */ 90 91 /*-------------------------------------------------------------------------*/ 92 #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) 93 94 static void omap_init_kp(void) ··· 501 * in alphabetical order so they're easier to sort through. 502 */ 503 omap_init_dsp(); 504 omap_init_kp(); 505 omap_init_mmc(); 506 omap_init_uwire();
+4 -10
arch/arm/plat-omap/dma.c
··· 137 static inline void omap_enable_channel_irq(int lch); 138 139 #define REVISIT_24XX() printk(KERN_ERR "FIXME: no %s on 24xx\n", \ 140 - __FUNCTION__); 141 142 #ifdef CONFIG_ARCH_OMAP15XX 143 /* Returns 1 if the DMA module is in OMAP1510-compatible mode, 0 otherwise */ ··· 699 u32 reg; 700 701 if (!cpu_class_is_omap2()) { 702 - printk(KERN_ERR "FIXME: no %s on 15xx/16xx\n", __FUNCTION__); 703 return; 704 } 705 ··· 1705 status = OMAP_DMA_CSR_REG(ch); 1706 } 1707 1708 - if (likely(dma_chan[ch].callback != NULL)) { 1709 - if (dma_chan[ch].chain_id != -1) 1710 - dma_chan[ch].callback(dma_chan[ch].chain_id, status, 1711 - dma_chan[ch].data); 1712 - else 1713 - dma_chan[ch].callback(ch, status, dma_chan[ch].data); 1714 - 1715 - } 1716 1717 OMAP_DMA_CSR_REG(ch) = status; 1718
··· 137 static inline void omap_enable_channel_irq(int lch); 138 139 #define REVISIT_24XX() printk(KERN_ERR "FIXME: no %s on 24xx\n", \ 140 + __func__); 141 142 #ifdef CONFIG_ARCH_OMAP15XX 143 /* Returns 1 if the DMA module is in OMAP1510-compatible mode, 0 otherwise */ ··· 699 u32 reg; 700 701 if (!cpu_class_is_omap2()) { 702 + printk(KERN_ERR "FIXME: no %s on 15xx/16xx\n", __func__); 703 return; 704 } 705 ··· 1705 status = OMAP_DMA_CSR_REG(ch); 1706 } 1707 1708 + if (likely(dma_chan[ch].callback != NULL)) 1709 + dma_chan[ch].callback(ch, status, dma_chan[ch].data); 1710 1711 OMAP_DMA_CSR_REG(ch) = status; 1712
+1 -1
arch/arm/plat-omap/dmtimer.c
··· 268 if (id <= 0 || id > dm_timer_count || dm_timers[id-1].reserved) { 269 spin_unlock_irqrestore(&dm_timer_lock, flags); 270 printk("BUG: warning at %s:%d/%s(): unable to get timer %d\n", 271 - __FILE__, __LINE__, __FUNCTION__, id); 272 dump_stack(); 273 return NULL; 274 }
··· 268 if (id <= 0 || id > dm_timer_count || dm_timers[id-1].reserved) { 269 spin_unlock_irqrestore(&dm_timer_lock, flags); 270 printk("BUG: warning at %s:%d/%s(): unable to get timer %d\n", 271 + __FILE__, __LINE__, __func__, id); 272 dump_stack(); 273 return NULL; 274 }
+41 -24
arch/arm/plat-omap/gpio.c
··· 333 void omap_set_gpio_direction(int gpio, int is_input) 334 { 335 struct gpio_bank *bank; 336 337 if (check_gpio(gpio) < 0) 338 return; 339 bank = get_gpio_bank(gpio); 340 - spin_lock(&bank->lock); 341 _set_gpio_direction(bank, get_gpio_index(gpio), is_input); 342 - spin_unlock(&bank->lock); 343 } 344 345 static void _set_gpio_dataout(struct gpio_bank *bank, int gpio, int enable) ··· 407 void omap_set_gpio_dataout(int gpio, int enable) 408 { 409 struct gpio_bank *bank; 410 411 if (check_gpio(gpio) < 0) 412 return; 413 bank = get_gpio_bank(gpio); 414 - spin_lock(&bank->lock); 415 _set_gpio_dataout(bank, get_gpio_index(gpio), enable); 416 - spin_unlock(&bank->lock); 417 } 418 419 int omap_get_gpio_datain(int gpio) ··· 626 struct gpio_bank *bank; 627 unsigned gpio; 628 int retval; 629 630 if (!cpu_class_is_omap2() && irq > IH_MPUIO_BASE) 631 gpio = OMAP_MPUIO(irq - IH_MPUIO_BASE); ··· 645 return -EINVAL; 646 647 bank = get_irq_chip_data(irq); 648 - spin_lock(&bank->lock); 649 retval = _set_gpio_triggering(bank, get_gpio_index(gpio), type); 650 if (retval == 0) { 651 irq_desc[irq].status &= ~IRQ_TYPE_SENSE_MASK; 652 irq_desc[irq].status |= type; 653 } 654 - spin_unlock(&bank->lock); 655 return retval; 656 } 657 ··· 833 */ 834 static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable) 835 { 836 switch (bank->method) { 837 #ifdef CONFIG_ARCH_OMAP16XX 838 case METHOD_MPUIO: 839 case METHOD_GPIO_1610: 840 - spin_lock(&bank->lock); 841 if (enable) { 842 bank->suspend_wakeup |= (1 << gpio); 843 enable_irq_wake(bank->irq); ··· 847 disable_irq_wake(bank->irq); 848 bank->suspend_wakeup &= ~(1 << gpio); 849 } 850 - spin_unlock(&bank->lock); 851 return 0; 852 #endif 853 #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) ··· 858 (bank - gpio_bank) * 32 + gpio); 859 return -EINVAL; 860 } 861 - spin_lock(&bank->lock); 862 if (enable) { 863 bank->suspend_wakeup |= (1 << gpio); 864 enable_irq_wake(bank->irq); ··· 866 disable_irq_wake(bank->irq); 867 bank->suspend_wakeup &= ~(1 << gpio); 868 } 869 - spin_unlock(&bank->lock); 870 return 0; 871 #endif 872 default: ··· 902 int omap_request_gpio(int gpio) 903 { 904 struct gpio_bank *bank; 905 906 if (check_gpio(gpio) < 0) 907 return -EINVAL; 908 909 bank = get_gpio_bank(gpio); 910 - spin_lock(&bank->lock); 911 if (unlikely(bank->reserved_map & (1 << get_gpio_index(gpio)))) { 912 printk(KERN_ERR "omap-gpio: GPIO %d is already reserved!\n", gpio); 913 dump_stack(); 914 - spin_unlock(&bank->lock); 915 return -1; 916 } 917 bank->reserved_map |= (1 << get_gpio_index(gpio)); ··· 931 __raw_writel(__raw_readl(reg) | (1 << get_gpio_index(gpio)), reg); 932 } 933 #endif 934 - spin_unlock(&bank->lock); 935 936 return 0; 937 } ··· 939 void omap_free_gpio(int gpio) 940 { 941 struct gpio_bank *bank; 942 943 if (check_gpio(gpio) < 0) 944 return; 945 bank = get_gpio_bank(gpio); 946 - spin_lock(&bank->lock); 947 if (unlikely(!(bank->reserved_map & (1 << get_gpio_index(gpio))))) { 948 printk(KERN_ERR "omap-gpio: GPIO %d wasn't reserved!\n", gpio); 949 dump_stack(); 950 - spin_unlock(&bank->lock); 951 return; 952 } 953 #ifdef CONFIG_ARCH_OMAP16XX ··· 967 #endif 968 bank->reserved_map &= ~(1 << get_gpio_index(gpio)); 969 _reset_gpio(bank, gpio); 970 - spin_unlock(&bank->lock); 971 } 972 973 /* ··· 1201 { 1202 struct gpio_bank *bank = platform_get_drvdata(pdev); 1203 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT; 1204 1205 - spin_lock(&bank->lock); 1206 bank->saved_wakeup = __raw_readl(mask_reg); 1207 __raw_writel(0xffff & ~bank->suspend_wakeup, mask_reg); 1208 - spin_unlock(&bank->lock); 1209 1210 return 0; 1211 } ··· 1215 { 1216 struct gpio_bank *bank = platform_get_drvdata(pdev); 1217 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT; 1218 1219 - spin_lock(&bank->lock); 1220 __raw_writel(bank->saved_wakeup, mask_reg); 1221 - spin_unlock(&bank->lock); 1222 1223 return 0; 1224 } ··· 1285 static struct clk *gpio_fclks[OMAP34XX_NR_GPIOS]; 1286 static struct clk *gpio_iclks[OMAP34XX_NR_GPIOS]; 1287 #endif 1288 1289 static int __init _omap_gpio_init(void) 1290 { ··· 1464 #endif 1465 for (j = bank->virtual_irq_start; 1466 j < bank->virtual_irq_start + gpio_count; j++) { 1467 set_irq_chip_data(j, bank); 1468 if (bank_is_mpuio(bank)) 1469 set_irq_chip(j, &mpuio_irq_chip); ··· 1504 void __iomem *wake_status; 1505 void __iomem *wake_clear; 1506 void __iomem *wake_set; 1507 1508 switch (bank->method) { 1509 #ifdef CONFIG_ARCH_OMAP16XX ··· 1525 continue; 1526 } 1527 1528 - spin_lock(&bank->lock); 1529 bank->saved_wakeup = __raw_readl(wake_status); 1530 __raw_writel(0xffffffff, wake_clear); 1531 __raw_writel(bank->suspend_wakeup, wake_set); 1532 - spin_unlock(&bank->lock); 1533 } 1534 1535 return 0; ··· 1546 struct gpio_bank *bank = &gpio_bank[i]; 1547 void __iomem *wake_clear; 1548 void __iomem *wake_set; 1549 1550 switch (bank->method) { 1551 #ifdef CONFIG_ARCH_OMAP16XX ··· 1565 continue; 1566 } 1567 1568 - spin_lock(&bank->lock); 1569 __raw_writel(0xffffffff, wake_clear); 1570 __raw_writel(bank->saved_wakeup, wake_set); 1571 - spin_unlock(&bank->lock); 1572 } 1573 1574 return 0;
··· 333 void omap_set_gpio_direction(int gpio, int is_input) 334 { 335 struct gpio_bank *bank; 336 + unsigned long flags; 337 338 if (check_gpio(gpio) < 0) 339 return; 340 bank = get_gpio_bank(gpio); 341 + spin_lock_irqsave(&bank->lock, flags); 342 _set_gpio_direction(bank, get_gpio_index(gpio), is_input); 343 + spin_unlock_irqrestore(&bank->lock, flags); 344 } 345 346 static void _set_gpio_dataout(struct gpio_bank *bank, int gpio, int enable) ··· 406 void omap_set_gpio_dataout(int gpio, int enable) 407 { 408 struct gpio_bank *bank; 409 + unsigned long flags; 410 411 if (check_gpio(gpio) < 0) 412 return; 413 bank = get_gpio_bank(gpio); 414 + spin_lock_irqsave(&bank->lock, flags); 415 _set_gpio_dataout(bank, get_gpio_index(gpio), enable); 416 + spin_unlock_irqrestore(&bank->lock, flags); 417 } 418 419 int omap_get_gpio_datain(int gpio) ··· 624 struct gpio_bank *bank; 625 unsigned gpio; 626 int retval; 627 + unsigned long flags; 628 629 if (!cpu_class_is_omap2() && irq > IH_MPUIO_BASE) 630 gpio = OMAP_MPUIO(irq - IH_MPUIO_BASE); ··· 642 return -EINVAL; 643 644 bank = get_irq_chip_data(irq); 645 + spin_lock_irqsave(&bank->lock, flags); 646 retval = _set_gpio_triggering(bank, get_gpio_index(gpio), type); 647 if (retval == 0) { 648 irq_desc[irq].status &= ~IRQ_TYPE_SENSE_MASK; 649 irq_desc[irq].status |= type; 650 } 651 + spin_unlock_irqrestore(&bank->lock, flags); 652 return retval; 653 } 654 ··· 830 */ 831 static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable) 832 { 833 + unsigned long flags; 834 + 835 switch (bank->method) { 836 #ifdef CONFIG_ARCH_OMAP16XX 837 case METHOD_MPUIO: 838 case METHOD_GPIO_1610: 839 + spin_lock_irqsave(&bank->lock, flags); 840 if (enable) { 841 bank->suspend_wakeup |= (1 << gpio); 842 enable_irq_wake(bank->irq); ··· 842 disable_irq_wake(bank->irq); 843 bank->suspend_wakeup &= ~(1 << gpio); 844 } 845 + spin_unlock_irqrestore(&bank->lock, flags); 846 return 0; 847 #endif 848 #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) ··· 853 (bank - gpio_bank) * 32 + gpio); 854 return -EINVAL; 855 } 856 + spin_lock_irqsave(&bank->lock, flags); 857 if (enable) { 858 bank->suspend_wakeup |= (1 << gpio); 859 enable_irq_wake(bank->irq); ··· 861 disable_irq_wake(bank->irq); 862 bank->suspend_wakeup &= ~(1 << gpio); 863 } 864 + spin_unlock_irqrestore(&bank->lock, flags); 865 return 0; 866 #endif 867 default: ··· 897 int omap_request_gpio(int gpio) 898 { 899 struct gpio_bank *bank; 900 + unsigned long flags; 901 902 if (check_gpio(gpio) < 0) 903 return -EINVAL; 904 905 bank = get_gpio_bank(gpio); 906 + spin_lock_irqsave(&bank->lock, flags); 907 if (unlikely(bank->reserved_map & (1 << get_gpio_index(gpio)))) { 908 printk(KERN_ERR "omap-gpio: GPIO %d is already reserved!\n", gpio); 909 dump_stack(); 910 + spin_unlock_irqrestore(&bank->lock, flags); 911 return -1; 912 } 913 bank->reserved_map |= (1 << get_gpio_index(gpio)); ··· 925 __raw_writel(__raw_readl(reg) | (1 << get_gpio_index(gpio)), reg); 926 } 927 #endif 928 + spin_unlock_irqrestore(&bank->lock, flags); 929 930 return 0; 931 } ··· 933 void omap_free_gpio(int gpio) 934 { 935 struct gpio_bank *bank; 936 + unsigned long flags; 937 938 if (check_gpio(gpio) < 0) 939 return; 940 bank = get_gpio_bank(gpio); 941 + spin_lock_irqsave(&bank->lock, flags); 942 if (unlikely(!(bank->reserved_map & (1 << get_gpio_index(gpio))))) { 943 printk(KERN_ERR "omap-gpio: GPIO %d wasn't reserved!\n", gpio); 944 dump_stack(); 945 + spin_unlock_irqrestore(&bank->lock, flags); 946 return; 947 } 948 #ifdef CONFIG_ARCH_OMAP16XX ··· 960 #endif 961 bank->reserved_map &= ~(1 << get_gpio_index(gpio)); 962 _reset_gpio(bank, gpio); 963 + spin_unlock_irqrestore(&bank->lock, flags); 964 } 965 966 /* ··· 1194 { 1195 struct gpio_bank *bank = platform_get_drvdata(pdev); 1196 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT; 1197 + unsigned long flags; 1198 1199 + spin_lock_irqsave(&bank->lock, flags); 1200 bank->saved_wakeup = __raw_readl(mask_reg); 1201 __raw_writel(0xffff & ~bank->suspend_wakeup, mask_reg); 1202 + spin_unlock_irqrestore(&bank->lock, flags); 1203 1204 return 0; 1205 } ··· 1207 { 1208 struct gpio_bank *bank = platform_get_drvdata(pdev); 1209 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT; 1210 + unsigned long flags; 1211 1212 + spin_lock_irqsave(&bank->lock, flags); 1213 __raw_writel(bank->saved_wakeup, mask_reg); 1214 + spin_unlock_irqrestore(&bank->lock, flags); 1215 1216 return 0; 1217 } ··· 1276 static struct clk *gpio_fclks[OMAP34XX_NR_GPIOS]; 1277 static struct clk *gpio_iclks[OMAP34XX_NR_GPIOS]; 1278 #endif 1279 + 1280 + /* This lock class tells lockdep that GPIO irqs are in a different 1281 + * category than their parents, so it won't report false recursion. 1282 + */ 1283 + static struct lock_class_key gpio_lock_class; 1284 1285 static int __init _omap_gpio_init(void) 1286 { ··· 1450 #endif 1451 for (j = bank->virtual_irq_start; 1452 j < bank->virtual_irq_start + gpio_count; j++) { 1453 + lockdep_set_class(&irq_desc[j].lock, &gpio_lock_class); 1454 set_irq_chip_data(j, bank); 1455 if (bank_is_mpuio(bank)) 1456 set_irq_chip(j, &mpuio_irq_chip); ··· 1489 void __iomem *wake_status; 1490 void __iomem *wake_clear; 1491 void __iomem *wake_set; 1492 + unsigned long flags; 1493 1494 switch (bank->method) { 1495 #ifdef CONFIG_ARCH_OMAP16XX ··· 1509 continue; 1510 } 1511 1512 + spin_lock_irqsave(&bank->lock, flags); 1513 bank->saved_wakeup = __raw_readl(wake_status); 1514 __raw_writel(0xffffffff, wake_clear); 1515 __raw_writel(bank->suspend_wakeup, wake_set); 1516 + spin_unlock_irqrestore(&bank->lock, flags); 1517 } 1518 1519 return 0; ··· 1530 struct gpio_bank *bank = &gpio_bank[i]; 1531 void __iomem *wake_clear; 1532 void __iomem *wake_set; 1533 + unsigned long flags; 1534 1535 switch (bank->method) { 1536 #ifdef CONFIG_ARCH_OMAP16XX ··· 1548 continue; 1549 } 1550 1551 + spin_lock_irqsave(&bank->lock, flags); 1552 __raw_writel(0xffffffff, wake_clear); 1553 __raw_writel(bank->saved_wakeup, wake_set); 1554 + spin_unlock_irqrestore(&bank->lock, flags); 1555 } 1556 1557 return 0;
+32 -32
arch/arm/plat-s3c24xx/dma.c
··· 130 dmadbg_dumpregs(fname, line, chan, &state); 131 } 132 133 - #define dbg_showregs(chan) dmadbg_showregs(__FUNCTION__, __LINE__, (chan)) 134 - #define dbg_showchan(chan) dmadbg_showchan(__FUNCTION__, __LINE__, (chan)) 135 #else 136 #define dbg_showregs(chan) do { } while(0) 137 #define dbg_showchan(chan) do { } while(0) ··· 403 404 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 405 pr_debug("%s: buff not yet loaded, no more todo\n", 406 - __FUNCTION__); 407 } else { 408 chan->load_state = S3C2410_DMALOAD_1RUNNING; 409 s3c2410_dma_loadbuffer(chan, chan->next); ··· 463 return -EINVAL; 464 465 pr_debug("%s: id=%p, data=%08x, size=%d\n", 466 - __FUNCTION__, id, (unsigned int)data, size); 467 468 buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC); 469 if (buf == NULL) { 470 pr_debug("%s: out of memory (%ld alloc)\n", 471 - __FUNCTION__, (long)sizeof(*buf)); 472 return -ENOMEM; 473 } 474 475 - //pr_debug("%s: new buffer %p\n", __FUNCTION__, buf); 476 //dbg_showchan(chan); 477 478 buf->next = NULL; ··· 486 if (chan->curr == NULL) { 487 /* we've got nothing loaded... */ 488 pr_debug("%s: buffer %p queued onto empty channel\n", 489 - __FUNCTION__, buf); 490 491 chan->curr = buf; 492 chan->end = buf; 493 chan->next = NULL; 494 } else { 495 pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n", 496 - chan->number, __FUNCTION__, buf); 497 498 if (chan->end == NULL) 499 pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n", 500 - chan->number, __FUNCTION__, chan); 501 502 chan->end->next = buf; 503 chan->end = buf; ··· 572 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 573 /* flag error? */ 574 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n", 575 - chan->number, __FUNCTION__); 576 return; 577 } 578 break; ··· 658 659 if (buf->magic != BUF_MAGIC) { 660 printk(KERN_ERR "dma%d: %s: buf %p incorrect magic\n", 661 - chan->number, __FUNCTION__, buf); 662 return IRQ_HANDLED; 663 } 664 ··· 692 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 693 /* flag error? */ 694 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n", 695 - chan->number, __FUNCTION__); 696 return IRQ_HANDLED; 697 } 698 ··· 759 760 if (!chan->irq_claimed) { 761 pr_debug("dma%d: %s : requesting irq %d\n", 762 - channel, __FUNCTION__, chan->irq); 763 764 chan->irq_claimed = 1; 765 local_irq_restore(flags); ··· 786 787 /* need to setup */ 788 789 - pr_debug("%s: channel initialised, %p\n", __FUNCTION__, chan); 790 791 return chan->number | DMACH_LOW_LEVEL; 792 } ··· 823 824 if (chan->state != S3C2410_DMA_IDLE) { 825 pr_debug("%s: need to stop dma channel %p\n", 826 - __FUNCTION__, chan); 827 828 /* possibly flush the channel */ 829 s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP); ··· 852 unsigned long flags; 853 unsigned long tmp; 854 855 - pr_debug("%s:\n", __FUNCTION__); 856 857 dbg_showchan(chan); 858 ··· 907 struct s3c2410_dma_buf *buf, *next; 908 unsigned long flags; 909 910 - pr_debug("%s: chan %p (%d)\n", __FUNCTION__, chan, chan->number); 911 912 dbg_showchan(chan); 913 914 local_irq_save(flags); 915 916 if (chan->state != S3C2410_DMA_IDLE) { 917 - pr_debug("%s: stopping channel...\n", __FUNCTION__ ); 918 s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP); 919 } 920 ··· 929 next = buf->next; 930 931 pr_debug("%s: free buffer %p, next %p\n", 932 - __FUNCTION__, buf, buf->next); 933 934 s3c2410_dma_buffdone(chan, buf, S3C2410_RES_ABORT); 935 s3c2410_dma_freebuf(buf); ··· 976 977 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 978 pr_debug("%s: buff not yet loaded, no more todo\n", 979 - __FUNCTION__); 980 } else { 981 chan->load_state = S3C2410_DMALOAD_1RUNNING; 982 s3c2410_dma_loadbuffer(chan, chan->next); ··· 1050 struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); 1051 1052 pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n", 1053 - __FUNCTION__, channel, xferunit, dcon); 1054 1055 if (chan == NULL) 1056 return -EINVAL; 1057 1058 - pr_debug("%s: Initial dcon is %08x\n", __FUNCTION__, dcon); 1059 1060 dcon |= chan->dcon & dma_sel.dcon_mask; 1061 1062 - pr_debug("%s: New dcon is %08x\n", __FUNCTION__, dcon); 1063 1064 switch (xferunit) { 1065 case 1: ··· 1075 break; 1076 1077 default: 1078 - pr_debug("%s: bad transfer size %d\n", __FUNCTION__, xferunit); 1079 return -EINVAL; 1080 } 1081 1082 dcon |= S3C2410_DCON_HWTRIG; 1083 dcon |= S3C2410_DCON_INTREQ; 1084 1085 - pr_debug("%s: dcon now %08x\n", __FUNCTION__, dcon); 1086 1087 chan->dcon = dcon; 1088 chan->xfer_unit = xferunit; ··· 1099 if (chan == NULL) 1100 return -EINVAL; 1101 1102 - pr_debug("%s: chan=%p, flags=%08x\n", __FUNCTION__, chan, flags); 1103 1104 chan->flags = flags; 1105 ··· 1120 if (chan == NULL) 1121 return -EINVAL; 1122 1123 - pr_debug("%s: chan=%p, op rtn=%p\n", __FUNCTION__, chan, rtn); 1124 1125 chan->op_fn = rtn; 1126 ··· 1136 if (chan == NULL) 1137 return -EINVAL; 1138 1139 - pr_debug("%s: chan=%p, callback rtn=%p\n", __FUNCTION__, chan, rtn); 1140 1141 chan->callback_fn = rtn; 1142 ··· 1170 return -EINVAL; 1171 1172 pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n", 1173 - __FUNCTION__, (int)source, hwcfg, devaddr); 1174 1175 chan->source = source; 1176 chan->dev_addr = devaddr; ··· 1180 case S3C2410_DMASRC_HW: 1181 /* source is hardware */ 1182 pr_debug("%s: hw source, devaddr=%08lx, hwcfg=%d\n", 1183 - __FUNCTION__, devaddr, hwcfg); 1184 dma_wrreg(chan, S3C2410_DMA_DISRCC, hwcfg & 3); 1185 dma_wrreg(chan, S3C2410_DMA_DISRC, devaddr); 1186 dma_wrreg(chan, S3C2410_DMA_DIDSTC, (0<<1) | (0<<0)); ··· 1190 1191 case S3C2410_DMASRC_MEM: 1192 /* source is memory */ 1193 - pr_debug( "%s: mem source, devaddr=%08lx, hwcfg=%d\n", 1194 - __FUNCTION__, devaddr, hwcfg); 1195 dma_wrreg(chan, S3C2410_DMA_DISRCC, (0<<1) | (0<<0)); 1196 dma_wrreg(chan, S3C2410_DMA_DIDST, devaddr); 1197 dma_wrreg(chan, S3C2410_DMA_DIDSTC, hwcfg & 3);
··· 130 dmadbg_dumpregs(fname, line, chan, &state); 131 } 132 133 + #define dbg_showregs(chan) dmadbg_showregs(__func__, __LINE__, (chan)) 134 + #define dbg_showchan(chan) dmadbg_showchan(__func__, __LINE__, (chan)) 135 #else 136 #define dbg_showregs(chan) do { } while(0) 137 #define dbg_showchan(chan) do { } while(0) ··· 403 404 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 405 pr_debug("%s: buff not yet loaded, no more todo\n", 406 + __func__); 407 } else { 408 chan->load_state = S3C2410_DMALOAD_1RUNNING; 409 s3c2410_dma_loadbuffer(chan, chan->next); ··· 463 return -EINVAL; 464 465 pr_debug("%s: id=%p, data=%08x, size=%d\n", 466 + __func__, id, (unsigned int)data, size); 467 468 buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC); 469 if (buf == NULL) { 470 pr_debug("%s: out of memory (%ld alloc)\n", 471 + __func__, (long)sizeof(*buf)); 472 return -ENOMEM; 473 } 474 475 + //pr_debug("%s: new buffer %p\n", __func__, buf); 476 //dbg_showchan(chan); 477 478 buf->next = NULL; ··· 486 if (chan->curr == NULL) { 487 /* we've got nothing loaded... */ 488 pr_debug("%s: buffer %p queued onto empty channel\n", 489 + __func__, buf); 490 491 chan->curr = buf; 492 chan->end = buf; 493 chan->next = NULL; 494 } else { 495 pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n", 496 + chan->number, __func__, buf); 497 498 if (chan->end == NULL) 499 pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n", 500 + chan->number, __func__, chan); 501 502 chan->end->next = buf; 503 chan->end = buf; ··· 572 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 573 /* flag error? */ 574 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n", 575 + chan->number, __func__); 576 return; 577 } 578 break; ··· 658 659 if (buf->magic != BUF_MAGIC) { 660 printk(KERN_ERR "dma%d: %s: buf %p incorrect magic\n", 661 + chan->number, __func__, buf); 662 return IRQ_HANDLED; 663 } 664 ··· 692 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 693 /* flag error? */ 694 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n", 695 + chan->number, __func__); 696 return IRQ_HANDLED; 697 } 698 ··· 759 760 if (!chan->irq_claimed) { 761 pr_debug("dma%d: %s : requesting irq %d\n", 762 + channel, __func__, chan->irq); 763 764 chan->irq_claimed = 1; 765 local_irq_restore(flags); ··· 786 787 /* need to setup */ 788 789 + pr_debug("%s: channel initialised, %p\n", __func__, chan); 790 791 return chan->number | DMACH_LOW_LEVEL; 792 } ··· 823 824 if (chan->state != S3C2410_DMA_IDLE) { 825 pr_debug("%s: need to stop dma channel %p\n", 826 + __func__, chan); 827 828 /* possibly flush the channel */ 829 s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP); ··· 852 unsigned long flags; 853 unsigned long tmp; 854 855 + pr_debug("%s:\n", __func__); 856 857 dbg_showchan(chan); 858 ··· 907 struct s3c2410_dma_buf *buf, *next; 908 unsigned long flags; 909 910 + pr_debug("%s: chan %p (%d)\n", __func__, chan, chan->number); 911 912 dbg_showchan(chan); 913 914 local_irq_save(flags); 915 916 if (chan->state != S3C2410_DMA_IDLE) { 917 + pr_debug("%s: stopping channel...\n", __func__ ); 918 s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP); 919 } 920 ··· 929 next = buf->next; 930 931 pr_debug("%s: free buffer %p, next %p\n", 932 + __func__, buf, buf->next); 933 934 s3c2410_dma_buffdone(chan, buf, S3C2410_RES_ABORT); 935 s3c2410_dma_freebuf(buf); ··· 976 977 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) { 978 pr_debug("%s: buff not yet loaded, no more todo\n", 979 + __func__); 980 } else { 981 chan->load_state = S3C2410_DMALOAD_1RUNNING; 982 s3c2410_dma_loadbuffer(chan, chan->next); ··· 1050 struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); 1051 1052 pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n", 1053 + __func__, channel, xferunit, dcon); 1054 1055 if (chan == NULL) 1056 return -EINVAL; 1057 1058 + pr_debug("%s: Initial dcon is %08x\n", __func__, dcon); 1059 1060 dcon |= chan->dcon & dma_sel.dcon_mask; 1061 1062 + pr_debug("%s: New dcon is %08x\n", __func__, dcon); 1063 1064 switch (xferunit) { 1065 case 1: ··· 1075 break; 1076 1077 default: 1078 + pr_debug("%s: bad transfer size %d\n", __func__, xferunit); 1079 return -EINVAL; 1080 } 1081 1082 dcon |= S3C2410_DCON_HWTRIG; 1083 dcon |= S3C2410_DCON_INTREQ; 1084 1085 + pr_debug("%s: dcon now %08x\n", __func__, dcon); 1086 1087 chan->dcon = dcon; 1088 chan->xfer_unit = xferunit; ··· 1099 if (chan == NULL) 1100 return -EINVAL; 1101 1102 + pr_debug("%s: chan=%p, flags=%08x\n", __func__, chan, flags); 1103 1104 chan->flags = flags; 1105 ··· 1120 if (chan == NULL) 1121 return -EINVAL; 1122 1123 + pr_debug("%s: chan=%p, op rtn=%p\n", __func__, chan, rtn); 1124 1125 chan->op_fn = rtn; 1126 ··· 1136 if (chan == NULL) 1137 return -EINVAL; 1138 1139 + pr_debug("%s: chan=%p, callback rtn=%p\n", __func__, chan, rtn); 1140 1141 chan->callback_fn = rtn; 1142 ··· 1170 return -EINVAL; 1171 1172 pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n", 1173 + __func__, (int)source, hwcfg, devaddr); 1174 1175 chan->source = source; 1176 chan->dev_addr = devaddr; ··· 1180 case S3C2410_DMASRC_HW: 1181 /* source is hardware */ 1182 pr_debug("%s: hw source, devaddr=%08lx, hwcfg=%d\n", 1183 + __func__, devaddr, hwcfg); 1184 dma_wrreg(chan, S3C2410_DMA_DISRCC, hwcfg & 3); 1185 dma_wrreg(chan, S3C2410_DMA_DISRC, devaddr); 1186 dma_wrreg(chan, S3C2410_DMA_DIDSTC, (0<<1) | (0<<0)); ··· 1190 1191 case S3C2410_DMASRC_MEM: 1192 /* source is memory */ 1193 + pr_debug("%s: mem source, devaddr=%08lx, hwcfg=%d\n", 1194 + __func__, devaddr, hwcfg); 1195 dma_wrreg(chan, S3C2410_DMA_DISRCC, (0<<1) | (0<<0)); 1196 dma_wrreg(chan, S3C2410_DMA_DIDST, devaddr); 1197 dma_wrreg(chan, S3C2410_DMA_DIDSTC, hwcfg & 3);
+1 -1
include/asm-arm/arch-omap/board-h3.h
··· 36 37 #define NR_IRQS (MAXIRQNUM + 1) 38 39 - extern void __init h3_mmc_init(void); 40 extern void h3_mmc_slot_cover_handler(void *arg, int state); 41 42 #endif /* __ASM_ARCH_OMAP_H3_H */
··· 36 37 #define NR_IRQS (MAXIRQNUM + 1) 38 39 + extern void h3_mmc_init(void); 40 extern void h3_mmc_slot_cover_handler(void *arg, int state); 41 42 #endif /* __ASM_ARCH_OMAP_H3_H */
+6 -3
include/asm-arm/arch-omap/common.h
··· 27 #ifndef __ARCH_ARM_MACH_OMAP_COMMON_H 28 #define __ARCH_ARM_MACH_OMAP_COMMON_H 29 30 - #ifdef CONFIG_I2C_OMAP 31 #include <linux/i2c.h> 32 - #endif 33 34 struct sys_timer; 35 ··· 39 struct i2c_board_info const *info, 40 unsigned len); 41 #else 42 - #define omap_register_i2c_bus(a, b, c, d) 0 43 #endif 44 45 #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */
··· 27 #ifndef __ARCH_ARM_MACH_OMAP_COMMON_H 28 #define __ARCH_ARM_MACH_OMAP_COMMON_H 29 30 #include <linux/i2c.h> 31 32 struct sys_timer; 33 ··· 41 struct i2c_board_info const *info, 42 unsigned len); 43 #else 44 + static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, 45 + struct i2c_board_info const *info, 46 + unsigned len) 47 + { 48 + return 0; 49 + } 50 #endif 51 52 #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */
+11
include/asm-arm/arch-omap/gpioexpander.h
··· 18 19 /* Function Prototypes for GPIO Expander functions */ 20 21 int read_gpio_expa(u8 *, int); 22 int write_gpio_expa(u8 , int); 23 24 #endif /* __ASM_ARCH_OMAP_GPIOEXPANDER_H */
··· 18 19 /* Function Prototypes for GPIO Expander functions */ 20 21 + #ifdef CONFIG_GPIOEXPANDER_OMAP 22 int read_gpio_expa(u8 *, int); 23 int write_gpio_expa(u8 , int); 24 + #else 25 + static inline int read_gpio_expa(u8 *val, int addr) 26 + { 27 + return 0; 28 + } 29 + static inline int write_gpio_expa(u8 val, int addr) 30 + { 31 + return 0; 32 + } 33 + #endif 34 35 #endif /* __ASM_ARCH_OMAP_GPIOEXPANDER_H */
+2
include/asm-arm/pgtable-nommu.h
··· 92 93 #define FIRST_USER_ADDRESS (0) 94 95 #else 96 97 /*
··· 92 93 #define FIRST_USER_ADDRESS (0) 94 95 + #include <asm-generic/pgtable.h> 96 + 97 #else 98 99 /*
+2 -2
include/asm-arm/plat-s3c/uncompress.h
··· 27 28 /* defines for UART registers */ 29 30 - #include "asm/plat-s3c/regs-serial.h" 31 - #include "asm/plat-s3c/regs-watchdog.h" 32 33 /* working in physical space... */ 34 #undef S3C2410_WDOGREG
··· 27 28 /* defines for UART registers */ 29 30 + #include <asm/plat-s3c/regs-serial.h> 31 + #include <asm/plat-s3c/regs-watchdog.h> 32 33 /* working in physical space... */ 34 #undef S3C2410_WDOGREG
+2 -2
include/asm-arm/proc-fns.h
··· 214 #ifndef __ASSEMBLY__ 215 216 #ifndef MULTI_CPU 217 - #include "asm/cpu-single.h" 218 #else 219 - #include "asm/cpu-multi32.h" 220 #endif 221 222 #include <asm/memory.h>
··· 214 #ifndef __ASSEMBLY__ 215 216 #ifndef MULTI_CPU 217 + #include <asm/cpu-single.h> 218 #else 219 + #include <asm/cpu-multi32.h> 220 #endif 221 222 #include <asm/memory.h>