Commit eb2112fb authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm

* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (29 commits)
  [ARM] 4062/1: S3C24XX: Anubis and Osiris shuld have CONFIG_PM_SIMTEC
  [ARM] 4060/1: update several ARM defconfigs
  [ARM] 4061/1: xsc3: change of maintainer
  [ARM] 4059/1: VR1000: fix LED3's platform device number
  [ARM] 4022/1: iop13xx: generic irq fixups
  [ARM] 4015/1: s3c2410 cpu ifdefs
  [ARM] 4057/1: ixp23xx: unconditionally enable hardware coherency
  [ARM] 4056/1: iop13xx: fix resource.end off-by-one in flash setup
  [ARM] 4055/1: iop13xx: fix phys_io/io_pg_offst for iq81340mc/sc
  [ARM] 4054/1: ep93xx: add HWCAP_CRUNCH
  [ARM] 4052/1: S3C24XX: Fix PM in arch/arm/mach-s3c2410/Kconfig
  [ARM] Fix warnings from asm/system.h
  [ARM] 4051/1: S3C24XX: clean includes in S3C2440 and S3C2442 support
  [ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410
  [ARM] 4049/1: S3C24XX: fix sparse warning due to upf_t in regs-serial.h
  [ARM] 4048/1: S3C24XX: make s3c2410_pm_resume() static
  [ARM] 4046/1: S3C24XX: fix sparse errors arch/arm/mach-s3c2410
  [ARM] 4045/1: S3C24XX: remove old VA for non-shared areas
  [ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c
  [ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c
  ...
parents f2380854 618b20a1
This diff is collapsed.
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.19 # Linux kernel version: 2.6.20-rc1-git5
# Fri Dec 1 10:51:01 2006 # Tue Dec 19 21:38:01 2006
# #
CONFIG_ARM=y CONFIG_ARM=y
# CONFIG_GENERIC_TIME is not set # CONFIG_GENERIC_TIME is not set
...@@ -11,6 +11,8 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y ...@@ -11,6 +11,8 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_VECTORS_BASE=0xffff0000 CONFIG_VECTORS_BASE=0xffff0000
...@@ -39,6 +41,7 @@ CONFIG_BSD_PROCESS_ACCT=y ...@@ -39,6 +41,7 @@ CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_AUDIT is not set # CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y CONFIG_IKCONFIG_PROC=y
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set # CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE="" CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
...@@ -77,7 +80,9 @@ CONFIG_KMOD=y ...@@ -77,7 +80,9 @@ CONFIG_KMOD=y
# Block layer # Block layer
# #
CONFIG_BLOCK=y CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# #
# IO Schedulers # IO Schedulers
...@@ -154,11 +159,13 @@ CONFIG_IO_36=y ...@@ -154,11 +159,13 @@ CONFIG_IO_36=y
CONFIG_ARM_THUMB=y CONFIG_ARM_THUMB=y
# CONFIG_CPU_DCACHE_DISABLE is not set # CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set # CONFIG_CPU_BPREDICT_DISABLE is not set
# CONFIG_IWMMXT is not set
# #
# Bus support # Bus support
# #
CONFIG_PCI=y CONFIG_PCI=y
# CONFIG_PCI_MULTITHREAD_PROBE is not set
# #
# PCCARD (PCMCIA/CardBus) support # PCCARD (PCMCIA/CardBus) support
...@@ -259,9 +266,23 @@ CONFIG_INET_TCP_DIAG=y ...@@ -259,9 +266,23 @@ CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set # CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic" CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_IPV6 is not set # CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_NETWORK_SECMARK is not set # CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set # CONFIG_NETFILTER is not set
...@@ -433,7 +454,7 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2 ...@@ -433,7 +454,7 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2
# CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_COW_COMMON is not set
# CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=2 CONFIG_BLK_DEV_RAM_COUNT=2
...@@ -448,6 +469,7 @@ CONFIG_BLK_DEV_INITRD=y ...@@ -448,6 +469,7 @@ CONFIG_BLK_DEV_INITRD=y
# #
# CONFIG_RAID_ATTRS is not set # CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y CONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set # CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y CONFIG_SCSI_PROC_FS=y
...@@ -467,6 +489,7 @@ CONFIG_CHR_DEV_SG=y ...@@ -467,6 +489,7 @@ CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
# #
# SCSI Transports # SCSI Transports
...@@ -510,6 +533,7 @@ CONFIG_SCSI_SAS_ATTRS=y ...@@ -510,6 +533,7 @@ CONFIG_SCSI_SAS_ATTRS=y
# CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set # CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
# #
# Serial ATA (prod) and Parallel ATA (experimental) drivers # Serial ATA (prod) and Parallel ATA (experimental) drivers
...@@ -605,6 +629,7 @@ CONFIG_E1000_NAPI=y ...@@ -605,6 +629,7 @@ CONFIG_E1000_NAPI=y
# CONFIG_IXGB is not set # CONFIG_IXGB is not set
# CONFIG_S2IO is not set # CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set # CONFIG_MYRI10GE is not set
# CONFIG_NETXEN_NIC is not set
# #
# Token Ring devices # Token Ring devices
...@@ -711,10 +736,6 @@ CONFIG_HW_RANDOM=y ...@@ -711,10 +736,6 @@ CONFIG_HW_RANDOM=y
# CONFIG_DTLK is not set # CONFIG_DTLK is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_DRM is not set # CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -820,6 +841,7 @@ CONFIG_HWMON=y ...@@ -820,6 +841,7 @@ CONFIG_HWMON=y
# CONFIG_SENSORS_LM92 is not set # CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_MAX1619 is not set # CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set # CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set # CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set # CONFIG_SENSORS_SMSC47M192 is not set
...@@ -830,6 +852,7 @@ CONFIG_HWMON=y ...@@ -830,6 +852,7 @@ CONFIG_HWMON=y
# CONFIG_SENSORS_W83781D is not set # CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set # CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set # CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set # CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set # CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set # CONFIG_SENSORS_W83627EHF is not set
...@@ -882,6 +905,11 @@ CONFIG_DUMMY_CONSOLE=y ...@@ -882,6 +905,11 @@ CONFIG_DUMMY_CONSOLE=y
# #
# CONFIG_SOUND is not set # CONFIG_SOUND is not set
#
# HID Devices
#
CONFIG_HID=y
# #
# USB support # USB support
# #
...@@ -970,6 +998,7 @@ CONFIG_RAMFS=y ...@@ -970,6 +998,7 @@ CONFIG_RAMFS=y
# #
# CONFIG_ADFS_FS is not set # CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set # CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=y
# CONFIG_HFS_FS is not set # CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set # CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set # CONFIG_BEFS_FS is not set
...@@ -1091,6 +1120,11 @@ CONFIG_NLS_DEFAULT="iso8859-1" ...@@ -1091,6 +1120,11 @@ CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set # CONFIG_NLS_UTF8 is not set
#
# Distributed Lock Manager
#
# CONFIG_DLM is not set
# #
# Profiling support # Profiling support
# #
...@@ -1103,28 +1137,68 @@ CONFIG_NLS_DEFAULT="iso8859-1" ...@@ -1103,28 +1137,68 @@ CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_ENABLE_MUST_CHECK=y CONFIG_ENABLE_MUST_CHECK=y
# CONFIG_MAGIC_SYSRQ is not set # CONFIG_MAGIC_SYSRQ is not set
# CONFIG_UNUSED_SYMBOLS is not set # CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_KERNEL is not set # CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=14 CONFIG_LOG_BUF_SHIFT=14
CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_FS is not set
CONFIG_FRAME_POINTER=y CONFIG_FRAME_POINTER=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_USER=y CONFIG_DEBUG_USER=y
# #
# Security options # Security options
# #
# CONFIG_KEYS is not set CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
# CONFIG_SECURITY is not set # CONFIG_SECURITY is not set
# #
# Cryptographic options # Cryptographic options
# #
# CONFIG_CRYPTO is not set CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_TGR192=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_TEST is not set
#
# Hardware crypto devices
#
# #
# Library routines # Library routines
# #
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y CONFIG_CRC_CCITT=y
# CONFIG_CRC16 is not set # CONFIG_CRC16 is not set
CONFIG_CRC32=y CONFIG_CRC32=y
...@@ -1132,3 +1206,4 @@ CONFIG_LIBCRC32C=y ...@@ -1132,3 +1206,4 @@ CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y CONFIG_PLIST=y
CONFIG_IOMAP_COPY=y
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-rc1 # Linux kernel version: 2.6.20-rc1
# Sun Jul 9 14:15:23 2006 # Sat Dec 16 06:05:51 2006
# #
CONFIG_ARM=y CONFIG_ARM=y
# CONFIG_GENERIC_TIME is not set
CONFIG_MMU=y CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_MTD_XIP=y CONFIG_ARCH_MTD_XIP=y
...@@ -29,16 +33,21 @@ CONFIG_LOCALVERSION="" ...@@ -29,16 +33,21 @@ CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y CONFIG_SWAP=y
CONFIG_SYSVIPC=y CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
# CONFIG_POSIX_MQUEUE is not set # CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y # CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set # CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set # CONFIG_IKCONFIG is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set # CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE="" CONFIG_INITRAMFS_SOURCE=""
CONFIG_UID16=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set # CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set
...@@ -47,12 +56,12 @@ CONFIG_PRINTK=y ...@@ -47,12 +56,12 @@ CONFIG_PRINTK=y
CONFIG_BUG=y CONFIG_BUG=y
CONFIG_ELF_CORE=y CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y CONFIG_BASE_FULL=y
CONFIG_RT_MUTEXES=y
CONFIG_FUTEX=y CONFIG_FUTEX=y
CONFIG_EPOLL=y CONFIG_EPOLL=y
CONFIG_SHMEM=y CONFIG_SHMEM=y
CONFIG_SLAB=y CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set # CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0 CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set # CONFIG_SLOB is not set
...@@ -69,7 +78,10 @@ CONFIG_MODULES=y ...@@ -69,7 +78,10 @@ CONFIG_MODULES=y
# #
# Block layer # Block layer
# #
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# #
# IO Schedulers # IO Schedulers
...@@ -101,7 +113,9 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" ...@@ -101,7 +113,9 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
# CONFIG_ARCH_NETX is not set # CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set # CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IMX is not set # CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_IOP3XX is not set # CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IXP4XX is not set # CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_IXP2000 is not set # CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP23XX is not set # CONFIG_ARCH_IXP23XX is not set
...@@ -125,7 +139,6 @@ CONFIG_MACH_LOGICPD_PXA270=y ...@@ -125,7 +139,6 @@ CONFIG_MACH_LOGICPD_PXA270=y
# CONFIG_PXA_SHARPSL is not set # CONFIG_PXA_SHARPSL is not set
# CONFIG_MACH_TRIZEPS4 is not set # CONFIG_MACH_TRIZEPS4 is not set
CONFIG_PXA27x=y CONFIG_PXA27x=y
CONFIG_IWMMXT=y
# #
# Processor Type # Processor Type
...@@ -136,11 +149,15 @@ CONFIG_CPU_32v5=y ...@@ -136,11 +149,15 @@ CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5T=y CONFIG_CPU_ABRT_EV5T=y
CONFIG_CPU_CACHE_VIVT=y CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_TLB_V4WBI=y CONFIG_CPU_TLB_V4WBI=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
# #
# Processor Features # Processor Features
# #
# CONFIG_ARM_THUMB is not set # CONFIG_ARM_THUMB is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
CONFIG_IWMMXT=y
CONFIG_XSCALE_PMU=y CONFIG_XSCALE_PMU=y
# #
...@@ -217,6 +234,7 @@ CONFIG_NET=y ...@@ -217,6 +234,7 @@ CONFIG_NET=y
CONFIG_UNIX=y CONFIG_UNIX=y
CONFIG_XFRM=y CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set # CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_NET_KEY is not set # CONFIG_NET_KEY is not set
CONFIG_INET=y CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set # CONFIG_IP_MULTICAST is not set
...@@ -237,13 +255,29 @@ CONFIG_IP_PNP_BOOTP=y ...@@ -237,13 +255,29 @@ CONFIG_IP_PNP_BOOTP=y
# CONFIG_INET_TUNNEL is not set # CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_DIAG=y CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set # CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y CONFIG_TCP_CONG_CUBIC=y
# CONFIG_IPV6 is not set CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_NETWORK_SECMARK is not set # CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set # CONFIG_NETFILTER is not set
...@@ -270,7 +304,6 @@ CONFIG_TCP_CONG_BIC=y ...@@ -270,7 +304,6 @@ CONFIG_TCP_CONG_BIC=y
# CONFIG_ATALK is not set # CONFIG_ATALK is not set
# CONFIG_X25 is not set # CONFIG_X25 is not set
# CONFIG_LAPB is not set # CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set # CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set # CONFIG_WAN_ROUTER is not set
...@@ -329,6 +362,7 @@ CONFIG_MTD_BLOCK=y ...@@ -329,6 +362,7 @@ CONFIG_MTD_BLOCK=y
# CONFIG_NFTL is not set # CONFIG_NFTL is not set
# CONFIG_INFTL is not set # CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set # CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# #
# RAM/ROM/Flash chip drivers # RAM/ROM/Flash chip drivers
...@@ -410,7 +444,7 @@ CONFIG_MTD_CFI_UTIL=y ...@@ -410,7 +444,7 @@ CONFIG_MTD_CFI_UTIL=y
# #
# CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_COW_COMMON is not set
# CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set # CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CDROM_PKTCDVD is not set # CONFIG_CDROM_PKTCDVD is not set
...@@ -447,6 +481,12 @@ CONFIG_BLK_DEV_IDEDISK=y ...@@ -447,6 +481,12 @@ CONFIG_BLK_DEV_IDEDISK=y
# #
# CONFIG_RAID_ATTRS is not set # CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set # CONFIG_SCSI is not set
# CONFIG_SCSI_NETLINK is not set
#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
# CONFIG_ATA is not set
# #
# Multi-device support (RAID and LVM) # Multi-device support (RAID and LVM)
...@@ -526,6 +566,7 @@ CONFIG_SMC91X=y ...@@ -526,6 +566,7 @@ CONFIG_SMC91X=y
# Input device support # Input device support
# #
CONFIG_INPUT=y CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# #
# Userland interfaces # Userland interfaces
...@@ -548,6 +589,7 @@ CONFIG_KEYBOARD_ATKBD=y ...@@ -548,6 +589,7 @@ CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_TOUCHSCREEN is not set
...@@ -600,17 +642,12 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -600,17 +642,12 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
# CONFIG_DTLK is not set # CONFIG_DTLK is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
# #
# TPM devices # TPM devices
# #
# CONFIG_TCG_TPM is not set # CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
# #
# I2C support # I2C support
...@@ -626,6 +663,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -626,6 +663,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# #
# Dallas's 1-wire bus # Dallas's 1-wire bus
# #
# CONFIG_W1 is not set
# #
# Hardware Monitoring support # Hardware Monitoring support
...@@ -634,11 +672,14 @@ CONFIG_HWMON=y ...@@ -634,11 +672,14 @@ CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set # CONFIG_HWMON_VID is not set
# CONFIG_SENSORS_ABITUGURU is not set # CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_F71805F is not set # CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_HWMON_DEBUG_CHIP is not set # CONFIG_HWMON_DEBUG_CHIP is not set
# #
# Misc devices # Misc devices
# #
# CONFIG_TIFM_CORE is not set
# #
# LED devices # LED devices
...@@ -657,7 +698,6 @@ CONFIG_HWMON=y ...@@ -657,7 +698,6 @@ CONFIG_HWMON=y
# Multimedia devices # Multimedia devices
# #
# CONFIG_VIDEO_DEV is not set # CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_V4L2=y
# #
# Digital Video Broadcasting Devices # Digital Video Broadcasting Devices
...@@ -679,6 +719,7 @@ CONFIG_FB_CFB_IMAGEBLIT=y ...@@ -679,6 +719,7 @@ CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_S1D13XXX is not set # CONFIG_FB_S1D13XXX is not set
CONFIG_FB_PXA=y CONFIG_FB_PXA=y
# CONFIG_FB_PXA_PARAMETERS is not set # CONFIG_FB_PXA_PARAMETERS is not set
# CONFIG_FB_MBX is not set
# CONFIG_FB_VIRTUAL is not set # CONFIG_FB_VIRTUAL is not set
# #
...@@ -725,7 +766,6 @@ CONFIG_SND_VERBOSE_PROCFS=y ...@@ -725,7 +766,6 @@ CONFIG_SND_VERBOSE_PROCFS=y
# Generic devices # Generic devices
# #
CONFIG_SND_AC97_CODEC=y CONFIG_SND_AC97_CODEC=y
CONFIG_SND_AC97_BUS=y
# CONFIG_SND_DUMMY is not set # CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set # CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_SERIAL_U16550 is not set
...@@ -741,6 +781,12 @@ CONFIG_SND_PXA2XX_AC97=y ...@@ -741,6 +781,12 @@ CONFIG_SND_PXA2XX_AC97=y
# Open Sound System # Open Sound System
# #
# CONFIG_SOUND_PRIME is not set # CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=y
#
# HID Devices
#
CONFIG_HID=y
# #
# USB support # USB support
...@@ -777,10 +823,12 @@ CONFIG_EXT2_FS=y ...@@ -777,10 +823,12 @@ CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set # CONFIG_EXT2_FS_XIP is not set
# CONFIG_EXT3_FS is not set # CONFIG_EXT3_FS is not set
# CONFIG_EXT4DEV_FS is not set
# CONFIG_REISERFS_FS is not set # CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set # CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set # CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set # CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set # CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set # CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set # CONFIG_ROMFS_FS is not set
...@@ -811,6 +859,7 @@ CONFIG_FAT_DEFAULT_CODEPAGE=437 ...@@ -811,6 +859,7 @@ CONFIG_FAT_DEFAULT_CODEPAGE=437
# Pseudo filesystems # Pseudo filesystems
# #
CONFIG_PROC_FS=y CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y CONFIG_SYSFS=y
# CONFIG_TMPFS is not set # CONFIG_TMPFS is not set
# CONFIG_HUGETLB_PAGE is not set # CONFIG_HUGETLB_PAGE is not set
...@@ -860,7 +909,6 @@ CONFIG_SUNRPC=y ...@@ -860,7 +909,6 @@ CONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set # CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set # CONFIG_CIFS is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_NCP_FS is not set # CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set # CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set # CONFIG_AFS_FS is not set
...@@ -916,6 +964,11 @@ CONFIG_NLS_ISO8859_1=y ...@@ -916,6 +964,11 @@ CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set # CONFIG_NLS_UTF8 is not set
#
# Distributed Lock Manager
#
# CONFIG_DLM is not set
# #
# Profiling support # Profiling support
# #
...@@ -925,8 +978,11 @@ CONFIG_NLS_ISO8859_1=y ...@@ -925,8 +978,11 @@ CONFIG_NLS_ISO8859_1=y
# Kernel hacking # Kernel hacking
# #
# CONFIG_PRINTK_TIME is not set # CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set # CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=14 CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y CONFIG_DETECT_SOFTLOCKUP=y
...@@ -942,10 +998,9 @@ CONFIG_DETECT_SOFTLOCKUP=y ...@@ -942,10 +998,9 @@ CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
CONFIG_FRAME_POINTER=y CONFIG_FRAME_POINTER=y
# CONFIG_UNWIND_INFO is not set
CONFIG_FORCED_INLINING=y CONFIG_FORCED_INLINING=y
# CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_TORTURE_TEST is not set
CONFIG_DEBUG_USER=y CONFIG_DEBUG_USER=y
...@@ -964,13 +1019,10 @@ CONFIG_DEBUG_LL=y ...@@ -964,13 +1019,10 @@ CONFIG_DEBUG_LL=y
# #
# CONFIG_CRYPTO is not set # CONFIG_CRYPTO is not set
#
# Hardware crypto devices
#
# #
# Library routines # Library routines
# #
CONFIG_BITREVERSE=y
# CONFIG_CRC_CCITT is not set # CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set # CONFIG_CRC16 is not set
CONFIG_CRC32=y CONFIG_CRC32=y
...@@ -978,3 +1030,4 @@ CONFIG_CRC32=y ...@@ -978,3 +1030,4 @@ CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y CONFIG_ZLIB_DEFLATE=y
CONFIG_PLIST=y CONFIG_PLIST=y
CONFIG_IOMAP_COPY=y
This diff is collapsed.
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
CALL(sys_ni_syscall) /* was sys_profil */ CALL(sys_ni_syscall) /* was sys_profil */
CALL(sys_statfs) CALL(sys_statfs)
/* 100 */ CALL(sys_fstatfs) /* 100 */ CALL(sys_fstatfs)
CALL(sys_ni_syscall) CALL(sys_ni_syscall) /* sys_ioperm */
CALL(OBSOLETE(ABI(sys_socketcall, sys_oabi_socketcall))) CALL(OBSOLETE(ABI(sys_socketcall, sys_oabi_socketcall)))
CALL(sys_syslog) CALL(sys_syslog)
CALL(sys_setitimer) CALL(sys_setitimer)
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
/* 120 */ CALL(sys_clone_wrapper) /* 120 */ CALL(sys_clone_wrapper)
CALL(sys_setdomainname) CALL(sys_setdomainname)
CALL(sys_newuname) CALL(sys_newuname)
CALL(sys_ni_syscall) CALL(sys_ni_syscall) /* modify_ldt */
CALL(sys_adjtimex) CALL(sys_adjtimex)
/* 125 */ CALL(sys_mprotect) /* 125 */ CALL(sys_mprotect)
CALL(sys_sigprocmask) CALL(sys_sigprocmask)
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
CALL(sys_bdflush) CALL(sys_bdflush)
/* 135 */ CALL(sys_sysfs) /* 135 */ CALL(sys_sysfs)
CALL(sys_personality) CALL(sys_personality)
CALL(sys_ni_syscall) /* CALL(_sys_afs_syscall) */ CALL(sys_ni_syscall) /* reserved for afs_syscall */
CALL(sys_setfsuid16) CALL(sys_setfsuid16)
CALL(sys_setfsgid16) CALL(sys_setfsgid16)
/* 140 */ CALL(sys_llseek) /* 140 */ CALL(sys_llseek)
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
CALL(sys_arm_mremap) CALL(sys_arm_mremap)
CALL(sys_setresuid16) CALL(sys_setresuid16)
/* 165 */ CALL(sys_getresuid16) /* 165 */ CALL(sys_getresuid16)
CALL(sys_ni_syscall) CALL(sys_ni_syscall) /* vm86 */
CALL(sys_ni_syscall) /* was sys_query_module */ CALL(sys_ni_syscall) /* was sys_query_module */
CALL(sys_poll) CALL(sys_poll)
CALL(sys_nfsservctl) CALL(sys_nfsservctl)
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
/* 185 */ CALL(sys_capset) /* 185 */ CALL(sys_capset)
CALL(sys_sigaltstack_wrapper) CALL(sys_sigaltstack_wrapper)
CALL(sys_sendfile) CALL(sys_sendfile)
CALL(sys_ni_syscall) CALL(sys_ni_syscall) /* getpmsg */
CALL(sys_ni_syscall) CALL(sys_ni_syscall) /* putpmsg */
/* 190 */ CALL(sys_vfork_wrapper) /* 190 */ CALL(sys_vfork_wrapper)
CALL(sys_getrlimit) CALL(sys_getrlimit)
CALL(sys_mmap2) CALL(sys_mmap2)
...@@ -344,6 +344,18 @@ ...@@ -344,6 +344,18 @@
CALL(sys_readlinkat) CALL(sys_readlinkat)
CALL(sys_fchmodat) CALL(sys_fchmodat)
CALL(sys_faccessat) CALL(sys_faccessat)
/* 335 */ CALL(sys_ni_syscall) /* eventually pselect6 */
CALL(sys_ni_syscall) /* eventually ppoll */
CALL(sys_unshare)
CALL(sys_set_robust_list)
CALL(sys_get_robust_list)
/* 340 */ CALL(sys_splice)
CALL(sys_arm_sync_file_range)
CALL(sys_tee)
CALL(sys_vmsplice)
CALL(sys_move_pages)
/* 345 */ CALL(sys_getcpu)
CALL(sys_ni_syscall) /* eventually epoll_pwait */
#ifndef syscalls_counted #ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted #define syscalls_counted
......
...@@ -855,6 +855,7 @@ static const char *hwcap_str[] = { ...@@ -855,6 +855,7 @@ static const char *hwcap_str[] = {
"edsp", "edsp",
"java", "java",
"iwmmxt", "iwmmxt",
"crunch",
NULL NULL
}; };
......
...@@ -328,3 +328,16 @@ asmlinkage long sys_arm_fadvise64_64(int fd, int advice, ...@@ -328,3 +328,16 @@ asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
{ {
return sys_fadvise64_64(fd, offset, len, advice); return sys_fadvise64_64(fd, offset, len, advice);
} }
/*
* Yet more syscall fsckage - we can't fit sys_sync_file_range's
* arguments into the available registers with EABI. So, let's
* create an ARM specific syscall for this which has _sane_
* arguments. (This incidentally also has an ABI-independent
* argument layout.)
*/
asmlinkage long sys_arm_sync_file_range(int fd, unsigned int flags,
loff_t offset, loff_t nbytes)
{
return sys_sync_file_range(fd, offset, nbytes, flags);
}
...@@ -477,4 +477,8 @@ void __init ep93xx_init_devices(void) ...@@ -477,4 +477,8 @@ void __init ep93xx_init_devices(void)
platform_device_register(&ep93xx_rtc_device); platform_device_register(&ep93xx_rtc_device);
platform_device_register(&ep93xx_ohci_device); platform_device_register(&ep93xx_ohci_device);
#ifdef CONFIG_CRUNCH
elf_hwcap |= HWCAP_CRUNCH;
#endif
} }
...@@ -88,11 +88,11 @@ static struct sys_timer iq81340mc_timer = { ...@@ -88,11 +88,11 @@ static struct sys_timer iq81340mc_timer = {
MACHINE_START(IQ81340MC, "Intel IQ81340MC") MACHINE_START(IQ81340MC, "Intel IQ81340MC")
/* Maintainer: Dan Williams <dan.j.williams@intel.com> */ /* Maintainer: Dan Williams <dan.j.williams@intel.com> */
.phys_io = PHYS_IO, .phys_io = IOP13XX_PMMR_PHYS_MEM_BASE,
.io_pg_offst = IO_PG_OFFSET, .io_pg_offst = (IOP13XX_PMMR_VIRT_MEM_BASE >> 18) & 0xfffc,
.boot_params = 0x00000100,
.map_io = iop13xx_map_io, .map_io = iop13xx_map_io,
.init_irq = iop13xx_init_irq, .init_irq = iop13xx_init_irq,
.timer = &iq81340mc_timer, .timer = &iq81340mc_timer,
.boot_params = BOOT_PARAM_OFFSET,
.init_machine = iq81340mc_init, .init_machine = iq81340mc_init,
MACHINE_END MACHINE_END
...@@ -90,11 +90,11 @@ static struct sys_timer iq81340sc_timer = { ...@@ -90,11 +90,11 @@ static struct sys_timer iq81340sc_timer = {
MACHINE_START(IQ81340SC, "Intel IQ81340SC") MACHINE_START(IQ81340SC, "Intel IQ81340SC")
/* Maintainer: Dan Williams <dan.j.williams@intel.com> */ /* Maintainer: Dan Williams <dan.j.williams@intel.com> */
.phys_io = PHYS_IO, .phys_io = IOP13XX_PMMR_PHYS_MEM_BASE,
.io_pg_offst = IO_PG_OFFSET, .io_pg_offst = (IOP13XX_PMMR_VIRT_MEM_BASE >> 18) & 0xfffc,
.boot_params = 0x00000100,
.map_io = iop13xx_map_io, .map_io = iop13xx_map_io,
.init_irq = iop13xx_init_irq, .init_irq = iop13xx_init_irq,
.timer = &iq81340sc_timer, .timer = &iq81340sc_timer,
.boot_params = BOOT_PARAM_OFFSET,
.init_machine = iq81340sc_init, .init_machine = iq81340sc_init,
MACHINE_END MACHINE_END
...@@ -222,25 +222,29 @@ iop13xx_irq_unmask3(unsigned int irq) ...@@ -222,25 +222,29 @@ iop13xx_irq_unmask3(unsigned int irq)
iop13xx_cp6_restore(cp_flags); iop13xx_cp6_restore(cp_flags);
} }
static struct irqchip iop13xx_irqchip0 = { static struct irq_chip iop13xx_irqchip1 = {
.name = "IOP13xx-1",
.ack = iop13xx_irq_mask0, .ack = iop13xx_irq_mask0,
.mask = iop13xx_irq_mask0, .mask = iop13xx_irq_mask0,
.unmask = iop13xx_irq_unmask0, .unmask = iop13xx_irq_unmask0,
}; };
static struct irqchip iop13xx_irqchip1 = { static struct irq_chip iop13xx_irqchip2 = {
.name = "IOP13xx-2",
.ack = iop13xx_irq_mask1, .ack = iop13xx_irq_mask1,
.mask = iop13xx_irq_mask1, .mask = iop13xx_irq_mask1,
.unmask = iop13xx_irq_unmask1, .unmask = iop13xx_irq_unmask1,
}; };
static struct irqchip iop13xx_irqchip2 = { static struct irq_chip iop13xx_irqchip3 = {
.name = "IOP13xx-3",
.ack = iop13xx_irq_mask2, .ack = iop13xx_irq_mask2,
.mask = iop13xx_irq_mask2, .mask = iop13xx_irq_mask2,
.unmask = iop13xx_irq_unmask2, .unmask = iop13xx_irq_unmask2,
}; };
static struct irqchip iop13xx_irqchip3 = { static struct irq_chip iop13xx_irqchip4 = {
.name = "IOP13xx-4",
.ack = iop13xx_irq_mask3, .ack = iop13xx_irq_mask3,
.mask = iop13xx_irq_mask3, .mask = iop13xx_irq_mask3,
.unmask = iop13xx_irq_unmask3, .unmask = iop13xx_irq_unmask3,
...@@ -270,15 +274,15 @@ void __init iop13xx_init_irq(void) ...@@ -270,15 +274,15 @@ void __init iop13xx_init_irq(void)
for(i = 0; i < NR_IOP13XX_IRQS; i++) { for(i = 0; i < NR_IOP13XX_IRQS; i++) {
if (i < 32) if (i < 32)
set_irq_chip(i, &iop13xx_irqchip0);
else if (i < 64)
set_irq_chip(i, &iop13xx_irqchip1); set_irq_chip(i, &iop13xx_irqchip1);
else if (i < 96) else if (i < 64)
set_irq_chip(i, &iop13xx_irqchip2); set_irq_chip(i, &iop13xx_irqchip2);
else else if (i < 96)
set_irq_chip(i, &iop13xx_irqchip3); set_irq_chip(i, &iop13xx_irqchip3);
else
set_irq_chip(i, &iop13xx_irqchip4);
set_irq_handler(i, do_level_IRQ); set_irq_handler(i, handle_level_irq);
set_irq_flags(i, IRQF_VALID | IRQF_PROBE); set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
} }
......
...@@ -337,7 +337,7 @@ void __init iop13xx_platform_init(void) ...@@ -337,7 +337,7 @@ void __init iop13xx_platform_init(void)
#ifdef CONFIG_MTD_PHYSMAP #ifdef CONFIG_MTD_PHYSMAP
iq8134x_flash_resource.end = iq8134x_flash_resource.start + iq8134x_flash_resource.end = iq8134x_flash_resource.start +
iq8134x_probe_flash_size(); iq8134x_probe_flash_size() - 1;
if (iq8134x_flash_resource.end > iq8134x_flash_resource.start) if (iq8134x_flash_resource.end > iq8134x_flash_resource.start)
iop13xx_devices[plat_idx++] = &iq8134x_flash; iop13xx_devices[plat_idx++] = &iq8134x_flash;
else else
......
...@@ -5,6 +5,7 @@ menu "S3C24XX Implementations" ...@@ -5,6 +5,7 @@ menu "S3C24XX Implementations"
config MACH_AML_M5900 config MACH_AML_M5900
bool "AML M5900 Series" bool "AML M5900 Series"
select CPU_S3C2410 select CPU_S3C2410
select PM_SIMTEC if PM
help help
Say Y here if you are using the American Microsystems M5900 Series Say Y here if you are using the American Microsystems M5900 Series
<http://www.amltd.com> <http://www.amltd.com>
...@@ -12,6 +13,7 @@ config MACH_AML_M5900 ...@@ -12,6 +13,7 @@ config MACH_AML_M5900
config MACH_ANUBIS config MACH_ANUBIS
bool "Simtec Electronics ANUBIS" bool "Simtec Electronics ANUBIS"
select CPU_S3C2440 select CPU_S3C2440
select PM_SIMTEC if PM
help help
Say Y here if you are using the Simtec Electronics ANUBIS Say Y here if you are using the Simtec Electronics ANUBIS
development system development system
...@@ -19,6 +21,7 @@ config MACH_ANUBIS ...@@ -19,6 +21,7 @@ config MACH_ANUBIS
config MACH_OSIRIS config MACH_OSIRIS
bool "Simtec IM2440D20 (OSIRIS) module" bool "Simtec IM2440D20 (OSIRIS) module"
select CPU_S3C2440 select CPU_S3C2440
select PM_SIMTEC if PM
help help
Say Y here if you are using the Simtec IM2440D20 module, also Say Y here if you are using the Simtec IM2440D20 module, also
known as the Osiris. known as the Osiris.
...@@ -26,6 +29,7 @@ config MACH_OSIRIS ...@@ -26,6 +29,7 @@ config MACH_OSIRIS
config ARCH_BAST config ARCH_BAST
bool "Simtec Electronics BAST (EB2410ITX)" bool "Simtec Electronics BAST (EB2410ITX)"
select CPU_S3C2410 select CPU_S3C2410
select PM_SIMTEC if PM
select ISA select ISA
help help
Say Y here if you are using the Simtec Electronics EB2410ITX Say Y here if you are using the Simtec Electronics EB2410ITX
...@@ -43,14 +47,13 @@ config BAST_PC104_IRQ ...@@ -43,14 +47,13 @@ config BAST_PC104_IRQ
config PM_H1940 config PM_H1940
bool bool
depends on PM
help help
Internal node for H1940 and related PM Internal node for H1940 and related PM
config ARCH_H1940 config ARCH_H1940
bool "IPAQ H1940" bool "IPAQ H1940"
select CPU_S3C2410 select CPU_S3C2410
select PM_H1940 select PM_H1940 if PM
help help
Say Y here if you are using the HP IPAQ H1940 Say Y here if you are using the HP IPAQ H1940
...@@ -112,6 +115,7 @@ config MACH_SMDK2413 ...@@ -112,6 +115,7 @@ config MACH_SMDK2413
config MACH_VR1000 config MACH_VR1000
bool "Thorcom VR1000" bool "Thorcom VR1000"
select PM_SIMTEC if PM
select CPU_S3C2410 select CPU_S3C2410
help help
Say Y here if you are using the Thorcom VR1000 board. Say Y here if you are using the Thorcom VR1000 board.
...@@ -122,7 +126,7 @@ config MACH_VR1000 ...@@ -122,7 +126,7 @@ config MACH_VR1000
config MACH_RX3715 config MACH_RX3715
bool "HP iPAQ rx3715" bool "HP iPAQ rx3715"
select CPU_S3C2440 select CPU_S3C2440
select PM_H1940 select PM_H1940 if PM
help help
Say Y here if you are using the HP iPAQ rx3715. Say Y here if you are using the HP iPAQ rx3715.
...@@ -156,7 +160,6 @@ config S3C2410_CLOCK ...@@ -156,7 +160,6 @@ config S3C2410_CLOCK
config S3C2410_PM config S3C2410_PM
bool bool
depends on CONFIG_PM
help help
Power Management code common to S3C2410 and better Power Management code common to S3C2410 and better
...@@ -171,7 +174,7 @@ config CPU_S3C2410 ...@@ -171,7 +174,7 @@ config CPU_S3C2410
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select S3C2410_CLOCK select S3C2410_CLOCK
select S3C2410_PM select S3C2410_PM if PM
help help
Support for S3C2410 and S3C2410A family from the S3C24XX line Support for S3C2410 and S3C2410A family from the S3C24XX line
of Samsung Mobile CPUs. of Samsung Mobile CPUs.
...@@ -186,14 +189,13 @@ config CPU_S3C2412_ONLY ...@@ -186,14 +189,13 @@ config CPU_S3C2412_ONLY
config S3C2412_PM config S3C2412_PM
bool bool
default y if PM
depends on CPU_S3C2412
help help
Internal config node to apply S3C2412 power management Internal config node to apply S3C2412 power management
config CPU_S3C2412 config CPU_S3C2412
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select S3C2412_PM if PM
help help
Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
...@@ -207,7 +209,7 @@ config CPU_S3C2440 ...@@ -207,7 +209,7 @@ config CPU_S3C2440
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select S3C2410_CLOCK select S3C2410_CLOCK
select S3C2410_PM select S3C2410_PM if PM
select CPU_S3C244X select CPU_S3C244X
help help
Support for S3C2440 Samsung Mobile CPU based systems. Support for S3C2440 Samsung Mobile CPU based systems.
...@@ -216,7 +218,7 @@ config CPU_S3C2442 ...@@ -216,7 +218,7 @@ config CPU_S3C2442
bool bool
depends on ARCH_S3C2420 depends on ARCH_S3C2420
select S3C2410_CLOCK select S3C2410_CLOCK
select S3C2410_PM select S3C2410_PM if PM
select CPU_S3C244X select CPU_S3C244X
help help
Support for S3C2442 Samsung Mobile CPU based systems. Support for S3C2442 Samsung Mobile CPU based systems.
...@@ -300,8 +302,9 @@ config S3C2410_PM_CHECK_CHUNKSIZE ...@@ -300,8 +302,9 @@ config S3C2410_PM_CHECK_CHUNKSIZE
config PM_SIMTEC config PM_SIMTEC
bool bool
depends on PM && (ARCH_BAST || MACH_VR1000 || MACH_AML_M5900) help
default y Common power management code for systems that are
compatible with the Simtec style of power management
config S3C2410_LOWLEVEL_UART_PORT config S3C2410_LOWLEVEL_UART_PORT
int "S3C2410 UART to use for low-level messages" int "S3C2410 UART to use for low-level messages"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
/* linux/arch/arm/mach-s3c2410/dma.c /* linux/arch/arm/mach-s3c2410/dma.c
* *
* (c) 2003-2005,2006 Simtec Electronics * Copyright (c) 2003-2005,2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 DMA core * S3C2410 DMA core
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*
* Modifications:
*/ */
#define irqdbf(x...) #define irqdbf(x...)
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/dm9000.h> #include <linux/dm9000.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
...@@ -37,8 +38,6 @@ ...@@ -37,8 +38,6 @@
#include <asm/arch/h1940-latch.h> #include <asm/arch/h1940-latch.h>
#include <asm/arch/fb.h> #include <asm/arch/fb.h>
#include <linux/serial_core.h>
#include "clock.h" #include "clock.h"
#include "devs.h" #include "devs.h"
#include "cpu.h" #include "cpu.h"
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/kthread.h> #include <linux/kthread.h>
...@@ -37,8 +38,6 @@ ...@@ -37,8 +38,6 @@
#include <asm/arch/regs-gpio.h> #include <asm/arch/regs-gpio.h>
#include <asm/arch/iic.h> #include <asm/arch/iic.h>
#include <linux/serial_core.h>
#include "s3c2410.h" #include "s3c2410.h"
#include "clock.h" #include "clock.h"
#include "devs.h" #include "devs.h"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/mtd/map.h> #include <linux/mtd/map.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/serial_core.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
......
...@@ -352,7 +352,7 @@ static struct platform_device vr1000_led2 = { ...@@ -352,7 +352,7 @@ static struct platform_device vr1000_led2 = {
static struct platform_device vr1000_led3 = { static struct platform_device vr1000_led3 = {
.name = "s3c24xx_led", .name = "s3c24xx_led",
.id = 1, .id = 3,
.dev = { .dev = {
.platform_data = &vr1000_led3_pdata, .platform_data = &vr1000_led3_pdata,
}, },
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/map.h> #include <asm/arch/map.h>
#include <asm/arch/regs-serial.h>
#include <asm/arch/regs-gpio.h> #include <asm/arch/regs-gpio.h>
#include <asm/arch/regs-mem.h> #include <asm/arch/regs-mem.h>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <linux/crc32.h> #include <linux/crc32.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/serial_core.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/hardware.h> #include <asm/hardware.h>
......
...@@ -30,13 +30,18 @@ ...@@ -30,13 +30,18 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/serial_core.h>
#include <asm/mach/map.h>
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/regs-serial.h>
#include <asm/arch/regs-clock.h> #include <asm/arch/regs-clock.h>
#include <asm/arch/regs-gpio.h> #include <asm/arch/regs-gpio.h>
#include "s3c2410.h"
#include "clock.h" #include "clock.h"
#include "cpu.h" #include "cpu.h"
......
/* linux/arch/arm/mach-s3c2410/s3c2410-dma.c /* linux/arch/arm/mach-s3c2410/s3c2410-dma.c
* *
* (c) 2006 Simtec Electronics * Copyright (c) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 DMA selection * S3C2410 DMA selection
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/serial_core.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/arch/dma.h> #include <asm/arch/dma.h>
...@@ -131,6 +132,7 @@ static int s3c2410_dma_add(struct sys_device *sysdev) ...@@ -131,6 +132,7 @@ static int s3c2410_dma_add(struct sys_device *sysdev)
return s3c24xx_dma_init_map(&s3c2410_dma_sel); return s3c24xx_dma_init_map(&s3c2410_dma_sel);
} }
#if defined(CONFIG_CPU_S3C2410)
static struct sysdev_driver s3c2410_dma_driver = { static struct sysdev_driver s3c2410_dma_driver = {
.add = s3c2410_dma_add, .add = s3c2410_dma_add,
}; };
...@@ -141,9 +143,10 @@ static int __init s3c2410_dma_init(void) ...@@ -141,9 +143,10 @@ static int __init s3c2410_dma_init(void)
} }
arch_initcall(s3c2410_dma_init); arch_initcall(s3c2410_dma_init);
#endif
#if defined(CONFIG_CPU_S3C2442)
/* S3C2442 DMA contains the same selection table as the S3C2410 */ /* S3C2442 DMA contains the same selection table as the S3C2410 */
static struct sysdev_driver s3c2442_dma_driver = { static struct sysdev_driver s3c2442_dma_driver = {
.add = s3c2410_dma_add, .add = s3c2410_dma_add,
}; };
...@@ -154,5 +157,5 @@ static int __init s3c2442_dma_init(void) ...@@ -154,5 +157,5 @@ static int __init s3c2442_dma_init(void)
} }
arch_initcall(s3c2442_dma_init); arch_initcall(s3c2442_dma_init);
#endif
...@@ -87,7 +87,7 @@ static void s3c2410_pm_prepare(void) ...@@ -87,7 +87,7 @@ static void s3c2410_pm_prepare(void)
} }
int s3c2410_pm_resume(struct sys_device *dev) static int s3c2410_pm_resume(struct sys_device *dev)
{ {
unsigned long tmp; unsigned long tmp;
...@@ -111,6 +111,7 @@ static int s3c2410_pm_add(struct sys_device *dev) ...@@ -111,6 +111,7 @@ static int s3c2410_pm_add(struct sys_device *dev)
return 0; return 0;
} }
#if defined(CONFIG_CPU_S3C2410)
static struct sysdev_driver s3c2410_pm_driver = { static struct sysdev_driver s3c2410_pm_driver = {
.add = s3c2410_pm_add, .add = s3c2410_pm_add,
.resume = s3c2410_pm_resume, .resume = s3c2410_pm_resume,
...@@ -124,7 +125,9 @@ static int __init s3c2410_pm_drvinit(void) ...@@ -124,7 +125,9 @@ static int __init s3c2410_pm_drvinit(void)
} }
arch_initcall(s3c2410_pm_drvinit); arch_initcall(s3c2410_pm_drvinit);
#endif
#if defined(CONFIG_CPU_S3C2440)
static struct sysdev_driver s3c2440_pm_driver = { static struct sysdev_driver s3c2440_pm_driver = {
.add = s3c2410_pm_add, .add = s3c2410_pm_add,
.resume = s3c2410_pm_resume, .resume = s3c2410_pm_resume,
...@@ -136,7 +139,9 @@ static int __init s3c2440_pm_drvinit(void) ...@@ -136,7 +139,9 @@ static int __init s3c2440_pm_drvinit(void)
} }
arch_initcall(s3c2440_pm_drvinit); arch_initcall(s3c2440_pm_drvinit);
#endif
#if defined(CONFIG_CPU_S3C2442)
static struct sysdev_driver s3c2442_pm_driver = { static struct sysdev_driver s3c2442_pm_driver = {
.add = s3c2410_pm_add, .add = s3c2410_pm_add,
.resume = s3c2410_pm_resume, .resume = s3c2410_pm_resume,
...@@ -148,3 +153,4 @@ static int __init s3c2442_pm_drvinit(void) ...@@ -148,3 +153,4 @@ static int __init s3c2442_pm_drvinit(void)
} }
arch_initcall(s3c2442_pm_drvinit); arch_initcall(s3c2442_pm_drvinit);
#endif
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
...@@ -38,11 +39,9 @@ ...@@ -38,11 +39,9 @@
/* Initial IO mappings */ /* Initial IO mappings */
static struct map_desc s3c2410_iodesc[] __initdata = { static struct map_desc s3c2410_iodesc[] __initdata = {
IODESC_ENT(USBHOST),
IODESC_ENT(CLKPWR), IODESC_ENT(CLKPWR),
IODESC_ENT(LCD), IODESC_ENT(LCD),
IODESC_ENT(TIMER), IODESC_ENT(TIMER),
IODESC_ENT(ADC),
IODESC_ENT(WATCHDOG), IODESC_ENT(WATCHDOG),
}; };
......
...@@ -30,13 +30,18 @@ ...@@ -30,13 +30,18 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/serial_core.h>
#include <asm/mach/map.h>
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/regs-serial.h>
#include <asm/arch/regs-clock.h> #include <asm/arch/regs-clock.h>
#include <asm/arch/regs-gpio.h> #include <asm/arch/regs-gpio.h>
#include "s3c2412.h"
#include "clock.h" #include "clock.h"
#include "cpu.h" #include "cpu.h"
...@@ -49,7 +54,7 @@ ...@@ -49,7 +54,7 @@
* set the correct muxing at initialisation * set the correct muxing at initialisation
*/ */
int s3c2412_clkcon_enable(struct clk *clk, int enable) static int s3c2412_clkcon_enable(struct clk *clk, int enable)
{ {
unsigned int clocks = clk->ctrlbit; unsigned int clocks = clk->ctrlbit;
unsigned long clkcon; unsigned long clkcon;
...@@ -556,7 +561,7 @@ struct clk_init { ...@@ -556,7 +561,7 @@ struct clk_init {
struct clk *src_1; struct clk *src_1;
}; };
struct clk_init clks_src[] __initdata = { static struct clk_init clks_src[] __initdata = {
{ {
.clk = &clk_usysclk, .clk = &clk_usysclk,
.bit = S3C2412_CLKSRC_USBCLK_HCLK, .bit = S3C2412_CLKSRC_USBCLK_HCLK,
...@@ -619,7 +624,7 @@ static void __init s3c2412_clk_initparents(void) ...@@ -619,7 +624,7 @@ static void __init s3c2412_clk_initparents(void)
/* clocks to add straight away */ /* clocks to add straight away */
struct clk *clks[] __initdata = { static struct clk *clks[] __initdata = {
&clk_ext, &clk_ext,
&clk_usb_bus, &clk_usb_bus,
&clk_erefclk, &clk_erefclk,
......
/* linux/arch/arm/mach-s3c2410/s3c2412-dma.c /* linux/arch/arm/mach-s3c2410/s3c2412-dma.c
* *
* (c) 2006 Simtec Electronics * Copyright (c) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2412 DMA selection * S3C2412 DMA selection
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/serial_core.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/arch/dma.h> #include <asm/arch/dma.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
...@@ -60,7 +61,6 @@ static struct map_desc s3c2412_iodesc[] __initdata = { ...@@ -60,7 +61,6 @@ static struct map_desc s3c2412_iodesc[] __initdata = {
IODESC_ENT(CLKPWR), IODESC_ENT(CLKPWR),
IODESC_ENT(LCD), IODESC_ENT(LCD),
IODESC_ENT(TIMER), IODESC_ENT(TIMER),
IODESC_ENT(ADC),
IODESC_ENT(WATCHDOG), IODESC_ENT(WATCHDOG),
}; };
......
...@@ -113,18 +113,18 @@ static int s3c2440_clk_add(struct sys_device *sysdev) ...@@ -113,18 +113,18 @@ static int s3c2440_clk_add(struct sys_device *sysdev)
{ {
unsigned long camdivn = __raw_readl(S3C2440_CAMDIVN); unsigned long camdivn = __raw_readl(S3C2440_CAMDIVN);
unsigned long clkdivn; unsigned long clkdivn;
struct clk *clk_h; struct clk *clock_h;
struct clk *clk_p; struct clk *clock_p;
struct clk *clk_upll; struct clk *clock_upll;
printk("S3C2440: Clock Support, DVS %s\n", printk("S3C2440: Clock Support, DVS %s\n",
(camdivn & S3C2440_CAMDIVN_DVSEN) ? "on" : "off"); (camdivn & S3C2440_CAMDIVN_DVSEN) ? "on" : "off");
clk_p = clk_get(NULL, "pclk"); clock_p = clk_get(NULL, "pclk");
clk_h = clk_get(NULL, "hclk"); clock_h = clk_get(NULL, "hclk");
clk_upll = clk_get(NULL, "upll"); clock_upll = clk_get(NULL, "upll");
if (IS_ERR(clk_p) || IS_ERR(clk_h) || IS_ERR(clk_upll)) { if (IS_ERR(clock_p) || IS_ERR(clock_h) || IS_ERR(clock_upll)) {
printk(KERN_ERR "S3C2440: Failed to get parent clocks\n"); printk(KERN_ERR "S3C2440: Failed to get parent clocks\n");
return -EINVAL; return -EINVAL;
} }
...@@ -132,8 +132,8 @@ static int s3c2440_clk_add(struct sys_device *sysdev) ...@@ -132,8 +132,8 @@ static int s3c2440_clk_add(struct sys_device *sysdev)
/* check rate of UPLL, and if it is near 96MHz, then change /* check rate of UPLL, and if it is near 96MHz, then change
* to using half the UPLL rate for the system */ * to using half the UPLL rate for the system */
if (clk_get_rate(clk_upll) > (94 * MHZ)) { if (clk_get_rate(clock_upll) > (94 * MHZ)) {
clk_usb_bus.rate = clk_get_rate(clk_upll) / 2; clk_usb_bus.rate = clk_get_rate(clock_upll) / 2;
mutex_lock(&clocks_mutex); mutex_lock(&clocks_mutex);
...@@ -144,9 +144,9 @@ static int s3c2440_clk_add(struct sys_device *sysdev) ...@@ -144,9 +144,9 @@ static int s3c2440_clk_add(struct sys_device *sysdev)
mutex_unlock(&clocks_mutex); mutex_unlock(&clocks_mutex);
} }
s3c2440_clk_cam.parent = clk_h; s3c2440_clk_cam.parent = clock_h;
s3c2440_clk_ac97.parent = clk_p; s3c2440_clk_ac97.parent = clock_p;
s3c2440_clk_cam_upll.parent = clk_upll; s3c2440_clk_cam_upll.parent = clock_upll;
s3c24xx_register_clock(&s3c2440_clk_ac97); s3c24xx_register_clock(&s3c2440_clk_ac97);
s3c24xx_register_clock(&s3c2440_clk_cam); s3c24xx_register_clock(&s3c2440_clk_cam);
......
/* linux/arch/arm/mach-s3c2410/s3c2440-dma.c /* linux/arch/arm/mach-s3c2410/s3c2440-dma.c
* *
* (c) 2006 Simtec Electronics * Copyright (c) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2440 DMA selection * S3C2440 DMA selection
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/serial_core.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/arch/dma.h> #include <asm/arch/dma.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/clk.h> #include <linux/clk.h>
...@@ -28,17 +29,9 @@ ...@@ -28,17 +29,9 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/arch/regs-clock.h>
#include <asm/arch/regs-serial.h>
#include <asm/arch/regs-gpio.h>
#include <asm/arch/regs-gpioj.h>
#include <asm/arch/regs-dsc.h>
#include "s3c2440.h" #include "s3c2440.h"
#include "clock.h"
#include "devs.h" #include "devs.h"
#include "cpu.h" #include "cpu.h"
#include "pm.h"
static struct sys_device s3c2440_sysdev = { static struct sys_device s3c2440_sysdev = {
.cls = &s3c2440_sysclass, .cls = &s3c2440_sysclass,
......
...@@ -8,28 +8,10 @@ ...@@ -8,28 +8,10 @@
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*
* Modifications:
* 24-Aug-2004 BJD Start of S3C2440 CPU support
* 04-Nov-2004 BJD Added s3c2440_init_uarts()
* 04-Jan-2005 BJD Moved uart init to cpu code
* 10-Jan-2005 BJD Moved 2440 specific init here
* 14-Jan-2005 BJD Split the clock initialisation code
*/ */
#ifdef CONFIG_CPU_S3C2440 #ifdef CONFIG_CPU_S3C2440
extern int s3c2440_init(void); extern int s3c2440_init(void);
extern void s3c2440_map_io(struct map_desc *mach_desc, int size);
extern void s3c2440_init_uarts(struct s3c2410_uartcfg *cfg, int no);
extern void s3c2440_init_clocks(int xtal);
#else #else
#define s3c2440_init_clocks NULL
#define s3c2440_init_uarts NULL
#define s3c2440_map_io NULL
#define s3c2440_init NULL #define s3c2440_init NULL
#endif #endif
...@@ -117,18 +117,18 @@ static int s3c2442_clk_add(struct sys_device *sysdev) ...@@ -117,18 +117,18 @@ static int s3c2442_clk_add(struct sys_device *sysdev)
{ {
unsigned long camdivn = __raw_readl(S3C2440_CAMDIVN); unsigned long camdivn = __raw_readl(S3C2440_CAMDIVN);
unsigned long clkdivn; unsigned long clkdivn;
struct clk *clk_h; struct clk *clock_h;
struct clk *clk_p; struct clk *clock_p;
struct clk *clk_upll; struct clk *clock_upll;
printk("S3C2442: Clock Support, DVS %s\n", printk("S3C2442: Clock Support, DVS %s\n",
(camdivn & S3C2440_CAMDIVN_DVSEN) ? "on" : "off"); (camdivn & S3C2440_CAMDIVN_DVSEN) ? "on" : "off");
clk_p = clk_get(NULL, "pclk"); clock_p = clk_get(NULL, "pclk");
clk_h = clk_get(NULL, "hclk"); clock_h = clk_get(NULL, "hclk");
clk_upll = clk_get(NULL, "upll"); clock_upll = clk_get(NULL, "upll");
if (IS_ERR(clk_p) || IS_ERR(clk_h) || IS_ERR(clk_upll)) { if (IS_ERR(clock_p) || IS_ERR(clock_h) || IS_ERR(clock_upll)) {
printk(KERN_ERR "S3C2442: Failed to get parent clocks\n"); printk(KERN_ERR "S3C2442: Failed to get parent clocks\n");
return -EINVAL; return -EINVAL;
} }
...@@ -136,8 +136,8 @@ static int s3c2442_clk_add(struct sys_device *sysdev) ...@@ -136,8 +136,8 @@ static int s3c2442_clk_add(struct sys_device *sysdev)
/* check rate of UPLL, and if it is near 96MHz, then change /* check rate of UPLL, and if it is near 96MHz, then change
* to using half the UPLL rate for the system */ * to using half the UPLL rate for the system */
if (clk_get_rate(clk_upll) > (94 * MHZ)) { if (clk_get_rate(clock_upll) > (94 * MHZ)) {
clk_usb_bus.rate = clk_get_rate(clk_upll) / 2; clk_usb_bus.rate = clk_get_rate(clock_upll) / 2;
mutex_lock(&clocks_mutex); mutex_lock(&clocks_mutex);
...@@ -148,8 +148,8 @@ static int s3c2442_clk_add(struct sys_device *sysdev) ...@@ -148,8 +148,8 @@ static int s3c2442_clk_add(struct sys_device *sysdev)
mutex_unlock(&clocks_mutex); mutex_unlock(&clocks_mutex);
} }
s3c2442_clk_cam.parent = clk_h; s3c2442_clk_cam.parent = clock_h;
s3c2442_clk_cam_upll.parent = clk_upll; s3c2442_clk_cam_upll.parent = clock_upll;
s3c24xx_register_clock(&s3c2442_clk_cam); s3c24xx_register_clock(&s3c2442_clk_cam);
s3c24xx_register_clock(&s3c2442_clk_cam_upll); s3c24xx_register_clock(&s3c2442_clk_cam_upll);
......
...@@ -16,29 +16,11 @@ ...@@ -16,29 +16,11 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/platform_device.h> #include <linux/serial_core.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/clk.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/hardware.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/arch/regs-clock.h>
#include <asm/arch/regs-serial.h>
#include <asm/arch/regs-gpio.h>
#include <asm/arch/regs-gpioj.h>
#include <asm/arch/regs-dsc.h>
#include "s3c2442.h" #include "s3c2442.h"
#include "clock.h"
#include "devs.h"
#include "cpu.h" #include "cpu.h"
#include "pm.h"
static struct sys_device s3c2442_sysdev = { static struct sys_device s3c2442_sysdev = {
.cls = &s3c2442_sysclass, .cls = &s3c2442_sysclass,
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/clk.h> #include <linux/clk.h>
...@@ -47,8 +48,6 @@ static struct map_desc s3c244x_iodesc[] __initdata = { ...@@ -47,8 +48,6 @@ static struct map_desc s3c244x_iodesc[] __initdata = {
IODESC_ENT(TIMER), IODESC_ENT(TIMER),
IODESC_ENT(WATCHDOG), IODESC_ENT(WATCHDOG),
IODESC_ENT(LCD), IODESC_ENT(LCD),
IODESC_ENT(ADC),
IODESC_ENT(USBHOST),
}; };
/* uart initialisation */ /* uart initialisation */
......
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*
* Modifications:
* 20-Aug-2004 BJD Created
*/ */
extern int usb_simtec_init(void); extern int usb_simtec_init(void);
......
...@@ -292,6 +292,8 @@ __ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, ...@@ -292,6 +292,8 @@ __ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size,
if (pfn >= 0x100000 && (__pfn_to_phys(pfn) & ~SUPERSECTION_MASK)) if (pfn >= 0x100000 && (__pfn_to_phys(pfn) & ~SUPERSECTION_MASK))
return NULL; return NULL;
size = PAGE_ALIGN(size);
area = get_vm_area(size, VM_IOREMAP); area = get_vm_area(size, VM_IOREMAP);
if (!area) if (!area)
return NULL; return NULL;
......
...@@ -154,6 +154,26 @@ static int __init noalign_setup(char *__unused) ...@@ -154,6 +154,26 @@ static int __init noalign_setup(char *__unused)
} }
__setup("noalign", noalign_setup); __setup("noalign", noalign_setup);
#ifndef CONFIG_SMP
void adjust_cr(unsigned long mask, unsigned long set)
{
unsigned long flags;
mask &= ~CR_A;
set &= mask;
local_irq_save(flags);
cr_no_alignment = (cr_no_alignment & ~mask) | set;
cr_alignment = (cr_alignment & ~mask) | set;
set_cr((get_cr() & ~mask) | set);
local_irq_restore(flags);
}
#endif
struct mem_types { struct mem_types {
unsigned int prot_pte; unsigned int prot_pte;
unsigned int prot_l1; unsigned int prot_l1;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* linux/arch/arm/mm/proc-xsc3.S * linux/arch/arm/mm/proc-xsc3.S
* *
* Original Author: Matthew Gilbert * Original Author: Matthew Gilbert
* Current Maintainer: Deepak Saxena <dsaxena@plexity.net> * Current Maintainer: Lennert Buytenhek <buytenh@wantstofly.org>
* *
* Copyright 2004 (C) Intel Corp. * Copyright 2004 (C) Intel Corp.
* Copyright 2005 (c) MontaVista Software, Inc. * Copyright 2005 (c) MontaVista Software, Inc.
......
...@@ -1216,7 +1216,7 @@ static int __init pxafb_parse_options(struct device *dev, char *options) ...@@ -1216,7 +1216,7 @@ static int __init pxafb_parse_options(struct device *dev, char *options)
done: done:
if (res_specified) { if (res_specified) {
dev_info(dev, "overriding resolution: %dx%d\n", xres, yres); dev_info(dev, "overriding resolution: %dx%d\n", xres, yres);
inf->xres = xres; inf->yres = yres; inf->modes[0].xres = xres; inf->modes[0].yres = yres;
} }
if (bpp_specified) if (bpp_specified)
switch (bpp) { switch (bpp) {
...@@ -1225,48 +1225,48 @@ static int __init pxafb_parse_options(struct device *dev, char *options) ...@@ -1225,48 +1225,48 @@ static int __init pxafb_parse_options(struct device *dev, char *options)
case 4: case 4:
case 8: case 8:
case 16: case 16:
inf->bpp = bpp; inf->modes[0].bpp = bpp;
dev_info(dev, "overriding bit depth: %d\n", bpp); dev_info(dev, "overriding bit depth: %d\n", bpp);
break; break;
default: default:
dev_err(dev, "Depth %d is not valid\n", bpp); dev_err(dev, "Depth %d is not valid\n", bpp);
} }
} else if (!strncmp(this_opt, "pixclock:", 9)) { } else if (!strncmp(this_opt, "pixclock:", 9)) {
inf->pixclock = simple_strtoul(this_opt+9, NULL, 0); inf->modes[0].pixclock = simple_strtoul(this_opt+9, NULL, 0);
dev_info(dev, "override pixclock: %ld\n", inf->pixclock); dev_info(dev, "override pixclock: %ld\n", inf->modes[0].pixclock);
} else if (!strncmp(this_opt, "left:", 5)) { } else if (!strncmp(this_opt, "left:", 5)) {
inf->left_margin = simple_strtoul(this_opt+5, NULL, 0); inf->modes[0].left_margin = simple_strtoul(this_opt+5, NULL, 0);
dev_info(dev, "override left: %u\n", inf->left_margin); dev_info(dev, "override left: %u\n", inf->modes[0].left_margin);
} else if (!strncmp(this_opt, "right:", 6)) { } else if (!strncmp(this_opt, "right:", 6)) {
inf->right_margin = simple_strtoul(this_opt+6, NULL, 0); inf->modes[0].right_margin = simple_strtoul(this_opt+6, NULL, 0);
dev_info(dev, "override right: %u\n", inf->right_margin); dev_info(dev, "override right: %u\n", inf->modes[0].right_margin);
} else if (!strncmp(this_opt, "upper:", 6)) { } else if (!strncmp(this_opt, "upper:", 6)) {
inf->upper_margin = simple_strtoul(this_opt+6, NULL, 0); inf->modes[0].upper_margin = simple_strtoul(this_opt+6, NULL, 0);
dev_info(dev, "override upper: %u\n", inf->upper_margin); dev_info(dev, "override upper: %u\n", inf->modes[0].upper_margin);
} else if (!strncmp(this_opt, "lower:", 6)) { } else if (!strncmp(this_opt, "lower:", 6)) {
inf->lower_margin = simple_strtoul(this_opt+6, NULL, 0); inf->modes[0].lower_margin = simple_strtoul(this_opt+6, NULL, 0);
dev_info(dev, "override lower: %u\n", inf->lower_margin); dev_info(dev, "override lower: %u\n", inf->modes[0].lower_margin);
} else if (!strncmp(this_opt, "hsynclen:", 9)) { } else if (!strncmp(this_opt, "hsynclen:", 9)) {
inf->hsync_len = simple_strtoul(this_opt+9, NULL, 0); inf->modes[0].hsync_len = simple_strtoul(this_opt+9, NULL, 0);
dev_info(dev, "override hsynclen: %u\n", inf->hsync_len); dev_info(dev, "override hsynclen: %u\n", inf->modes[0].hsync_len);
} else if (!strncmp(this_opt, "vsynclen:", 9)) { } else if (!strncmp(this_opt, "vsynclen:", 9)) {
inf->vsync_len = simple_strtoul(this_opt+9, NULL, 0); inf->modes[0].vsync_len = simple_strtoul(this_opt+9, NULL, 0);
dev_info(dev, "override vsynclen: %u\n", inf->vsync_len); dev_info(dev, "override vsynclen: %u\n", inf->modes[0].vsync_len);
} else if (!strncmp(this_opt, "hsync:", 6)) { } else if (!strncmp(this_opt, "hsync:", 6)) {
if (simple_strtoul(this_opt+6, NULL, 0) == 0) { if (simple_strtoul(this_opt+6, NULL, 0) == 0) {
dev_info(dev, "override hsync: Active Low\n"); dev_info(dev, "override hsync: Active Low\n");
inf->sync &= ~FB_SYNC_HOR_HIGH_ACT; inf->modes[0].sync &= ~FB_SYNC_HOR_HIGH_ACT;
} else { } else {
dev_info(dev, "override hsync: Active High\n"); dev_info(dev, "override hsync: Active High\n");
inf->sync |= FB_SYNC_HOR_HIGH_ACT; inf->modes[0].sync |= FB_SYNC_HOR_HIGH_ACT;
} }
} else if (!strncmp(this_opt, "vsync:", 6)) { } else if (!strncmp(this_opt, "vsync:", 6)) {
if (simple_strtoul(this_opt+6, NULL, 0) == 0) { if (simple_strtoul(this_opt+6, NULL, 0) == 0) {
dev_info(dev, "override vsync: Active Low\n"); dev_info(dev, "override vsync: Active Low\n");
inf->sync &= ~FB_SYNC_VERT_HIGH_ACT; inf->modes[0].sync &= ~FB_SYNC_VERT_HIGH_ACT;
} else { } else {
dev_info(dev, "override vsync: Active High\n"); dev_info(dev, "override vsync: Active High\n");
inf->sync |= FB_SYNC_VERT_HIGH_ACT; inf->modes[0].sync |= FB_SYNC_VERT_HIGH_ACT;
} }
} else if (!strncmp(this_opt, "dpc:", 4)) { } else if (!strncmp(this_opt, "dpc:", 4)) {
if (simple_strtoul(this_opt+4, NULL, 0) == 0) { if (simple_strtoul(this_opt+4, NULL, 0) == 0) {
......
...@@ -1200,9 +1200,9 @@ static void set_ctrlr_state(struct sa1100fb_info *fbi, u_int state) ...@@ -1200,9 +1200,9 @@ static void set_ctrlr_state(struct sa1100fb_info *fbi, u_int state)
* Our LCD controller task (which is called when we blank or unblank) * Our LCD controller task (which is called when we blank or unblank)
* via keventd. * via keventd.
*/ */
static void sa1100fb_task(void *dummy) static void sa1100fb_task(struct work_struct *w)
{ {
struct sa1100fb_info *fbi = dummy; struct sa1100fb_info *fbi = container_of(w, struct sa1100fb_info, task);
u_int state = xchg(&fbi->task_state, -1); u_int state = xchg(&fbi->task_state, -1);
set_ctrlr_state(fbi, state); set_ctrlr_state(fbi, state);
...@@ -1444,7 +1444,7 @@ static struct sa1100fb_info * __init sa1100fb_init_fbinfo(struct device *dev) ...@@ -1444,7 +1444,7 @@ static struct sa1100fb_info * __init sa1100fb_init_fbinfo(struct device *dev)
fbi->max_bpp / 8; fbi->max_bpp / 8;
init_waitqueue_head(&fbi->ctrlr_wait); init_waitqueue_head(&fbi->ctrlr_wait);
INIT_WORK(&fbi->task, sa1100fb_task, fbi); INIT_WORK(&fbi->task, sa1100fb_task);
init_MUTEX(&fbi->ctrlr_sem); init_MUTEX(&fbi->ctrlr_sem);
return fbi; return fbi;
......
...@@ -24,8 +24,5 @@ ...@@ -24,8 +24,5 @@
#define PBI_CF_IDE_BASE (IQ81340_CMP_FLSH) #define PBI_CF_IDE_BASE (IQ81340_CMP_FLSH)
#define PBI_CF_BAR_ADDR (IOP13XX_PBI_BAR1) #define PBI_CF_BAR_ADDR (IOP13XX_PBI_BAR1)
/* These are the values used in the Machine description */
#define PHYS_IO 0xfeffff00
#define IO_PG_OFFSET 0xffffff00
#define BOOT_PARAM_OFFSET 0x00000100
#endif /* _IQ81340_H_ */ #endif /* _IQ81340_H_ */
...@@ -41,21 +41,7 @@ ...@@ -41,21 +41,7 @@
data = *((volatile int *)IXP23XX_PCI_SDRAM_BAR); \ data = *((volatile int *)IXP23XX_PCI_SDRAM_BAR); \
__phys_to_virt((((b - (data & 0xfffffff0)) + 0x00000000))); }) __phys_to_virt((((b - (data & 0xfffffff0)) + 0x00000000))); })
/* #define arch_is_coherent() 1
* Coherency support. Only supported on A2 CPUs or on A1
* systems that have the cache coherency workaround.
*/
static inline int __ixp23xx_arch_is_coherent(void)
{
extern unsigned int processor_id;
if (((processor_id & 15) >= 4) || machine_is_roadrunner())
return 1;
return 0;
}
#define arch_is_coherent() __ixp23xx_arch_is_coherent()
#endif #endif
......
/* linux/include/asm-arm/arch-s3c2410/anubis-cpld.h /* linux/include/asm-arm/arch-s3c2410/anubis-cpld.h
* *
* (c) 2005 Simtec Electronics * Copyright (c) 2005 Simtec Electronics
* http://www.simtec.co.uk/products/ * http://www.simtec.co.uk/products/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/anubis-irq.h /* linux/include/asm-arm/arch-s3c2410/anubis-irq.h
* *
* (c) 2005 Simtec Electronics * Copyright (c) 2005 Simtec Electronics
* http://www.simtec.co.uk/products/ * http://www.simtec.co.uk/products/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/anubis-map.h /* linux/include/asm-arm/arch-s3c2410/anubis-map.h
* *
* (c) 2005 Simtec Electronics * Copyright (c) 2005 Simtec Electronics
* http://www.simtec.co.uk/products/ * http://www.simtec.co.uk/products/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/audio.h /* linux/include/asm-arm/arch-s3c2410/audio.h
* *
* (c) 2004-2005 Simtec Electronics * Copyright (c) 2004-2005 Simtec Electronics
* http://www.simtec.co.uk/products/SWLINUX/ * http://www.simtec.co.uk/products/SWLINUX/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/bast-cpld.h /* linux/include/asm-arm/arch-s3c2410/bast-cpld.h
* *
* (c) 2003,2004 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* BAST - CPLD control constants * BAST - CPLD control constants
* *
......
/* linux/include/asm-arm/arch-s3c2410/bast-irq.h /* linux/include/asm-arm/arch-s3c2410/bast-irq.h
* *
* (c) 2003,2004 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* Machine BAST - IRQ Number definitions * Machine BAST - IRQ Number definitions
* *
......
/* linux/include/asm-arm/arch-s3c2410/bast-map.h /* linux/include/asm-arm/arch-s3c2410/bast-map.h
* *
* (c) 2003,2004 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* Machine BAST - Memory map definitions * Machine BAST - Memory map definitions
* *
......
/* linux/include/asm-arm/arch-s3c2410/bast-pmu.h /* linux/include/asm-arm/arch-s3c2410/bast-pmu.h
* *
* (c) 2003,2004 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* Vincent Sanders <vince@simtec.co.uk> * Vincent Sanders <vince@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/h1940-latch.h /* linux/include/asm-arm/arch-s3c2410/h1940-latch.h
* *
* (c) 2005 Simtec Electronics * Copyright (c) 2005 Simtec Electronics
* http://armlinux.simtec.co.uk/ * http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#define H1940_LATCH ((void __iomem *)0xF8000000) #define H1940_LATCH ((void __force __iomem *)0xF8000000)
#else #else
#define H1940_LATCH 0xF8000000 #define H1940_LATCH 0xF8000000
#endif #endif
......
/* linux/include/asm-arm/arch-s3c2410/hardware.h /* linux/include/asm-arm/arch-s3c2410/hardware.h
* *
* (c) 2003 Simtec Electronics * Copyright (c) 2003 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - hardware * S3C2410 - hardware
* *
......
/* linux/include/asm-arm/arch-s3c2410/iic.h /* linux/include/asm-arm/arch-s3c2410/iic.h
* *
* (c) 2004 Simtec Electronics * Copyright (c) 2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - I2C Controller platfrom_device info * S3C2410 - I2C Controller platfrom_device info
......
/* linux/include/asm-arm/arch-s3c2410/leds-gpio.h /* linux/include/asm-arm/arch-s3c2410/leds-gpio.h
* *
* (c) 2006 Simtec Electronics * Copyright (c) 2006 Simtec Electronics
* http://armlinux.simtec.co.uk/ * http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
/* linux/include/asm-arm/arch-s3c2410/map.h /* linux/include/asm-arm/arch-s3c2410/map.h
* *
* (c) 2003 Simtec Electronics * Copyright (c) 2003 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - Memory map definitions * S3C2410 - Memory map definitions
* *
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
*/ */
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#define S3C2410_ADDR(x) ((void __iomem *)0xF0000000 + (x)) #define S3C2410_ADDR(x) ((void __iomem __force *)0xF0000000 + (x))
#else #else
#define S3C2410_ADDR(x) (0xF0000000 + (x)) #define S3C2410_ADDR(x) (0xF0000000 + (x))
#endif #endif
...@@ -47,73 +47,65 @@ ...@@ -47,73 +47,65 @@
#define S3C24XX_SZ_MEMCTRL SZ_1M #define S3C24XX_SZ_MEMCTRL SZ_1M
/* USB host controller */ /* USB host controller */
#define S3C24XX_VA_USBHOST S3C2410_ADDR(0x00200000)
#define S3C2400_PA_USBHOST (0x14200000) #define S3C2400_PA_USBHOST (0x14200000)
#define S3C2410_PA_USBHOST (0x49000000) #define S3C2410_PA_USBHOST (0x49000000)
#define S3C24XX_SZ_USBHOST SZ_1M #define S3C24XX_SZ_USBHOST SZ_1M
/* DMA controller */ /* DMA controller */
#define S3C24XX_VA_DMA S3C2410_ADDR(0x00300000)
#define S3C2400_PA_DMA (0x14600000) #define S3C2400_PA_DMA (0x14600000)
#define S3C2410_PA_DMA (0x4B000000) #define S3C2410_PA_DMA (0x4B000000)
#define S3C24XX_SZ_DMA SZ_1M #define S3C24XX_SZ_DMA SZ_1M
/* Clock and Power management */ /* Clock and Power management */
#define S3C24XX_VA_CLKPWR S3C2410_ADDR(0x00400000) #define S3C24XX_VA_CLKPWR S3C2410_ADDR(0x00200000)
#define S3C2400_PA_CLKPWR (0x14800000) #define S3C2400_PA_CLKPWR (0x14800000)
#define S3C2410_PA_CLKPWR (0x4C000000) #define S3C2410_PA_CLKPWR (0x4C000000)
#define S3C24XX_SZ_CLKPWR SZ_1M #define S3C24XX_SZ_CLKPWR SZ_1M
/* LCD controller */ /* LCD controller */
#define S3C24XX_VA_LCD S3C2410_ADDR(0x00600000) #define S3C24XX_VA_LCD S3C2410_ADDR(0x00300000)
#define S3C2400_PA_LCD (0x14A00000) #define S3C2400_PA_LCD (0x14A00000)
#define S3C2410_PA_LCD (0x4D000000) #define S3C2410_PA_LCD (0x4D000000)
#define S3C24XX_SZ_LCD SZ_1M #define S3C24XX_SZ_LCD SZ_1M
/* NAND flash controller */ /* NAND flash controller */
#define S3C24XX_VA_NAND S3C2410_ADDR(0x00700000)
#define S3C2410_PA_NAND (0x4E000000) #define S3C2410_PA_NAND (0x4E000000)
#define S3C24XX_SZ_NAND SZ_1M #define S3C24XX_SZ_NAND SZ_1M
/* MMC controller - available on the S3C2400 */ /* MMC controller - available on the S3C2400 */
#define S3C2400_VA_MMC S3C2400_ADDR(0x00700000)
#define S3C2400_PA_MMC (0x15A00000) #define S3C2400_PA_MMC (0x15A00000)
#define S3C2400_SZ_MMC SZ_1M #define S3C2400_SZ_MMC SZ_1M
/* UARTs */ /* UARTs */
#define S3C24XX_VA_UART S3C2410_ADDR(0x00800000) #define S3C24XX_VA_UART S3C2410_ADDR(0x00400000)
#define S3C2400_PA_UART (0x15000000) #define S3C2400_PA_UART (0x15000000)
#define S3C2410_PA_UART (0x50000000) #define S3C2410_PA_UART (0x50000000)
#define S3C24XX_SZ_UART SZ_1M #define S3C24XX_SZ_UART SZ_1M
/* Timers */ /* Timers */
#define S3C24XX_VA_TIMER S3C2410_ADDR(0x00900000) #define S3C24XX_VA_TIMER S3C2410_ADDR(0x00500000)
#define S3C2400_PA_TIMER (0x15100000) #define S3C2400_PA_TIMER (0x15100000)
#define S3C2410_PA_TIMER (0x51000000) #define S3C2410_PA_TIMER (0x51000000)
#define S3C24XX_SZ_TIMER SZ_1M #define S3C24XX_SZ_TIMER SZ_1M
/* USB Device port */ /* USB Device port */
#define S3C24XX_VA_USBDEV S3C2410_ADDR(0x00A00000) #define S3C24XX_VA_USBDEV S3C2410_ADDR(0x00600000)
#define S3C2400_PA_USBDEV (0x15200140) #define S3C2400_PA_USBDEV (0x15200140)
#define S3C2410_PA_USBDEV (0x52000000) #define S3C2410_PA_USBDEV (0x52000000)
#define S3C24XX_SZ_USBDEV SZ_1M #define S3C24XX_SZ_USBDEV SZ_1M
/* Watchdog */ /* Watchdog */
#define S3C24XX_VA_WATCHDOG S3C2410_ADDR(0x00B00000) #define S3C24XX_VA_WATCHDOG S3C2410_ADDR(0x00700000)
#define S3C2400_PA_WATCHDOG (0x15300000) #define S3C2400_PA_WATCHDOG (0x15300000)
#define S3C2410_PA_WATCHDOG (0x53000000) #define S3C2410_PA_WATCHDOG (0x53000000)
#define S3C24XX_SZ_WATCHDOG SZ_1M #define S3C24XX_SZ_WATCHDOG SZ_1M
/* IIC hardware controller */ /* IIC hardware controller */
#define S3C24XX_VA_IIC S3C2410_ADDR(0x00C00000)
#define S3C2400_PA_IIC (0x15400000) #define S3C2400_PA_IIC (0x15400000)
#define S3C2410_PA_IIC (0x54000000) #define S3C2410_PA_IIC (0x54000000)
#define S3C24XX_SZ_IIC SZ_1M #define S3C24XX_SZ_IIC SZ_1M
#define VA_IIC_BASE (S3C24XX_VA_IIC)
/* IIS controller */ /* IIS controller */
#define S3C24XX_VA_IIS S3C2410_ADDR(0x00D00000)
#define S3C2400_PA_IIS (0x15508000) #define S3C2400_PA_IIS (0x15508000)
#define S3C2410_PA_IIS (0x55000000) #define S3C2410_PA_IIS (0x55000000)
#define S3C24XX_SZ_IIS SZ_1M #define S3C24XX_SZ_IIS SZ_1M
...@@ -134,25 +126,21 @@ ...@@ -134,25 +126,21 @@
#define S3C24XX_SZ_GPIO SZ_1M #define S3C24XX_SZ_GPIO SZ_1M
/* RTC */ /* RTC */
#define S3C24XX_VA_RTC S3C2410_ADDR(0x00F00000)
#define S3C2400_PA_RTC (0x15700040) #define S3C2400_PA_RTC (0x15700040)
#define S3C2410_PA_RTC (0x57000000) #define S3C2410_PA_RTC (0x57000000)
#define S3C24XX_SZ_RTC SZ_1M #define S3C24XX_SZ_RTC SZ_1M
/* ADC */ /* ADC */
#define S3C24XX_VA_ADC S3C2410_ADDR(0x01000000)
#define S3C2400_PA_ADC (0x15800000) #define S3C2400_PA_ADC (0x15800000)
#define S3C2410_PA_ADC (0x58000000) #define S3C2410_PA_ADC (0x58000000)
#define S3C24XX_SZ_ADC SZ_1M #define S3C24XX_SZ_ADC SZ_1M
/* SPI */ /* SPI */
#define S3C24XX_VA_SPI S3C2410_ADDR(0x01100000)
#define S3C2400_PA_SPI (0x15900000) #define S3C2400_PA_SPI (0x15900000)
#define S3C2410_PA_SPI (0x59000000) #define S3C2410_PA_SPI (0x59000000)
#define S3C24XX_SZ_SPI SZ_1M #define S3C24XX_SZ_SPI SZ_1M
/* SDI */ /* SDI */
#define S3C24XX_VA_SDI S3C2410_ADDR(0x01200000)
#define S3C2410_PA_SDI (0x5A000000) #define S3C2410_PA_SDI (0x5A000000)
#define S3C24XX_SZ_SDI SZ_1M #define S3C24XX_SZ_SDI SZ_1M
......
/* linux/include/asm-arm/arch-s3c2410/nand.h /* linux/include/asm-arm/arch-s3c2410/nand.h
* *
* (c) 2004 Simtec Electronics * Copyright (c) 2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - NAND device controller platfrom_device info * S3C2410 - NAND device controller platfrom_device info
* *
......
/* linux/include/asm-arm/arch-s3c2410/osiris-cpld.h /* linux/include/asm-arm/arch-s3c2410/osiris-cpld.h
* *
* (c) 2005 Simtec Electronics * Copyright (c) 2005 Simtec Electronics
* http://www.simtec.co.uk/products/ * http://www.simtec.co.uk/products/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
......
...@@ -197,7 +197,7 @@ struct s3c2410_uartcfg { ...@@ -197,7 +197,7 @@ struct s3c2410_uartcfg {
unsigned char hwport; /* hardware port number */ unsigned char hwport; /* hardware port number */
unsigned char unused; unsigned char unused;
unsigned short flags; unsigned short flags;
unsigned long uart_flags; /* default uart flags */ upf_t uart_flags; /* default uart flags */
unsigned long ucon; /* value of ucon for port */ unsigned long ucon; /* value of ucon for port */
unsigned long ulcon; /* value of ulcon for port */ unsigned long ulcon; /* value of ulcon for port */
......
/* linux/include/asm-arm/arch-s3c2410/system.h /* linux/include/asm-arm/arch-s3c2410/system.h
* *
* (c) 2003 Simtec Electronics * Copyright (c) 2003 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - System function defines and includes * S3C2410 - System function defines and includes
* *
......
/* linux/include/asm-arm/arch-s3c2410/timex.h /* linux/include/asm-arm/arch-s3c2410/timex.h
* *
* (c) 2003-2005 Simtec Electronics * Copyright (c) 2003-2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - time parameters * S3C2410 - time parameters
* *
......
/* linux/include/asm-arm/arch-s3c2410/uncompress.h /* linux/include/asm-arm/arch-s3c2410/uncompress.h
* *
* (c) 2003 Simtec Electronics * Copyright (c) 2003 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - uncompress code * S3C2410 - uncompress code
* *
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#ifndef __ASM_ARCH_UNCOMPRESS_H #ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H #define __ASM_ARCH_UNCOMPRESS_H
typedef unsigned int upf_t; /* cannot include linux/serial_core.h */
/* defines for UART registers */ /* defines for UART registers */
#include "asm/arch/regs-serial.h" #include "asm/arch/regs-serial.h"
......
/* linux/include/asm-arm/arch-s3c2410/usb-control.h /* linux/include/asm-arm/arch-s3c2410/usb-control.h
* *
* (c) 2004 Simtec Electronics * Copyright (c) 2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* S3C2410 - usb port information * S3C2410 - usb port information
* *
......
/* linux/include/asm-arm/arch-s3c2410/vr1000-cpld.h /* linux/include/asm-arm/arch-s3c2410/vr1000-cpld.h
* *
* (c) 2003 Simtec Electronics * Copyright (c) 2003 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* VR1000 - CPLD control constants * VR1000 - CPLD control constants
* *
......
/* linux/include/asm-arm/arch-s3c2410/vr1000-irq.h /* linux/include/asm-arm/arch-s3c2410/vr1000-irq.h
* *
* (c) 2003,2004 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* Machine VR1000 - IRQ Number definitions * Machine VR1000 - IRQ Number definitions
* *
......
/* linux/include/asm-arm/arch-s3c2410/vr1000-map.h /* linux/include/asm-arm/arch-s3c2410/vr1000-map.h
* *
* (c) 2003-2005 Simtec Electronics * Copyright (c) 2003-2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* Machine VR1000 - Memory map definitions * Machine VR1000 - Memory map definitions
* *
......
...@@ -52,6 +52,7 @@ typedef struct user_fp elf_fpregset_t; ...@@ -52,6 +52,7 @@ typedef struct user_fp elf_fpregset_t;
#define HWCAP_EDSP 128 #define HWCAP_EDSP 128
#define HWCAP_JAVA 256 #define HWCAP_JAVA 256
#define HWCAP_IWMMXT 512 #define HWCAP_IWMMXT 512
#define HWCAP_CRUNCH 1024
#ifdef __KERNEL__ #ifdef __KERNEL__
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/irqflags.h>
struct thread_info; struct thread_info;
struct task_struct; struct task_struct;
...@@ -139,6 +140,9 @@ static inline int cpu_is_xsc3(void) ...@@ -139,6 +140,9 @@ static inline int cpu_is_xsc3(void)
#define cpu_is_xscale() 1 #define cpu_is_xscale() 1
#endif #endif
extern unsigned long cr_no_alignment; /* defined in entry-armv.S */
extern unsigned long cr_alignment; /* defined in entry-armv.S */
static inline unsigned int get_cr(void) static inline unsigned int get_cr(void)
{ {
unsigned int val; unsigned int val;
...@@ -152,6 +156,10 @@ static inline void set_cr(unsigned int val) ...@@ -152,6 +156,10 @@ static inline void set_cr(unsigned int val)
: : "r" (val) : "cc"); : : "r" (val) : "cc");
} }
#ifndef CONFIG_SMP
extern void adjust_cr(unsigned long mask, unsigned long set);
#endif
#define CPACC_FULL(n) (3 << (n * 2)) #define CPACC_FULL(n) (3 << (n * 2))
#define CPACC_SVC(n) (1 << (n * 2)) #define CPACC_SVC(n) (1 << (n * 2))
#define CPACC_DISABLE(n) (0 << (n * 2)) #define CPACC_DISABLE(n) (0 << (n * 2))
...@@ -170,29 +178,6 @@ static inline void set_copro_access(unsigned int val) ...@@ -170,29 +178,6 @@ static inline void set_copro_access(unsigned int val)
: : "r" (val) : "cc"); : : "r" (val) : "cc");
} }
extern unsigned long cr_no_alignment; /* defined in entry-armv.S */
extern unsigned long cr_alignment; /* defined in entry-armv.S */
#ifndef CONFIG_SMP
static inline void adjust_cr(unsigned long mask, unsigned long set)
{
unsigned long flags, cr;
mask &= ~CR_A;
set &= mask;
local_irq_save(flags);
cr_no_alignment = (cr_no_alignment & ~mask) | set;
cr_alignment = (cr_alignment & ~mask) | set;
set_cr((get_cr() & ~mask) | set);
local_irq_restore(flags);
}
#endif
#define UDBG_UNDEFINED (1 << 0) #define UDBG_UNDEFINED (1 << 0)
#define UDBG_SYSCALL (1 << 1) #define UDBG_SYSCALL (1 << 1)
#define UDBG_BADABORT (1 << 2) #define UDBG_BADABORT (1 << 2)
...@@ -248,8 +233,6 @@ static inline void sched_cacheflush(void) ...@@ -248,8 +233,6 @@ static inline void sched_cacheflush(void)
{ {
} }
#include <linux/irqflags.h>
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#define smp_mb() mb() #define smp_mb() mb()
......
...@@ -360,6 +360,18 @@ ...@@ -360,6 +360,18 @@
#define __NR_readlinkat (__NR_SYSCALL_BASE+332) #define __NR_readlinkat (__NR_SYSCALL_BASE+332)
#define __NR_fchmodat (__NR_SYSCALL_BASE+333) #define __NR_fchmodat (__NR_SYSCALL_BASE+333)
#define __NR_faccessat (__NR_SYSCALL_BASE+334) #define __NR_faccessat (__NR_SYSCALL_BASE+334)
/* 335 for pselect6 */
/* 336 for ppoll */
#define __NR_unshare (__NR_SYSCALL_BASE+337)
#define __NR_set_robust_list (__NR_SYSCALL_BASE+338)
#define __NR_get_robust_list (__NR_SYSCALL_BASE+339)
#define __NR_splice (__NR_SYSCALL_BASE+340)
#define __NR_arm_sync_file_range (__NR_SYSCALL_BASE+341)
#define __NR_tee (__NR_SYSCALL_BASE+342)
#define __NR_vmsplice (__NR_SYSCALL_BASE+343)
#define __NR_move_pages (__NR_SYSCALL_BASE+344)
#define __NR_getcpu (__NR_SYSCALL_BASE+345)
/* 346 for epoll_pwait */
/* /*
* The following SWIs are ARM private. * The following SWIs are ARM private.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment