summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-05-29 07:33:40 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-29 07:33:40 -0700
commit5c105f7dff10a03248a5984169c2fafec632541e (patch)
tree31e6944520c0247ab7980b55fc05b574d5a158f1
parent37d33e67c551407bed17424ee2dc6964846f3762 (diff)
parent4ae2eb603c14dd174f5d77a2021814af06306db5 (diff)
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux
-rw-r--r--arch/arm/boot/compressed/misc.c2
-rw-r--r--arch/arm/config.in20
-rw-r--r--arch/arm/def-configs/adi_evb4
-rw-r--r--arch/arm/def-configs/adsbitsy2
-rw-r--r--arch/arm/def-configs/anakin246
-rw-r--r--arch/arm/def-configs/assabet9
-rw-r--r--arch/arm/def-configs/badge41
-rw-r--r--arch/arm/def-configs/brutus2
-rw-r--r--arch/arm/def-configs/cerfcube6
-rw-r--r--arch/arm/def-configs/cerfpda6
-rw-r--r--arch/arm/def-configs/cerfpod6
-rw-r--r--arch/arm/def-configs/empeg2
-rw-r--r--arch/arm/def-configs/epxa10db2
-rw-r--r--arch/arm/def-configs/flexanet4
-rw-r--r--arch/arm/def-configs/freebird4
-rw-r--r--arch/arm/def-configs/freebird_new2
-rw-r--r--arch/arm/def-configs/graphicsclient2
-rw-r--r--arch/arm/def-configs/graphicsmaster2
-rw-r--r--arch/arm/def-configs/huw_webpanel4
-rw-r--r--arch/arm/def-configs/iq803102
-rw-r--r--arch/arm/def-configs/jornada7202
-rw-r--r--arch/arm/def-configs/lusl7200381
-rw-r--r--arch/arm/def-configs/neponset7
-rw-r--r--arch/arm/def-configs/omnimeter2
-rw-r--r--arch/arm/def-configs/pangolin4
-rw-r--r--arch/arm/def-configs/pfs168_mqtft3
-rw-r--r--arch/arm/def-configs/pfs168_mqvga3
-rw-r--r--arch/arm/def-configs/pfs168_sastn3
-rw-r--r--arch/arm/def-configs/pfs168_satft3
-rw-r--r--arch/arm/def-configs/pleb4
-rw-r--r--arch/arm/def-configs/sherman2
-rw-r--r--arch/arm/def-configs/victor206
-rw-r--r--arch/arm/kernel/entry-armv.S15
-rw-r--r--arch/arm/kernel/process.c20
-rw-r--r--arch/arm/kernel/setup.c4
-rw-r--r--arch/arm/mach-adifcc/arch.c17
-rw-r--r--arch/arm/mach-anakin/arch.c15
-rw-r--r--arch/arm/mach-clps711x/cdb89712.c7
-rw-r--r--arch/arm/mach-epxa10db/arch.c20
-rw-r--r--arch/arm/mach-integrator/arch.c7
-rw-r--r--arch/arm/mach-integrator/cpu.c4
-rw-r--r--arch/arm/mach-iop310/arch.c15
-rw-r--r--arch/arm/mach-l7200/core.c24
-rw-r--r--arch/arm/mach-pxa/idp.c18
-rw-r--r--arch/arm/mach-pxa/lubbock.c14
-rw-r--r--arch/arm/mach-rpc/riscpc.c16
-rw-r--r--arch/arm/mach-sa1100/Makefile2
-rw-r--r--arch/arm/mach-sa1100/adsbitsy.c18
-rw-r--r--arch/arm/mach-sa1100/assabet.c48
-rw-r--r--arch/arm/mach-sa1100/brutus.c17
-rw-r--r--arch/arm/mach-sa1100/cerf.c28
-rw-r--r--arch/arm/mach-sa1100/empeg.c15
-rw-r--r--arch/arm/mach-sa1100/flexanet.c16
-rw-r--r--arch/arm/mach-sa1100/freebird.c14
-rw-r--r--arch/arm/mach-sa1100/generic.c5
-rw-r--r--arch/arm/mach-sa1100/graphicsclient.c18
-rw-r--r--arch/arm/mach-sa1100/graphicsmaster.c19
-rw-r--r--arch/arm/mach-sa1100/huw_webpanel.c17
-rw-r--r--arch/arm/mach-sa1100/itsy.c13
-rw-r--r--arch/arm/mach-sa1100/jornada720.c10
-rw-r--r--arch/arm/mach-sa1100/nanoengine.c10
-rw-r--r--arch/arm/mach-sa1100/omnimeter.c13
-rw-r--r--arch/arm/mach-sa1100/pangolin.c14
-rw-r--r--arch/arm/mach-sa1100/pfs168.c16
-rw-r--r--arch/arm/mach-sa1100/pleb.c19
-rw-r--r--arch/arm/mach-sa1100/sherman.c15
-rw-r--r--arch/arm/mach-sa1100/simpad.c27
-rw-r--r--arch/arm/mach-sa1100/system3.c22
-rw-r--r--arch/arm/mach-sa1100/victor.c80
-rw-r--r--arch/arm/mach-sa1100/xp860.c10
-rw-r--r--arch/arm/mm/init.c3
-rw-r--r--drivers/video/clps711xfb.c28
-rw-r--r--include/asm-arm/atomic.h16
-rw-r--r--include/asm-arm/mach/arch.h3
-rw-r--r--include/asm-arm/proc-armo/processor.h18
-rw-r--r--include/asm-arm/proc-armo/uncompress.h11
-rw-r--r--include/asm-arm/proc-armv/processor.h19
-rw-r--r--include/asm-arm/proc-armv/uncompress.h26
-rw-r--r--include/asm-arm/thread_info.h53
-rw-r--r--include/asm-arm/tlb.h20
80 files changed, 682 insertions, 1125 deletions
diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c
index 9e203e00ab2e..ae09d8d0bf8e 100644
--- a/arch/arm/boot/compressed/misc.c
+++ b/arch/arm/boot/compressed/misc.c
@@ -22,7 +22,6 @@ unsigned int __machine_arch_type;
#include <asm/uaccess.h>
#include <asm/arch/uncompress.h>
-#include <asm/proc/uncompress.h>
#ifdef STANDALONE_DEBUG
#define puts printf
@@ -291,7 +290,6 @@ decompress_kernel(ulg output_start, ulg free_mem_ptr_p, ulg free_mem_ptr_end_p,
free_mem_ptr_end = free_mem_ptr_end_p;
__machine_arch_type = arch_id;
- proc_decomp_setup();
arch_decomp_setup();
makecrc();
diff --git a/arch/arm/config.in b/arch/arm/config.in
index c28c700d43c1..c55faa4fbca7 100644
--- a/arch/arm/config.in
+++ b/arch/arm/config.in
@@ -63,11 +63,6 @@ dep_bool ' ADS Bitsy' CONFIG_SA1100_ADSBITSY $CONFIG_ARCH_SA1100
dep_bool ' Brutus' CONFIG_SA1100_BRUTUS $CONFIG_ARCH_SA1100
dep_bool ' CerfBoard' CONFIG_SA1100_CERF $CONFIG_ARCH_SA1100
if [ "$CONFIG_SA1100_CERF" = "y" ]; then
- choice 'Cerf RAM available' \
- "8MB CONFIG_SA1100_CERF_8MB \
- 16MB CONFIG_SA1100_CERF_16MB \
- 32MB CONFIG_SA1100_CERF_32MB \
- 64MB CONFIG_SA1100_CERF_64MB" CerfRam
choice 'Cerf Flash available' \
"8MB CONFIG_SA1100_CERF_FLASH_8MB \
16MB CONFIG_SA1100_CERF_FLASH_16MB \
@@ -453,7 +448,9 @@ else
fi
comment 'At least one math emulation must be selected'
tristate 'NWFPE math emulation' CONFIG_FPE_NWFPE
-dep_tristate 'FastFPE math emulation (experimental)' CONFIG_FPE_FASTFPE $CONFIG_EXPERIMENTAL
+if [ "$CONFIG_CPU_26" = "n" -a "$CONFIG_CPU_32v3" = "n" ]; then
+ dep_tristate 'FastFPE math emulation (experimental)' CONFIG_FPE_FASTFPE $CONFIG_EXPERIMENTAL
+fi
choice 'Kernel core (/proc/kcore) format' \
"ELF CONFIG_KCORE_ELF \
A.OUT CONFIG_KCORE_AOUT" ELF
@@ -494,15 +491,10 @@ if [ "$CONFIG_ARCH_NETWINDER" = "y" -o \
fi
fi
-if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
+if [ "$CONFIG_CPU_32" = "y" ]; then
define_bool CONFIG_ALIGNMENT_TRAP y
else
- if [ "$CONFIG_CPU_32" = "y" -a \
- "$CONFIG_ARCH_EBSA110" != "y" ]; then
- bool 'Mis-alignment trap handler' CONFIG_ALIGNMENT_TRAP
- else
- define_bool CONFIG_ALIGNMENT_TRAP n
- fi
+ define_bool CONFIG_ALIGNMENT_TRAP n
fi
endmenu
@@ -510,6 +502,8 @@ source drivers/parport/Config.in
if [ "$CONFIG_ALIGNMENT_TRAP" = "y" ]; then
source drivers/mtd/Config.in
+else
+ define_bool CONFIG_MTD n
fi
source drivers/pnp/Config.in
diff --git a/arch/arm/def-configs/adi_evb b/arch/arm/def-configs/adi_evb
index 2a9323fd357a..93cae0c134c4 100644
--- a/arch/arm/def-configs/adi_evb
+++ b/arch/arm/def-configs/adi_evb
@@ -147,7 +147,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/mtdblock1"
+CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/mtdblock1 mem=32M initrd=0xc0800000,3M"
CONFIG_ALIGNMENT_TRAP=y
#
@@ -236,7 +236,7 @@ CONFIG_MTD_ADI_EVB=y
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4192
+CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
#
diff --git a/arch/arm/def-configs/adsbitsy b/arch/arm/def-configs/adsbitsy
index 8de0b2a2bc34..55dd18e03182 100644
--- a/arch/arm/def-configs/adsbitsy
+++ b/arch/arm/def-configs/adsbitsy
@@ -139,7 +139,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="ip=off"
+CONFIG_CMDLINE="ip=off mem=32M root=/dev/ram ramdisk=8192 initrd=0xc0800000,4M"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
diff --git a/arch/arm/def-configs/anakin b/arch/arm/def-configs/anakin
index 8d124e039449..c7aa93108e17 100644
--- a/arch/arm/def-configs/anakin
+++ b/arch/arm/def-configs/anakin
@@ -8,12 +8,21 @@ CONFIG_ARM=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
+# CONFIG_GENERIC_BUST_SPINLOCK is not set
+# CONFIG_GENERIC_ISA_DMA is not set
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
-# CONFIG_OBSOLETE is not set
+
+#
+# General setup
+#
+CONFIG_NET=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_SYSCTL is not set
#
# Loadable module support
@@ -25,17 +34,21 @@ CONFIG_MODULES=y
#
# System Type
#
+# CONFIG_ARCH_ADIFCC is not set
+CONFIG_ARCH_ANAKIN=y
# CONFIG_ARCH_ARCA5K is not set
# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_EBSA110 is not set
-# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_CAMELOT is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_IOP310 is not set
+# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
-# CONFIG_ARCH_CLPS711X is not set
-CONFIG_ARCH_ANAKIN=y
+# CONFIG_ARCH_SHARK is not set
#
# Archimedes/A5000 Implementations
@@ -61,12 +74,19 @@ CONFIG_ARCH_ANAKIN=y
#
# CONFIG_SA1100_ASSABET is not set
# CONFIG_ASSABET_NEPONSET is not set
+# CONFIG_SA1100_ADSBITSY is not set
# CONFIG_SA1100_BRUTUS is not set
# CONFIG_SA1100_CERF is not set
-# CONFIG_SA1100_BITSY is not set
+# CONFIG_SA1100_H3100 is not set
+# CONFIG_SA1100_H3600 is not set
+# CONFIG_SA1100_H3800 is not set
+# CONFIG_SA1100_H3XXX is not set
# CONFIG_SA1100_EXTENEX1 is not set
+# CONFIG_SA1100_FLEXANET is not set
# CONFIG_SA1100_FREEBIRD is not set
# CONFIG_SA1100_GRAPHICSCLIENT is not set
+# CONFIG_SA1100_GRAPHICSMASTER is not set
+# CONFIG_SA1100_BADGE4 is not set
# CONFIG_SA1100_JORNADA720 is not set
# CONFIG_SA1100_HUW_WEBPANEL is not set
# CONFIG_SA1100_ITSY is not set
@@ -75,16 +95,31 @@ CONFIG_ARCH_ANAKIN=y
# CONFIG_SA1100_OMNIMETER is not set
# CONFIG_SA1100_PANGOLIN is not set
# CONFIG_SA1100_PLEB is not set
+# CONFIG_SA1100_PT_SYSTEM3 is not set
+# CONFIG_SA1100_SHANNON is not set
# CONFIG_SA1100_SHERMAN is not set
+# CONFIG_SA1100_SIMPAD is not set
# CONFIG_SA1100_PFS168 is not set
# CONFIG_SA1100_VICTOR is not set
# CONFIG_SA1100_XP860 is not set
# CONFIG_SA1100_YOPY is not set
+# CONFIG_SA1100_STORK is not set
+# CONFIG_SA1100_USB is not set
+# CONFIG_SA1100_USB_NETLINK is not set
+# CONFIG_SA1100_USB_CHAR is not set
+# CONFIG_H3600_SLEEVE is not set
#
# CLPS711X/EP721X Implementations
#
+# CONFIG_ARCH_AUTCPU12 is not set
+# CONFIG_ARCH_CDB89712 is not set
+# CONFIG_ARCH_CLEP7312 is not set
+# CONFIG_ARCH_EDB7211 is not set
# CONFIG_ARCH_P720T is not set
+# CONFIG_ARCH_FORTUNET is not set
+# CONFIG_ARCH_EP7211 is not set
+# CONFIG_ARCH_EP7212 is not set
# CONFIG_ARCH_ACORN is not set
# CONFIG_FOOTBRIDGE is not set
# CONFIG_FOOTBRIDGE_HOST is not set
@@ -97,27 +132,40 @@ CONFIG_CPU_32=y
#
# CONFIG_CPU_32v3 is not set
CONFIG_CPU_32v4=y
+# CONFIG_CPU_32v5 is not set
# CONFIG_CPU_ARM610 is not set
# CONFIG_CPU_ARM710 is not set
# CONFIG_CPU_ARM720T is not set
# CONFIG_CPU_ARM920T is not set
+# CONFIG_CPU_ARM922T is not set
+# CONFIG_CPU_ARM926T is not set
# CONFIG_CPU_ARM1020 is not set
CONFIG_CPU_SA110=y
# CONFIG_CPU_SA1100 is not set
-# CONFIG_DISCONTIGMEM is not set
+# CONFIG_CPU_XSCALE is not set
+# CONFIG_XSCALE_PMU is not set
+
+#
+# Processor Features
+#
#
# General setup
#
+# CONFIG_DISCONTIGMEM is not set
# CONFIG_PCI is not set
# CONFIG_ISA is not set
# CONFIG_ISA_DMA is not set
+# CONFIG_FIQ is not set
+# CONFIG_ZBOOT_ROM is not set
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
-CONFIG_NET=y
-# CONFIG_SYSVIPC is not set
-# CONFIG_BSD_PROCESS_ACCT is not set
-# CONFIG_SYSCTL is not set
+
+#
+# At least one math emulation must be selected
+#
CONFIG_FPE_NWFPE=y
# CONFIG_FPE_FASTFPE is not set
CONFIG_KCORE_ELF=y
@@ -126,9 +174,11 @@ CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
+# CONFIG_PREEMPT is not set
+# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE=""
-# CONFIG_ALIGNMENT_TRAP is not set
+CONFIG_CMDLINE="root=/dev/ram initrd=0xc0800000,4M"
+CONFIG_ALIGNMENT_TRAP=y
#
# Parallel port support
@@ -136,10 +186,16 @@ CONFIG_CMDLINE=""
# CONFIG_PARPORT is not set
#
+# Memory Technology Devices (MTD)
+#
+# CONFIG_MTD is not set
+
+#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
+# CONFIG_PNPBIOS is not set
#
# Block devices
@@ -149,7 +205,9 @@ CONFIG_CMDLINE=""
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
@@ -165,13 +223,14 @@ CONFIG_BLK_DEV_INITRD=y
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
+# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
#
# Networking options
#
# CONFIG_PACKET is not set
-# CONFIG_NETLINK is not set
+# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
@@ -181,17 +240,24 @@ CONFIG_INET=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
+# CONFIG_VLAN_8021Q is not set
#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
+
+#
+# Appletalk devices
+#
+# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
@@ -229,7 +295,13 @@ CONFIG_IRDA=y
# CONFIG_IRLAN is not set
# CONFIG_IRCOMM is not set
# CONFIG_IRDA_ULTRA is not set
-# CONFIG_IRDA_OPTIONS is not set
+
+#
+# IrDA options
+#
+# CONFIG_IRDA_CACHE_LAST_LSAP is not set
+# CONFIG_IRDA_FAST_RR is not set
+# CONFIG_IRDA_DEBUG is not set
#
# Infrared-port device drivers
@@ -242,24 +314,25 @@ CONFIG_IRTTY_SIR=y
# CONFIG_IRPORT_SIR is not set
#
+# Dongle support
+#
+# CONFIG_DONGLE is not set
+
+#
# FIR device drivers
#
+# CONFIG_USB_IRDA is not set
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
-# CONFIG_SA1100_FIR is not set
-
-#
-# Dongle support
-#
-# CONFIG_DONGLE is not set
+# CONFIG_ALI_FIR is not set
+# CONFIG_VLSI_FIR is not set
#
# ATA/IDE/MFM/RLL support
#
# CONFIG_IDE is not set
-# CONFIG_BLK_DEV_IDE_MODES is not set
# CONFIG_BLK_DEV_HD is not set
#
@@ -279,27 +352,73 @@ CONFIG_IRTTY_SIR=y
#
# ISDN subsystem
#
-# CONFIG_ISDN is not set
+# CONFIG_ISDN_BOOL is not set
#
-# Input core support
+# Input device support
#
# CONFIG_INPUT is not set
+# CONFIG_INPUT_KEYBDEV is not set
+# CONFIG_INPUT_MOUSEDEV is not set
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_GAMEPORT is not set
+CONFIG_SOUND_GAMEPORT=y
+# CONFIG_GAMEPORT_NS558 is not set
+# CONFIG_GAMEPORT_L4 is not set
+# CONFIG_INPUT_EMU10K1 is not set
+# CONFIG_GAMEPORT_PCIGAME is not set
+# CONFIG_GAMEPORT_FM801 is not set
+# CONFIG_GAMEPORT_CS461x is not set
+# CONFIG_SERIO is not set
+# CONFIG_SERIO_SERPORT is not set
#
# Character devices
#
CONFIG_VT=y
# CONFIG_VT_CONSOLE is not set
-# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+# CONFIG_SERIAL_8250_CONSOLE is not set
+# CONFIG_SERIAL_8250_EXTENDED is not set
+# CONFIG_SERIAL_8250_MANY_PORTS is not set
+# CONFIG_SERIAL_8250_SHARE_IRQ is not set
+# CONFIG_SERIAL_8250_DETECT_IRQ is not set
+# CONFIG_SERIAL_8250_MULTIPORT is not set
+# CONFIG_SERIAL_8250_RSA is not set
+
+#
+# Non-8250 serial port support
+#
+
+#
+# ARM Serial drivers
+#
+# CONFIG_ATOMWIDE_SERIAL is not set
+# CONFIG_DUALSP_SERIAL is not set
CONFIG_SERIAL_ANAKIN=y
CONFIG_SERIAL_ANAKIN_CONSOLE=y
CONFIG_ANAKIN_DEFAULT_BAUDRATE=115200
-CONFIG_TOUCHSCREEN_ANAKIN=y
+# CONFIG_SERIAL_AMBA is not set
+# CONFIG_SERIAL_AMBA_CONSOLE is not set
+# CONFIG_SERIAL_CLPS711X is not set
+# CONFIG_SERIAL_CLPS711X_CONSOLE is not set
+# CONFIG_SERIAL_21285 is not set
+# CONFIG_SERIAL_21285_OLD is not set
+# CONFIG_SERIAL_21285_CONSOLE is not set
+# CONFIG_SERIAL_UART00 is not set
+# CONFIG_SERIAL_UART00_CONSOLE is not set
+# CONFIG_SERIAL_SA1100 is not set
+# CONFIG_SERIAL_SA1100_CONSOLE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_TOUCHSCREEN_ANAKIN=y
# CONFIG_UNIX98_PTYS is not set
#
@@ -308,19 +427,23 @@ CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_I2C is not set
#
-# Mice
+# L3 serial bus support
#
-# CONFIG_BUSMOUSE is not set
-# CONFIG_MOUSE is not set
+# CONFIG_L3 is not set
+# CONFIG_L3_ALGOBIT is not set
+# CONFIG_L3_BIT_SA1100_GPIO is not set
#
-# Joysticks
+# Other L3 adapters
#
-# CONFIG_JOYSTICK is not set
+# CONFIG_L3_SA1111 is not set
+# CONFIG_BIT_SA1100_GPIO is not set
#
-# Input core support is needed for joysticks
+# Mice
#
+# CONFIG_BUSMOUSE is not set
+# CONFIG_MOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
@@ -350,27 +473,40 @@ CONFIG_SERIAL_CORE_CONSOLE=y
# File systems
#
# CONFIG_QUOTA is not set
+# CONFIG_QFMT_V1 is not set
+# CONFIG_QFMT_V2 is not set
+# CONFIG_QIFACE_COMPAT is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
+# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_JBD is not set
+# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
+# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not set
-# CONFIG_RAMFS is not set
+CONFIG_RAMFS=y
# CONFIG_ISO9660_FS is not set
# CONFIG_JOLIET is not set
+# CONFIG_ZISOFS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_JFS_DEBUG is not set
+# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
+# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_DEBUG is not set
# CONFIG_HPFS_FS is not set
@@ -384,7 +520,6 @@ CONFIG_PROC_FS=y
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
-# CONFIG_SYSV_FS_WRITE is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
@@ -394,13 +529,16 @@ CONFIG_EXT2_FS=y
# Network File Systems
#
# CONFIG_CODA_FS is not set
+# CONFIG_INTERMEZZO_FS is not set
# CONFIG_NFS_FS is not set
# CONFIG_NFS_V3 is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
+# CONFIG_NFSD_TCP is not set
# CONFIG_SUNRPC is not set
# CONFIG_LOCKD is not set
+# CONFIG_EXPORTFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
@@ -411,12 +549,12 @@ CONFIG_EXT2_FS=y
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
+# CONFIG_ZISOFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
-CONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set
@@ -425,7 +563,6 @@ CONFIG_MSDOS_PARTITION=y
#
CONFIG_PC_KEYMAP=y
# CONFIG_VGA_CONSOLE is not set
-CONFIG_FB=y
#
# Frame-buffer support
@@ -433,11 +570,10 @@ CONFIG_FB=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_ACORN is not set
+CONFIG_FB_ANAKIN=y
# CONFIG_FB_CLPS711X is not set
-# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_SA1100 is not set
-CONFIG_FB_ANAKIN=y
-# CONFIG_FB_E1355 is not set
+# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_CFB16=y
@@ -447,19 +583,49 @@ CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#
+# Multimedia Capabilities Port drivers
+#
+# CONFIG_MCP is not set
+# CONFIG_MCP_SA1100 is not set
+# CONFIG_MCP_UCB1200 is not set
+# CONFIG_MCP_UCB1200_AUDIO is not set
+# CONFIG_MCP_UCB1200_TS is not set
+
+#
+# Console Switches
+#
+# CONFIG_SWITCHES is not set
+
+#
# USB support
#
# CONFIG_USB is not set
#
+# Bluetooth support
+#
+# CONFIG_BLUEZ is not set
+
+#
# Kernel hacking
#
# CONFIG_NO_FRAME_POINTER is not set
-CONFIG_DEBUG_ERRORS=y
CONFIG_DEBUG_USER=y
# CONFIG_DEBUG_INFO is not set
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_SLAB is not set
# CONFIG_MAGIC_SYSRQ is not set
-# CONFIG_NO_PGT_CACHE is not set
+# CONFIG_DEBUG_SPINLOCK is not set
+# CONFIG_DEBUG_WAITQ is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_DEBUG_ERRORS is not set
# CONFIG_DEBUG_LL is not set
# CONFIG_DEBUG_DC21285_PORT is not set
# CONFIG_DEBUG_CLPS711X_UART2 is not set
+
+#
+# Library routines
+#
+# CONFIG_CRC32 is not set
+# CONFIG_ZLIB_INFLATE is not set
+# CONFIG_ZLIB_DEFLATE is not set
diff --git a/arch/arm/def-configs/assabet b/arch/arm/def-configs/assabet
index c958476bc7f2..9688b488858c 100644
--- a/arch/arm/def-configs/assabet
+++ b/arch/arm/def-configs/assabet
@@ -157,7 +157,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_PM=y
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE=""
+CONFIG_CMDLINE="mem=32M console=ttySA0,38400n8 initrd=0xc0800000,3M root=/dev/ram"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
@@ -835,6 +835,13 @@ CONFIG_MCP_UCB1200_AUDIO=m
CONFIG_MCP_UCB1200_TS=y
#
+# Console Switches
+#
+CONFIG_SWITCHES=y
+CONFIG_SWITCHES_SA1100=y
+CONFIG_SWITCHES_UCB1X00=y
+
+#
# USB support
#
# CONFIG_USB is not set
diff --git a/arch/arm/def-configs/badge4 b/arch/arm/def-configs/badge4
index ba7c242646b4..954fbbd5b2c7 100644
--- a/arch/arm/def-configs/badge4
+++ b/arch/arm/def-configs/badge4
@@ -527,7 +527,6 @@ CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
-# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
diff --git a/arch/arm/def-configs/brutus b/arch/arm/def-configs/brutus
index 6b90db162c53..b26e7f0fa2aa 100644
--- a/arch/arm/def-configs/brutus
+++ b/arch/arm/def-configs/brutus
@@ -76,7 +76,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="keepinitrd"
+CONFIG_CMDLINE="mem=4M@0xc0000000 mem=4M@0xc8000000 mem=4M@0xd0000000 mem=4M@0xd8000000 keepinitrd root=/dev/ram ramdisk=8192 initrd=0xd8000000,3M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
diff --git a/arch/arm/def-configs/cerfcube b/arch/arm/def-configs/cerfcube
index 2399205b4f76..16a030f0bd6f 100644
--- a/arch/arm/def-configs/cerfcube
+++ b/arch/arm/def-configs/cerfcube
@@ -65,10 +65,6 @@ CONFIG_ARCH_SA1100=y
# CONFIG_SA1100_ADSBITSY is not set
# CONFIG_SA1100_BRUTUS is not set
CONFIG_SA1100_CERF=y
-# CONFIG_SA1100_CERF_8MB is not set
-# CONFIG_SA1100_CERF_16MB is not set
-CONFIG_SA1100_CERF_32MB=y
-# CONFIG_SA1100_CERF_64MB is not set
# CONFIG_SA1100_CERF_FLASH_8MB is not set
CONFIG_SA1100_CERF_FLASH_16MB=y
# CONFIG_SA1100_CERF_FLASH_32MB is not set
@@ -163,7 +159,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttySA0 root=1f03 rw"
+CONFIG_CMDLINE="console=ttySA0 root=/dev/mtdblock3 rw mem=32M"
# CONFIG_PFS168_CMDLINE is not set
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
diff --git a/arch/arm/def-configs/cerfpda b/arch/arm/def-configs/cerfpda
index 0587453db98c..66aeb3d514cc 100644
--- a/arch/arm/def-configs/cerfpda
+++ b/arch/arm/def-configs/cerfpda
@@ -65,10 +65,6 @@ CONFIG_ARCH_SA1100=y
# CONFIG_SA1100_ADSBITSY is not set
# CONFIG_SA1100_BRUTUS is not set
CONFIG_SA1100_CERF=y
-# CONFIG_SA1100_CERF_8MB is not set
-# CONFIG_SA1100_CERF_16MB is not set
-# CONFIG_SA1100_CERF_32MB is not set
-CONFIG_SA1100_CERF_64MB=y
# CONFIG_SA1100_CERF_FLASH_8MB is not set
# CONFIG_SA1100_CERF_FLASH_16MB is not set
CONFIG_SA1100_CERF_FLASH_32MB=y
@@ -163,7 +159,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttySA0 cpufreq_max=221200 root=1f03 rw"
+CONFIG_CMDLINE="console=ttySA0 cpufreq_max=221200 root=/dev/mtdblock3 rw mem=64M"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
diff --git a/arch/arm/def-configs/cerfpod b/arch/arm/def-configs/cerfpod
index a6250a459d9c..565617f2970a 100644
--- a/arch/arm/def-configs/cerfpod
+++ b/arch/arm/def-configs/cerfpod
@@ -65,10 +65,6 @@ CONFIG_ARCH_SA1100=y
# CONFIG_SA1100_ADSBITSY is not set
# CONFIG_SA1100_BRUTUS is not set
CONFIG_SA1100_CERF=y
-# CONFIG_SA1100_CERF_8MB is not set
-# CONFIG_SA1100_CERF_16MB is not set
-CONFIG_SA1100_CERF_32MB=y
-# CONFIG_SA1100_CERF_64MB is not set
# CONFIG_SA1100_CERF_FLASH_8MB is not set
CONFIG_SA1100_CERF_FLASH_16MB=y
# CONFIG_SA1100_CERF_FLASH_32MB is not set
@@ -163,7 +159,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttySA0 root=1f03 rw"
+CONFIG_CMDLINE="console=ttySA0 root=/dev/mtdblock3 rw mem=32M"
# CONFIG_PFS168_CMDLINE is not set
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
diff --git a/arch/arm/def-configs/empeg b/arch/arm/def-configs/empeg
index cd3792b53c28..a4e23dd5be30 100644
--- a/arch/arm/def-configs/empeg
+++ b/arch/arm/def-configs/empeg
@@ -56,7 +56,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_ARTHUR is not set
# CONFIG_PARPORT is not set
-CONFIG_CMDLINE=""
+CONFIG_CMDLINE="mem=4M@0xc0000000 mem=4M@0xc8000000 root=/dev/hda1 initrd=0xd00b0000,320K"
#
# Plug and Play support
diff --git a/arch/arm/def-configs/epxa10db b/arch/arm/def-configs/epxa10db
index 8dd3c9ec5dea..54e099a9c069 100644
--- a/arch/arm/def-configs/epxa10db
+++ b/arch/arm/def-configs/epxa10db
@@ -156,7 +156,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttyUA0,38400 root=/dev/mtdblock0 rw"
+CONFIG_CMDLINE="mem=32M console=ttyUA0,38400 root=/dev/mtdblock0 rw"
CONFIG_ALIGNMENT_TRAP=y
#
diff --git a/arch/arm/def-configs/flexanet b/arch/arm/def-configs/flexanet
index 4a62d6692f40..10fb7db8237c 100644
--- a/arch/arm/def-configs/flexanet
+++ b/arch/arm/def-configs/flexanet
@@ -162,7 +162,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_PM=y
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE=""
+CONFIG_CMDLINE="mem=64M root=/dev/ram initrd=0xc0800000,3M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
@@ -263,7 +263,7 @@ CONFIG_MTD_SA1100=y
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
#
diff --git a/arch/arm/def-configs/freebird b/arch/arm/def-configs/freebird
index dac3c52844f1..bfddb1d2ea57 100644
--- a/arch/arm/def-configs/freebird
+++ b/arch/arm/def-configs/freebird
@@ -131,7 +131,7 @@ CONFIG_BINFMT_MISC=m
CONFIG_PM=y
CONFIG_APM=y
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="mem=32M"
+CONFIG_CMDLINE="mem=32M root=/dev/ram initrd=0xc0800000,3M"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
@@ -202,7 +202,7 @@ CONFIG_MTD_BLOCK=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
#
diff --git a/arch/arm/def-configs/freebird_new b/arch/arm/def-configs/freebird_new
index f0be2526d830..940a3cf28b96 100644
--- a/arch/arm/def-configs/freebird_new
+++ b/arch/arm/def-configs/freebird_new
@@ -131,7 +131,7 @@ CONFIG_BINFMT_ELF=y
CONFIG_PM=y
CONFIG_APM=y
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="noinitrd console=ttySA0 init=/linuxrc root=1f04 mem=32m"
+CONFIG_CMDLINE="noinitrd console=ttySA0 init=/linuxrc root=/dev/mtdblock4 mem=32m"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
diff --git a/arch/arm/def-configs/graphicsclient b/arch/arm/def-configs/graphicsclient
index a51122e66554..f6ad41b49c9f 100644
--- a/arch/arm/def-configs/graphicsclient
+++ b/arch/arm/def-configs/graphicsclient
@@ -146,7 +146,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="ip=off"
+CONFIG_CMDLINE="ip=off mem=16M@0xc0000000 mem=16M@0xc8000000 root=/dev/ram initrd=0xc0800000,4M"
# CONFIG_PFS168_CMDLINE is not set
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
diff --git a/arch/arm/def-configs/graphicsmaster b/arch/arm/def-configs/graphicsmaster
index 0d30d5204bb2..2996f9e0c1fa 100644
--- a/arch/arm/def-configs/graphicsmaster
+++ b/arch/arm/def-configs/graphicsmaster
@@ -139,7 +139,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="ip=off"
+CONFIG_CMDLINE="ip=off mem=16M@0xc0000000 mem=16M@0xc8000000 root=/dev/ram initrd=0xc0800000,4M"
# CONFIG_PFS168_CMDLINE is not set
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
diff --git a/arch/arm/def-configs/huw_webpanel b/arch/arm/def-configs/huw_webpanel
index 65c42c599481..ca639ccf0a41 100644
--- a/arch/arm/def-configs/huw_webpanel
+++ b/arch/arm/def-configs/huw_webpanel
@@ -96,7 +96,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="keepinitrd"
+CONFIG_CMDLINE="keepinitrd mem=32480K root=/dev/ram initrd=0xc0800000,8M"
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
@@ -167,7 +167,7 @@ CONFIG_MTD_BLOCK=y
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
# CONFIG_BLK_DEV_FLASH is not set
diff --git a/arch/arm/def-configs/iq80310 b/arch/arm/def-configs/iq80310
index c4b7c347de86..f5eff90e4214 100644
--- a/arch/arm/def-configs/iq80310
+++ b/arch/arm/def-configs/iq80310
@@ -161,7 +161,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttyS0,115200 ip=bootp"
+CONFIG_CMDLINE="console=ttyS0,115200 ip=bootp mem=32M root=/dev/nfs initrd=0xc0800000,4M"
CONFIG_ALIGNMENT_TRAP=y
#
diff --git a/arch/arm/def-configs/jornada720 b/arch/arm/def-configs/jornada720
index 99ee871438fd..8564ca1f0e21 100644
--- a/arch/arm/def-configs/jornada720
+++ b/arch/arm/def-configs/jornada720
@@ -158,7 +158,7 @@ CONFIG_BINFMT_ELF=y
CONFIG_PM=y
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="keepinitrd"
+CONFIG_CMDLINE="keepinitrd mem=32M"
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
diff --git a/arch/arm/def-configs/lusl7200 b/arch/arm/def-configs/lusl7200
index 176d86302160..d9641682397c 100644
--- a/arch/arm/def-configs/lusl7200
+++ b/arch/arm/def-configs/lusl7200
@@ -2,7 +2,14 @@
# Automatically generated make config: don't edit
#
CONFIG_ARM=y
+# CONFIG_EISA is not set
+# CONFIG_SBUS is not set
+# CONFIG_MCA is not set
CONFIG_UID16=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
+# CONFIG_GENERIC_BUST_SPINLOCK is not set
+# CONFIG_GENERIC_ISA_DMA is not set
#
# Code maturity level options
@@ -10,50 +17,169 @@ CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
#
-# System and Processor Type
+# General setup
#
-# CONFIG_ARCH_ARC is not set
-# CONFIG_ARCH_A5K is not set
-# CONFIG_ARCH_RPC is not set
+# CONFIG_NET is not set
+CONFIG_SYSVIPC=y
+CONFIG_BSD_PROCESS_ACCT=y
+CONFIG_SYSCTL=y
+
+#
+# Loadable module support
+#
+CONFIG_MODULES=y
+# CONFIG_MODVERSIONS is not set
+CONFIG_KMOD=y
+
+#
+# System Type
+#
+# CONFIG_ARCH_ADIFCC is not set
+# CONFIG_ARCH_ANAKIN is not set
+# CONFIG_ARCH_ARCA5K is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_EBSA110 is not set
-# CONFIG_FOOTBRIDGE is not set
+# CONFIG_ARCH_CAMELOT is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_IOP310 is not set
CONFIG_ARCH_L7200=y
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_SHARK is not set
+
+#
+# Archimedes/A5000 Implementations
+#
+
+#
+# Archimedes/A5000 Implementations (select only ONE)
+#
+# CONFIG_ARCH_ARC is not set
+# CONFIG_ARCH_A5K is not set
+
+#
+# Footbridge Implementations
+#
+# CONFIG_ARCH_CATS is not set
+# CONFIG_ARCH_PERSONAL_SERVER is not set
+# CONFIG_ARCH_EBSA285_ADDIN is not set
+# CONFIG_ARCH_EBSA285_HOST is not set
+# CONFIG_ARCH_NETWINDER is not set
+
+#
+# SA11x0 Implementations
+#
+# CONFIG_SA1100_ASSABET is not set
+# CONFIG_ASSABET_NEPONSET is not set
+# CONFIG_SA1100_ADSBITSY is not set
+# CONFIG_SA1100_BRUTUS is not set
+# CONFIG_SA1100_CERF is not set
+# CONFIG_SA1100_H3100 is not set
+# CONFIG_SA1100_H3600 is not set
+# CONFIG_SA1100_H3800 is not set
+# CONFIG_SA1100_H3XXX is not set
+# CONFIG_SA1100_EXTENEX1 is not set
+# CONFIG_SA1100_FLEXANET is not set
+# CONFIG_SA1100_FREEBIRD is not set
+# CONFIG_SA1100_GRAPHICSCLIENT is not set
+# CONFIG_SA1100_GRAPHICSMASTER is not set
+# CONFIG_SA1100_BADGE4 is not set
+# CONFIG_SA1100_JORNADA720 is not set
+# CONFIG_SA1100_HUW_WEBPANEL is not set
+# CONFIG_SA1100_ITSY is not set
+# CONFIG_SA1100_LART is not set
+# CONFIG_SA1100_NANOENGINE is not set
+# CONFIG_SA1100_OMNIMETER is not set
+# CONFIG_SA1100_PANGOLIN is not set
+# CONFIG_SA1100_PLEB is not set
+# CONFIG_SA1100_PT_SYSTEM3 is not set
+# CONFIG_SA1100_SHANNON is not set
+# CONFIG_SA1100_SHERMAN is not set
+# CONFIG_SA1100_SIMPAD is not set
+# CONFIG_SA1100_PFS168 is not set
+# CONFIG_SA1100_VICTOR is not set
+# CONFIG_SA1100_XP860 is not set
+# CONFIG_SA1100_YOPY is not set
+# CONFIG_SA1100_STORK is not set
+# CONFIG_SA1100_USB is not set
+# CONFIG_SA1100_USB_NETLINK is not set
+# CONFIG_SA1100_USB_CHAR is not set
+# CONFIG_H3600_SLEEVE is not set
+
+#
+# CLPS711X/EP721X Implementations
+#
+# CONFIG_ARCH_AUTCPU12 is not set
+# CONFIG_ARCH_CDB89712 is not set
+# CONFIG_ARCH_CLEP7312 is not set
+# CONFIG_ARCH_EDB7211 is not set
+# CONFIG_ARCH_P720T is not set
+# CONFIG_ARCH_FORTUNET is not set
+# CONFIG_ARCH_EP7211 is not set
+# CONFIG_ARCH_EP7212 is not set
# CONFIG_ARCH_ACORN is not set
+# CONFIG_FOOTBRIDGE is not set
+# CONFIG_FOOTBRIDGE_HOST is not set
+# CONFIG_FOOTBRIDGE_ADDIN is not set
CONFIG_CPU_32=y
# CONFIG_CPU_26 is not set
+
+#
+# Processor Type
+#
+# CONFIG_CPU_32v3 is not set
CONFIG_CPU_32v4=y
-CONFIG_CPU_ARM720=y
-CONFIG_ZBOOT_ROM=y
-CONFIG_ZBOOT_ROM_TEXT=0x00010000
-CONFIG_ZBOOT_ROM_BSS=0xf03e0000
-# CONFIG_PCI is not set
-# CONFIG_ISA is not set
-# CONFIG_ISA_DMA is not set
-# CONFIG_SBUS is not set
-# CONFIG_PCMCIA is not set
-# CONFIG_ALIGNMENT_TRAP is not set
+# CONFIG_CPU_32v5 is not set
+# CONFIG_CPU_ARM610 is not set
+# CONFIG_CPU_ARM710 is not set
+CONFIG_CPU_ARM720T=y
+# CONFIG_CPU_ARM920T is not set
+# CONFIG_CPU_ARM922T is not set
+# CONFIG_CPU_ARM926T is not set
+# CONFIG_CPU_ARM1020 is not set
+# CONFIG_CPU_SA110 is not set
+# CONFIG_CPU_SA1100 is not set
+# CONFIG_CPU_XSCALE is not set
+# CONFIG_XSCALE_PMU is not set
#
-# Loadable module support
+# Processor Features
#
-CONFIG_MODULES=y
-# CONFIG_MODVERSIONS is not set
-CONFIG_KMOD=y
+# CONFIG_ARM_THUMB is not set
#
# General setup
#
-# CONFIG_NET is not set
-CONFIG_SYSVIPC=y
-CONFIG_BSD_PROCESS_ACCT=y
-CONFIG_SYSCTL=y
-CONFIG_NWFPE=y
+# CONFIG_DISCONTIGMEM is not set
+# CONFIG_PCI is not set
+# CONFIG_ISA is not set
+# CONFIG_ISA_DMA is not set
+CONFIG_FIQ=y
+CONFIG_ZBOOT_ROM=y
+CONFIG_ZBOOT_ROM_TEXT=00010000
+CONFIG_ZBOOT_ROM_BSS=f03e0000
+# CONFIG_HOTPLUG is not set
+# CONFIG_PCMCIA is not set
+
+#
+# At least one math emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
+# CONFIG_PM is not set
+# CONFIG_PREEMPT is not set
+# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
+CONFIG_CMDLINE="console=tty0 console=ttyLU1,115200 root=/dev/ram initrd=0xf1000000,0x005dac7b mem=32M"
+CONFIG_ALIGNMENT_TRAP=y
#
# Parallel port support
@@ -61,18 +187,16 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PARPORT is not set
#
-# I2O device support
+# Memory Technology Devices (MTD)
#
-# CONFIG_I2O is not set
-# CONFIG_I2O_BLOCK is not set
-# CONFIG_I2O_SCSI is not set
-# CONFIG_I2O_PROC is not set
+# CONFIG_MTD is not set
#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
+# CONFIG_PNPBIOS is not set
#
# Block devices
@@ -81,28 +205,79 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
-# CONFIG_BLK_DEV_LVM is not set
-# CONFIG_BLK_DEV_MD is not set
-# CONFIG_MD_LINEAR is not set
-# CONFIG_MD_STRIPED is not set
CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
#
+# Multi-device support (RAID and LVM)
+#
+# CONFIG_MD is not set
+# CONFIG_BLK_DEV_MD is not set
+# CONFIG_MD_LINEAR is not set
+# CONFIG_MD_RAID0 is not set
+# CONFIG_MD_RAID1 is not set
+# CONFIG_MD_RAID5 is not set
+# CONFIG_MD_MULTIPATH is not set
+# CONFIG_BLK_DEV_LVM is not set
+
+#
+# ATA/IDE/MFM/RLL support
+#
+# CONFIG_IDE is not set
+# CONFIG_BLK_DEV_HD is not set
+
+#
+# SCSI support
+#
+# CONFIG_SCSI is not set
+
+#
+# I2O device support
+#
+# CONFIG_I2O is not set
+# CONFIG_I2O_BLOCK is not set
+# CONFIG_I2O_SCSI is not set
+# CONFIG_I2O_PROC is not set
+
+#
+# ISDN subsystem
+#
+
+#
+# Input device support
+#
+# CONFIG_INPUT is not set
+# CONFIG_INPUT_KEYBDEV is not set
+# CONFIG_INPUT_MOUSEDEV is not set
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_GAMEPORT is not set
+CONFIG_SOUND_GAMEPORT=y
+# CONFIG_GAMEPORT_NS558 is not set
+# CONFIG_GAMEPORT_L4 is not set
+# CONFIG_INPUT_EMU10K1 is not set
+# CONFIG_GAMEPORT_PCIGAME is not set
+# CONFIG_GAMEPORT_FM801 is not set
+# CONFIG_GAMEPORT_CS461x is not set
+# CONFIG_SERIO is not set
+# CONFIG_SERIO_SERPORT is not set
+
+#
# Character devices
#
# CONFIG_VT is not set
-# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
-CONFIG_SERIAL_L7200=y
-CONFIG_SERIAL_L7200_CONSOLE=y
# CONFIG_DIGIEPCA is not set
# CONFIG_DIGI is not set
# CONFIG_ESPSERIAL is not set
@@ -110,11 +285,48 @@ CONFIG_SERIAL_L7200_CONSOLE=y
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
# CONFIG_SYNCLINK is not set
+# CONFIG_SYNCLINKMP is not set
# CONFIG_N_HDLC is not set
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
+# CONFIG_RIO is not set
# CONFIG_STALDRV is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+# CONFIG_SERIAL_8250_CONSOLE is not set
+# CONFIG_SERIAL_8250_EXTENDED is not set
+# CONFIG_SERIAL_8250_MANY_PORTS is not set
+# CONFIG_SERIAL_8250_SHARE_IRQ is not set
+# CONFIG_SERIAL_8250_DETECT_IRQ is not set
+# CONFIG_SERIAL_8250_MULTIPORT is not set
+# CONFIG_SERIAL_8250_RSA is not set
+
+#
+# Non-8250 serial port support
+#
+
+#
+# ARM Serial drivers
+#
+# CONFIG_ATOMWIDE_SERIAL is not set
+# CONFIG_DUALSP_SERIAL is not set
+# CONFIG_SERIAL_ANAKIN is not set
+# CONFIG_SERIAL_ANAKIN_CONSOLE is not set
+# CONFIG_SERIAL_AMBA is not set
+# CONFIG_SERIAL_AMBA_CONSOLE is not set
+# CONFIG_SERIAL_CLPS711X is not set
+# CONFIG_SERIAL_CLPS711X_CONSOLE is not set
+# CONFIG_SERIAL_21285 is not set
+# CONFIG_SERIAL_21285_OLD is not set
+# CONFIG_SERIAL_21285_CONSOLE is not set
+# CONFIG_SERIAL_UART00 is not set
+# CONFIG_SERIAL_UART00_CONSOLE is not set
+# CONFIG_SERIAL_SA1100 is not set
+# CONFIG_SERIAL_SA1100_CONSOLE is not set
# CONFIG_UNIX98_PTYS is not set
#
@@ -123,28 +335,32 @@ CONFIG_SERIAL_L7200_CONSOLE=y
# CONFIG_I2C is not set
#
-# Mice
+# L3 serial bus support
#
-# CONFIG_BUSMOUSE is not set
-# CONFIG_MOUSE is not set
+# CONFIG_L3 is not set
+# CONFIG_L3_ALGOBIT is not set
+# CONFIG_L3_BIT_SA1100_GPIO is not set
#
-# Joysticks
+# Other L3 adapters
+#
+# CONFIG_L3_SA1111 is not set
+# CONFIG_BIT_SA1100_GPIO is not set
+
+#
+# Mice
#
-# CONFIG_JOYSTICK is not set
+# CONFIG_BUSMOUSE is not set
+# CONFIG_MOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
+# CONFIG_INTEL_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
-
-#
-# Video For Linux
-#
-# CONFIG_VIDEO_DEV is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
@@ -153,48 +369,58 @@ CONFIG_SERIAL_L7200_CONSOLE=y
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
-# CONFIG_DRM is not set
-# CONFIG_DRM_TDFX is not set
# CONFIG_AGP is not set
+# CONFIG_DRM is not set
#
-# ATA/IDE/MFM/RLL support
-#
-# CONFIG_IDE is not set
-# CONFIG_BLK_DEV_IDE_MODES is not set
-# CONFIG_BLK_DEV_HD is not set
-
-#
-# SCSI support
+# Multimedia devices
#
-# CONFIG_SCSI is not set
+# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not set
+# CONFIG_QFMT_V1 is not set
+# CONFIG_QFMT_V2 is not set
+# CONFIG_QIFACE_COMPAT is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
+# CONFIG_REISERFS_FS is not set
+# CONFIG_REISERFS_CHECK is not set
+# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_JBD is not set
+# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
+# CONFIG_JFFS_FS is not set
+# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
-# CONFIG_RAMFS is not set
+# CONFIG_TMPFS is not set
+CONFIG_RAMFS=y
# CONFIG_ISO9660_FS is not set
# CONFIG_JOLIET is not set
+# CONFIG_ZISOFS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_JFS_DEBUG is not set
+# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
+# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_DEBUG is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
+# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
@@ -202,21 +428,36 @@ CONFIG_PROC_FS=y
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
-# CONFIG_SYSV_FS_WRITE is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_NCPFS_NLS is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_ZISOFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
-CONFIG_MSDOS_PARTITION=y
+# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set
#
+# Multimedia Capabilities Port drivers
+#
+# CONFIG_MCP is not set
+# CONFIG_MCP_SA1100 is not set
+# CONFIG_MCP_UCB1200 is not set
+# CONFIG_MCP_UCB1200_AUDIO is not set
+# CONFIG_MCP_UCB1200_TS is not set
+
+#
+# Console Switches
+#
+# CONFIG_SWITCHES is not set
+
+#
# USB support
#
# CONFIG_USB is not set
@@ -224,9 +465,23 @@ CONFIG_MSDOS_PARTITION=y
#
# Kernel hacking
#
-CONFIG_FRAME_POINTER=y
-CONFIG_DEBUG_ERRORS=y
+# CONFIG_NO_FRAME_POINTER is not set
CONFIG_DEBUG_USER=y
CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_SLAB is not set
# CONFIG_MAGIC_SYSRQ is not set
-CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_SPINLOCK is not set
+# CONFIG_DEBUG_WAITQ is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_DEBUG_ERRORS is not set
+# CONFIG_DEBUG_LL is not set
+# CONFIG_DEBUG_DC21285_PORT is not set
+# CONFIG_DEBUG_CLPS711X_UART2 is not set
+
+#
+# Library routines
+#
+# CONFIG_CRC32 is not set
+# CONFIG_ZLIB_INFLATE is not set
+# CONFIG_ZLIB_DEFLATE is not set
diff --git a/arch/arm/def-configs/neponset b/arch/arm/def-configs/neponset
index 9f0d085053a4..47d51bcdbd74 100644
--- a/arch/arm/def-configs/neponset
+++ b/arch/arm/def-configs/neponset
@@ -821,6 +821,13 @@ CONFIG_MCP_UCB1200_AUDIO=m
CONFIG_MCP_UCB1200_TS=y
#
+# Console Switches
+#
+CONFIG_SWITCHES=y
+CONFIG_SWITCHES_SA1100=y
+CONFIG_SWITCHES_UCB1X00=y
+
+#
# USB support
#
CONFIG_USB=y
diff --git a/arch/arm/def-configs/omnimeter b/arch/arm/def-configs/omnimeter
index 475b3890588c..8aac5b9c8492 100644
--- a/arch/arm/def-configs/omnimeter
+++ b/arch/arm/def-configs/omnimeter
@@ -100,7 +100,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="keepinitrd"
+CONFIG_CMDLINE="keepinitrd mem=16M root=/dev/ram ramdisk=8192 initrd=0xd0000000,4M"
# CONFIG_LEDS is not set
# CONFIG_ALIGNMENT_TRAP is not set
diff --git a/arch/arm/def-configs/pangolin b/arch/arm/def-configs/pangolin
index 185934d16e2f..7ca6c88676b5 100644
--- a/arch/arm/def-configs/pangolin
+++ b/arch/arm/def-configs/pangolin
@@ -137,7 +137,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="keepinitrd"
+CONFIG_CMDLINE="keepinitrd mem=128M root=/dev/ram initrd=0xc0800000,3M"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
@@ -249,7 +249,7 @@ CONFIG_MTD_SA1100=y
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_INITRD=y
#
diff --git a/arch/arm/def-configs/pfs168_mqtft b/arch/arm/def-configs/pfs168_mqtft
index 8a15c59788cf..3a70e11c1605 100644
--- a/arch/arm/def-configs/pfs168_mqtft
+++ b/arch/arm/def-configs/pfs168_mqtft
@@ -140,8 +140,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="root=/dev/nfs"
-# CONFIG_PFS168_CMDLINE is not set
+CONFIG_CMDLINE="root=/dev/nfs mem=16M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
diff --git a/arch/arm/def-configs/pfs168_mqvga b/arch/arm/def-configs/pfs168_mqvga
index 100429ea6cee..00b56256d0fb 100644
--- a/arch/arm/def-configs/pfs168_mqvga
+++ b/arch/arm/def-configs/pfs168_mqvga
@@ -140,8 +140,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="root=/dev/nfs"
-# CONFIG_PFS168_CMDLINE is not set
+CONFIG_CMDLINE="root=/dev/nfs mem=16M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
diff --git a/arch/arm/def-configs/pfs168_sastn b/arch/arm/def-configs/pfs168_sastn
index add34926e12b..6e0c5081b5e4 100644
--- a/arch/arm/def-configs/pfs168_sastn
+++ b/arch/arm/def-configs/pfs168_sastn
@@ -140,8 +140,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="root=/dev/nfs"
-# CONFIG_PFS168_CMDLINE is not set
+CONFIG_CMDLINE="root=/dev/nfs mem=16M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
diff --git a/arch/arm/def-configs/pfs168_satft b/arch/arm/def-configs/pfs168_satft
index 6824186e96f7..64a50912deb6 100644
--- a/arch/arm/def-configs/pfs168_satft
+++ b/arch/arm/def-configs/pfs168_satft
@@ -140,8 +140,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="root=/dev/nfs"
-# CONFIG_PFS168_CMDLINE is not set
+CONFIG_CMDLINE="root=/dev/nfs mem=16M"
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
CONFIG_LEDS_CPU=y
diff --git a/arch/arm/def-configs/pleb b/arch/arm/def-configs/pleb
index b084595bd006..5eccbbbeae35 100644
--- a/arch/arm/def-configs/pleb
+++ b/arch/arm/def-configs/pleb
@@ -126,7 +126,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_PM is not set
# CONFIG_APM is not set
# CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="console=ttySA0,9600"
+CONFIG_CMDLINE="console=ttySA0,9600 mem=16M@0xc0000000 mem=16M@0xc8000000 root=/dev/ram initrd=0xc0400000,4M"
# CONFIG_PFS168_CMDLINE is not set
# CONFIG_LEDS is not set
CONFIG_ALIGNMENT_TRAP=y
@@ -213,7 +213,7 @@ CONFIG_ALIGNMENT_TRAP=y
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
#
diff --git a/arch/arm/def-configs/sherman b/arch/arm/def-configs/sherman
index e7bcb1cfdec2..2c383cb5112e 100644
--- a/arch/arm/def-configs/sherman
+++ b/arch/arm/def-configs/sherman
@@ -60,7 +60,7 @@ CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_ARTHUR is not set
# CONFIG_PARPORT is not set
-CONFIG_CMDLINE=""
+CONFIG_CMDLINE="mem=64M@0xc0000000 mem=64M@0xc8000000 root=/dev/mtdblock2"
#
# Plug and Play support
diff --git a/arch/arm/def-configs/victor b/arch/arm/def-configs/victor
deleted file mode 100644
index 9232411d83fd..000000000000
--- a/arch/arm/def-configs/victor
+++ /dev/null
@@ -1,206 +0,0 @@
-#
-# Automatically generated make config: don't edit
-#
-CONFIG_ARM=y
-
-#
-# System and processor type
-#
-# CONFIG_ARCH_ARC is not set
-# CONFIG_ARCH_A5K is not set
-# CONFIG_ARCH_RPC is not set
-# CONFIG_ARCH_EBSA110 is not set
-# CONFIG_FOOTBRIDGE is not set
-CONFIG_ARCH_SA1100=y
-CONFIG_CPU_SA1100=y
-# CONFIG_SA1100_BRUTUS is not set
-# CONFIG_SA1100_EMPEG is not set
-# CONFIG_SA1100_ITSY is not set
-# CONFIG_SA1100_PLEB is not set
-CONFIG_SA1100_VICTOR=y
-# CONFIG_VICTOR_BOARD1 is not set
-# CONFIG_ARCH_ACORN is not set
-# CONFIG_ISA_DMA is not set
-CONFIG_CPU_32=y
-# CONFIG_CPU_26 is not set
-# CONFIG_CPU_ARM2 is not set
-# CONFIG_CPU_ARM3 is not set
-# CONFIG_CPU_ARM6 is not set
-# CONFIG_CPU_ARM7 is not set
-CONFIG_CPU_SA110=y
-
-#
-# Code maturity level options
-#
-CONFIG_EXPERIMENTAL=y
-# CONFIG_ALIGNMENT_TRAP is not set
-# CONFIG_TEXT_SECTIONS is not set
-
-#
-# Loadable module support
-#
-CONFIG_MODULES=y
-# CONFIG_MODVERSIONS is not set
-# CONFIG_KMOD is not set
-
-#
-# General setup
-#
-CONFIG_ZBOOT_ROM=y
-CONFIG_ZBOOT_ROM_TEXT=0x00002000
-CONFIG_ZBOOT_ROM_BSS=0xc0200000
-# CONFIG_NET is not set
-# CONFIG_SYSVIPC is not set
-# CONFIG_BSD_PROCESS_ACCT is not set
-# CONFIG_SYSCTL is not set
-CONFIG_NWFPE=y
-# CONFIG_BINFMT_AOUT is not set
-CONFIG_BINFMT_ELF=y
-# CONFIG_BINFMT_MISC is not set
-# CONFIG_ARTHUR is not set
-# CONFIG_PARPORT is not set
-CONFIG_CMDLINE=""
-
-#
-# Plug and Play support
-#
-# CONFIG_PNP is not set
-
-#
-# Block devices
-#
-# CONFIG_BLK_DEV_FD is not set
-CONFIG_BLK_DEV_IDE=y
-
-#
-# Please see Documentation/ide.txt for help/info on IDE drives
-#
-# CONFIG_BLK_DEV_HD_IDE is not set
-# CONFIG_BLK_DEV_IDEDISK is not set
-CONFIG_BLK_DEV_IDECD=y
-# CONFIG_BLK_DEV_IDETAPE is not set
-# CONFIG_BLK_DEV_IDEFLOPPY is not set
-# CONFIG_BLK_DEV_IDESCSI is not set
-# CONFIG_BLK_DEV_CMD640 is not set
-# CONFIG_IDE_CHIPSETS is not set
-# CONFIG_BLK_DEV_LOOP is not set
-# CONFIG_BLK_DEV_MD is not set
-# CONFIG_BLK_DEV_RAM is not set
-# CONFIG_BLK_DEV_XD is not set
-CONFIG_PARIDE_PARPORT=y
-# CONFIG_PARIDE is not set
-# CONFIG_BLK_DEV_HD is not set
-
-#
-# Character devices
-#
-# CONFIG_VT is not set
-CONFIG_SERIAL_SA1100=y
-CONFIG_SERIAL_SA1100_CONSOLE=y
-# CONFIG_SERIAL is not set
-# CONFIG_SERIAL_EXTENDED is not set
-# CONFIG_SERIAL_NONSTANDARD is not set
-# CONFIG_UNIX98_PTYS is not set
-# CONFIG_MOUSE is not set
-# CONFIG_QIC02_TAPE is not set
-# CONFIG_WATCHDOG is not set
-# CONFIG_NVRAM is not set
-# CONFIG_RTC is not set
-
-#
-# Video For Linux
-#
-# CONFIG_VIDEO_DEV is not set
-
-#
-# Joystick support
-#
-# CONFIG_JOYSTICK is not set
-# CONFIG_DTLK is not set
-
-#
-# Ftape, the floppy tape device driver
-#
-# CONFIG_FTAPE is not set
-
-#
-# SCSI support
-#
-# CONFIG_SCSI is not set
-
-#
-# Filesystems
-#
-# CONFIG_QUOTA is not set
-# CONFIG_AUTOFS_FS is not set
-# CONFIG_ADFS_FS is not set
-# CONFIG_AFFS_FS is not set
-# CONFIG_HFS_FS is not set
-# CONFIG_FAT_FS is not set
-# CONFIG_MSDOS_FS is not set
-# CONFIG_UMSDOS_FS is not set
-# CONFIG_VFAT_FS is not set
-CONFIG_ISO9660_FS=y
-CONFIG_JOLIET=y
-# CONFIG_MINIX_FS is not set
-# CONFIG_NTFS_FS is not set
-# CONFIG_HPFS_FS is not set
-# CONFIG_PROC_FS is not set
-# CONFIG_QNX4FS_FS is not set
-# CONFIG_ROMFS_FS is not set
-CONFIG_EXT2_FS=y
-# CONFIG_SYSV_FS is not set
-# CONFIG_UFS_FS is not set
-
-#
-# Partition Types
-#
-# CONFIG_OSF_PARTITION is not set
-# CONFIG_MAC_PARTITION is not set
-# CONFIG_MSDOS_PARTITION is not set
-# CONFIG_SGI_PARTITION is not set
-# CONFIG_SUN_PARTITION is not set
-# CONFIG_AMIGA_PARTITION is not set
-# CONFIG_ACORN_PARTITION is not set
-CONFIG_NLS=y
-
-#
-# Native Language Support
-#
-CONFIG_NLS_CODEPAGE_437=y
-# CONFIG_NLS_CODEPAGE_737 is not set
-# CONFIG_NLS_CODEPAGE_775 is not set
-CONFIG_NLS_CODEPAGE_850=y
-# CONFIG_NLS_CODEPAGE_852 is not set
-# CONFIG_NLS_CODEPAGE_855 is not set
-# CONFIG_NLS_CODEPAGE_857 is not set
-# CONFIG_NLS_CODEPAGE_860 is not set
-# CONFIG_NLS_CODEPAGE_861 is not set
-# CONFIG_NLS_CODEPAGE_862 is not set
-# CONFIG_NLS_CODEPAGE_863 is not set
-# CONFIG_NLS_CODEPAGE_864 is not set
-# CONFIG_NLS_CODEPAGE_865 is not set
-# CONFIG_NLS_CODEPAGE_866 is not set
-# CONFIG_NLS_CODEPAGE_869 is not set
-# CONFIG_NLS_CODEPAGE_874 is not set
-CONFIG_NLS_ISO8859_1=y
-# CONFIG_NLS_ISO8859_2 is not set
-# CONFIG_NLS_ISO8859_3 is not set
-# CONFIG_NLS_ISO8859_4 is not set
-# CONFIG_NLS_ISO8859_5 is not set
-# CONFIG_NLS_ISO8859_6 is not set
-# CONFIG_NLS_ISO8859_7 is not set
-# CONFIG_NLS_ISO8859_8 is not set
-# CONFIG_NLS_ISO8859_9 is not set
-# CONFIG_NLS_ISO8859_15 is not set
-# CONFIG_NLS_KOI8_R is not set
-
-#
-# Kernel hacking
-#
-CONFIG_FRAME_POINTER=y
-CONFIG_DEBUG_ERRORS=y
-CONFIG_DEBUG_USER=y
-# CONFIG_DEBUG_INFO is not set
-# CONFIG_MAGIC_SYSRQ is not set
-# CONFIG_DEBUG_LL is not set
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index b2c4f0e28af5..42e98ca391ea 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -958,20 +958,15 @@ ENTRY(fp_enter)
.text
/*
* Register switch for ARMv3 and ARMv4 processors
- * r0 = previous thread_info, r1 = next thread_info, return previous.
+ * r0 = previous thread_info, r1 = next thread_info
* previous and next are guaranteed not to be the same.
*/
ENTRY(__switch_to)
- stmfd sp!, {r4 - sl, fp, lr} @ Store most regs on stack
- mrs ip, cpsr
- str ip, [sp, #-4]! @ Save cpsr_SVC
- str sp, [r0, #TI_CPU_SAVE] @ Save sp_SVC
- ldr sp, [r1, #TI_CPU_SAVE] @ Get saved sp_SVC
- ldr r2, [r1, #TI_CPU_DOMAIN]
- ldr ip, [sp], #4
+ add ip, r0, #TI_CPU_SAVE
+ ldr r2, [r1, #TI_CPU_DOMAIN]!
+ stmia ip, {r4 - sl, fp, sp, lr} @ Store most regs on stack
mcr p15, 0, r2, c3, c0 @ Set domain register
- msr spsr, ip @ Save tasks CPSR into SPSR for this return
- ldmfd sp!, {r4 - sl, fp, pc}^ @ Load all regs saved previously
+ ldmib r1, {r4 - sl, fp, sp, pc} @ Load all regs saved previously
.section ".text.init",#alloc,#execinstr
/*
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 9d192b98d6d6..ebb2baf14eab 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -185,7 +185,7 @@ void show_regs(struct pt_regs * regs)
get_fs() == get_ds() ? "kernel" : "user");
#if defined(CONFIG_CPU_32)
{
- int ctrl, transbase, dac;
+ unsigned int ctrl, transbase, dac;
__asm__ (
" mrc p15, 0, %0, c1, c0\n"
" mrc p15, 0, %1, c2, c0\n"
@@ -310,23 +310,21 @@ void release_thread(struct task_struct *dead_task)
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
-int copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
- unsigned long unused,
- struct task_struct * p, struct pt_regs * regs)
+int
+copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
+ unsigned long unused, struct task_struct *p, struct pt_regs *regs)
{
+ struct thread_info *thread = p->thread_info;
struct pt_regs *childregs;
- struct cpu_context_save *save;
- childregs = ((struct pt_regs *)((unsigned long)p->thread_info + THREAD_SIZE)) - 1;
+ childregs = ((struct pt_regs *)((unsigned long)thread + THREAD_SIZE - 8)) - 1;
*childregs = *regs;
childregs->ARM_r0 = 0;
childregs->ARM_sp = esp;
- save = ((struct cpu_context_save *)(childregs)) - 1;
- *save = INIT_CSS;
- save->pc |= (unsigned long)ret_from_fork;
-
- p->thread_info->cpu_context = save;
+ memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save));
+ thread->cpu_context.sp = (unsigned long)childregs;
+ thread->cpu_context.pc = (unsigned long)ret_from_fork;
return 0;
}
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 810c732c88a5..007eb8c4ce6e 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -341,7 +341,7 @@ parse_cmdline(struct meminfo *mi, char **cmdline_p, char *from)
*cmdline_p = command_line;
}
-void __init
+static void __init
setup_ramdisk(int doload, int prompt, int image_start, unsigned int rd_sz)
{
#ifdef CONFIG_BLK_DEV_RAM
@@ -359,7 +359,7 @@ setup_ramdisk(int doload, int prompt, int image_start, unsigned int rd_sz)
/*
* initial ram disk
*/
-void __init setup_initrd(unsigned int start, unsigned int size)
+static void __init setup_initrd(unsigned int start, unsigned int size)
{
#ifdef CONFIG_BLK_DEV_INITRD
if (start == 0)
diff --git a/arch/arm/mach-adifcc/arch.c b/arch/arm/mach-adifcc/arch.c
index 3a63bf87c23c..9c715a9635fd 100644
--- a/arch/arm/mach-adifcc/arch.c
+++ b/arch/arm/mach-adifcc/arch.c
@@ -21,27 +21,10 @@
extern void adifcc_map_io(void);
extern void adifcc_init_irq(void);
-static void __init
-fixup_adifcc(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-#ifdef CONFIG_ARCH_ADI_EVB
- mi->bank[0].start = PHYS_OFFSET;
- mi->bank[0].size = (32*1024*1024);
- mi->bank[0].node = 0;
- mi->nr_banks = 1;
-
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( 0xc0800000, 3*1024*1024 );
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
-#endif
-}
-
#ifdef CONFIG_ARCH_ADI_EVB
MACHINE_START(ADI_EVB, "ADI 80200FCC Evaluation Board")
MAINTAINER("MontaVista Software Inc.")
BOOT_MEM(0xc0000000, 0x00400000, 0xff400000)
- FIXUP(fixup_adifcc)
MAPIO(adifcc_map_io)
INITIRQ(adifcc_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-anakin/arch.c b/arch/arm/mach-anakin/arch.c
index ca10ef662031..4adb9cf2e777 100644
--- a/arch/arm/mach-anakin/arch.c
+++ b/arch/arm/mach-anakin/arch.c
@@ -19,28 +19,13 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-#ifndef CONFIG_BLK_DEV_RAM_SIZE
-#define CONFIG_BLK_DEV_RAM_SIZE 4096
-#endif
-
extern void anakin_map_io(void);
extern void genarch_init_irq(void);
-static void __init
-fixup_anakin(struct machine_desc *desc, struct tag *tag,
- char **cmdline, struct meminfo *mi)
-{
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR, 0);
- setup_ramdisk(1, 0, 0, CONFIG_BLK_DEV_RAM_SIZE);
- setup_initrd(0xc0800000, 4 * 1024 * 1024);
-}
-
-
MACHINE_START(ANAKIN, "Anakin")
MAINTAINER("Wookey/Tak-Shing Chan")
BOOT_MEM(0x20000000, 0x40000000, 0xe0000000)
VIDEO(0x80000000, 0x8002db40)
- FIXUP(fixup_anakin)
MAPIO(anakin_map_io)
INITIRQ(genarch_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c
index e93563ba6b8d..1c8cbfec6a73 100644
--- a/arch/arm/mach-clps711x/cdb89712.c
+++ b/arch/arm/mach-clps711x/cdb89712.c
@@ -44,12 +44,6 @@ static struct map_desc cdb89712_io_desc[] __initdata = {
LAST_DESC
};
-static void __init
-fixup_cdb89712(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-}
-
static void __init cdb89712_map_io(void)
{
clps711x_map_io();
@@ -60,7 +54,6 @@ MACHINE_START(CDB89712, "Cirrus-CDB89712")
MAINTAINER("Ray Lehtiniemi")
BOOT_MEM(0xc0000000, 0x80000000, 0xff000000)
BOOT_PARAMS(0xc0000100)
- FIXUP(fixup_cdb89712)
MAPIO(cdb89712_map_io)
INITIRQ(clps711x_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-epxa10db/arch.c b/arch/arm/mach-epxa10db/arch.c
index 78751ff0d5a1..f30d0176784e 100644
--- a/arch/arm/mach-epxa10db/arch.c
+++ b/arch/arm/mach-epxa10db/arch.c
@@ -33,29 +33,9 @@
extern void epxa10db_map_io(void);
extern void epxa10db_init_irq(void);
-
-static void __init
-epxa10db_fixup(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-
- mi->nr_banks = 1;
- mi->bank[0].start = 0;
- mi->bank[0].size = (32*1024*1024);
- mi->bank[0].node = 0;
-
-/*
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd(0xc0200000, 6*1024*1024);
-*/
-}
-
MACHINE_START(CAMELOT, "Altera Epxa10db")
MAINTAINER("Altera Corporation")
BOOT_MEM(0x00000000, 0x7fffc000, 0xffffc000)
- FIXUP(epxa10db_fixup)
MAPIO(epxa10db_map_io)
INITIRQ(epxa10db_init_irq)
-
MACHINE_END
diff --git a/arch/arm/mach-integrator/arch.c b/arch/arm/mach-integrator/arch.c
index ee5e2f3d3d08..38dabe2812c5 100644
--- a/arch/arm/mach-integrator/arch.c
+++ b/arch/arm/mach-integrator/arch.c
@@ -50,9 +50,7 @@ static struct kmi_info integrator_mouse __initdata = {
};
#endif
-static void __init
-integrator_fixup(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
+static int __init integrator_init(void)
{
#ifdef CONFIG_KMI_KEYB
register_kmi(&integrator_keyboard);
@@ -60,11 +58,12 @@ integrator_fixup(struct machine_desc *desc, struct tag *tags,
#endif
}
+__initcall(integrator_init);
+
MACHINE_START(INTEGRATOR, "ARM-Integrator")
MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd")
BOOT_MEM(0x00000000, 0x16000000, 0xf1600000)
BOOT_PARAMS(0x00000100)
- FIXUP(integrator_fixup)
MAPIO(integrator_map_io)
INITIRQ(integrator_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-integrator/cpu.c b/arch/arm/mach-integrator/cpu.c
index 56e615a9dc9f..6a6919adbeed 100644
--- a/arch/arm/mach-integrator/cpu.c
+++ b/arch/arm/mach-integrator/cpu.c
@@ -3,7 +3,7 @@
*
* Copyright (C) 2001 Deep Blue Solutions Ltd.
*
- * $Id: cpu.c,v 1.2 2001/09/22 12:11:17 rmk Exp $
+ * $Id: cpu.c,v 1.4 2002/05/29 11:41:55 rmk Exp $
*
* 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
@@ -121,7 +121,7 @@ static int __init cpu_init(void)
cpu_freq_khz = vco_to_freq(vco, 1);
#ifdef CONFIG_CPU_FREQ
- cpufreq_init(cpu_freq_khz);
+ cpufreq_init(cpu_freq_khz, 1000, 0);
cpufreq_setfunctions(integrator_validatespeed, integrator_setspeed);
#endif
diff --git a/arch/arm/mach-iop310/arch.c b/arch/arm/mach-iop310/arch.c
index 07770654a234..9ff7a4c2963c 100644
--- a/arch/arm/mach-iop310/arch.c
+++ b/arch/arm/mach-iop310/arch.c
@@ -31,21 +31,8 @@ fixup_iq80310(struct machine_desc *desc, struct tag *tags,
{
system_rev = (*(volatile unsigned int*)0xfe830000) & 0x0f;
- if(system_rev)
+ if (system_rev)
system_rev = 0xF;
-
- mi->bank[0].start = PHYS_OFFSET;
- mi->bank[0].size = (32*1024*1024);
- mi->bank[0].node = 0;
- mi->nr_banks = 1;
-
-#ifdef CONFIG_ROOT_NFS
- ROOT_DEV = to_kdev_t(0x00FF); /* /dev/nfs pseudo device */
-#elif defined(CONFIG_BLK_DEV_INITRD)
- setup_ramdisk( 1, 0, 0, CONFIG_BLK_DEV_RAM_SIZE );
- setup_initrd( 0xc0800000, 4*1024*1024 );
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR, 0); /* /dev/ram */
-#endif
}
MACHINE_START(IQ80310, "Cyclone IQ80310")
diff --git a/arch/arm/mach-l7200/core.c b/arch/arm/mach-l7200/core.c
index 39c543705fd0..5377f38f7e32 100644
--- a/arch/arm/mach-l7200/core.c
+++ b/arch/arm/mach-l7200/core.c
@@ -82,33 +82,9 @@ static void __init l7200_map_io(void)
iotable_init(l7200_io_desc);
}
-static void __init
-fixup_l7200(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- mi->nr_banks = 1;
- mi->bank[0].start = PHYS_OFFSET;
- mi->bank[0].size = (32*1024*1024);
- mi->bank[0].node = 0;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, CONFIG_BLK_DEV_RAM_SIZE);
- setup_initrd( __phys_to_virt(0xf1000000), 0x005dac7b);
-
- /* Serial Console COM2 and LCD */
- strcpy( *cmdline, "console=tty0 console=ttyLU1,115200");
-
- /* Serial Console COM1 and LCD */
- //strcpy( *cmdline, "console=tty0 console=ttyLU0,115200");
-
- /* Console on LCD */
- //strcpy( *cmdline, "console=tty0");
-}
-
MACHINE_START(L7200, "LinkUp Systems L7200")
MAINTAINER("Steve Hill / Scott McConnell")
BOOT_MEM(0xf0000000, 0x80040000, 0xd0000000)
- FIXUP(fixup_l7200)
MAPIO(l7200_map_io)
INITIRQ(l7200_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-pxa/idp.c b/arch/arm/mach-pxa/idp.c
index 81e8ff57c493..b17ad93fd160 100644
--- a/arch/arm/mach-pxa/idp.c
+++ b/arch/arm/mach-pxa/idp.c
@@ -68,23 +68,6 @@ static void __init idp_init_irq(void)
pxa_init_irq();
}
-static void __init
-fixup_idp(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-#ifdef PXA_IDP_REV02
- SET_BANK (0, 0xa0000000, 64*1024*1024);
-#else
- SET_BANK (0, 0xa0000000, 32*1024*1024);
-#endif
- mi->nr_banks = 1;
-#if 0
- setup_ramdisk (1, 0, 0, 8192);
- setup_initrd (__phys_to_virt(0xa1000000), 4*1024*1024);
- ROOT_DEV = MKDEV(RAMDISK_MAJOR,0);
-#endif
-}
-
static struct map_desc idp_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
@@ -132,7 +115,6 @@ static void __init idp_map_io(void)
MACHINE_START(PXA_IDP, "Accelent Xscale IDP")
MAINTAINER("Accelent Systems Inc.")
BOOT_MEM(0xa0000000, 0x40000000, 0xfc000000)
- FIXUP(fixup_idp)
MAPIO(idp_map_io)
INITIRQ(idp_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c
index d7909c9992b2..0c30c268cf6f 100644
--- a/arch/arm/mach-pxa/lubbock.c
+++ b/arch/arm/mach-pxa/lubbock.c
@@ -119,19 +119,6 @@ static int __init lubbock_init(void)
__initcall(lubbock_init);
-static void __init
-fixup_lubbock(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK (0, 0xa0000000, 64*1024*1024);
- mi->nr_banks = 1;
-#if 0
- setup_ramdisk (1, 0, 0, 8192);
- setup_initrd (__phys_to_virt(0xa1000000), 4*1024*1024);
- ROOT_DEV = MKDEV(RAMDISK_MAJOR,0);
-#endif
-}
-
static struct map_desc lubbock_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x08000000, 0x00100000, DOMAIN_IO, 0, 1, 0, 0 }, /* CPLD */
@@ -160,7 +147,6 @@ static void __init lubbock_map_io(void)
MACHINE_START(LUBBOCK, "Intel DBPXA250 Development Platform")
MAINTAINER("MontaVista Software Inc.")
BOOT_MEM(0xa0000000, 0x40000000, 0xfc000000)
- FIXUP(fixup_lubbock)
MAPIO(lubbock_map_io)
INITIRQ(lubbock_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c
index 86a4716df444..2b5e5062ab2a 100644
--- a/arch/arm/mach-rpc/riscpc.c
+++ b/arch/arm/mach-rpc/riscpc.c
@@ -60,16 +60,6 @@ __tagtable(ATAG_ACORN, parse_tag_acorn);
#endif
-static void __init
-fixup_riscpc(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- /*
- * RiscPC can't handle half-word loads and stores
- */
- elf_hwcap &= ~HWCAP_HALF;
-}
-
static struct map_desc rpc_io_desc[] __initdata = {
{ SCREEN_BASE, SCREEN_START, 2*1048576, DOMAIN_IO, 0, 1, 0, 0 }, /* VRAM */
{ IO_BASE, IO_START, IO_SIZE , DOMAIN_IO, 0, 1, 0, 0 }, /* IO space */
@@ -80,6 +70,11 @@ static struct map_desc rpc_io_desc[] __initdata = {
void __init rpc_map_io(void)
{
iotable_init(rpc_io_desc);
+
+ /*
+ * RiscPC can't handle half-word loads and stores
+ */
+ elf_hwcap &= ~HWCAP_HALF;
}
MACHINE_START(RISCPC, "Acorn-RiscPC")
@@ -88,7 +83,6 @@ MACHINE_START(RISCPC, "Acorn-RiscPC")
BOOT_PARAMS(0x10000100)
DISABLE_PARPORT(0)
DISABLE_PARPORT(1)
- FIXUP(fixup_riscpc)
MAPIO(rpc_map_io)
INITIRQ(rpc_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/Makefile b/arch/arm/mach-sa1100/Makefile
index 9fb1a8231955..193053c8000d 100644
--- a/arch/arm/mach-sa1100/Makefile
+++ b/arch/arm/mach-sa1100/Makefile
@@ -99,8 +99,6 @@ led-$(CONFIG_SA1100_SIMPAD) += leds-simpad.o
obj-$(CONFIG_SA1100_STORK) += stork.o
export-objs += stork.o
-obj-$(CONFIG_SA1100_VICTOR) += victor.o
-
obj-$(CONFIG_SA1100_XP860) += xp860.o
obj-$(CONFIG_SA1100_YOPY) += yopy.o
diff --git a/arch/arm/mach-sa1100/adsbitsy.c b/arch/arm/mach-sa1100/adsbitsy.c
index 5be77f101af4..baab204a6e8e 100644
--- a/arch/arm/mach-sa1100/adsbitsy.c
+++ b/arch/arm/mach-sa1100/adsbitsy.c
@@ -76,23 +76,6 @@ static void __init adsbitsy_init_irq(void)
sa1100_init_irq();
}
-
-/*
- * Initialization fixup
- */
-
-static void __init
-fixup_adsbitsy(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
-}
-
static struct map_desc adsbitsy_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf4000000, 0x18000000, 0x00800000, DOMAIN_IO, 0, 1, 0, 0 }, /* SA1111 */
@@ -135,7 +118,6 @@ static void __init adsbitsy_map_io(void)
MACHINE_START(ADSBITSY, "ADS Bitsy")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_adsbitsy)
MAPIO(adsbitsy_map_io)
INITIRQ(adsbitsy_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index 5baf092d8a1e..fd8897f1da65 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -162,60 +162,12 @@ static void __init
fixup_assabet(struct machine_desc *desc, struct tag *tags,
char **cmdline, struct meminfo *mi)
{
- struct tag *t = tags;
-
/* This must be done before any call to machine_has_neponset() */
map_sa1100_gpio_regs();
get_assabet_scr();
if (machine_has_neponset())
printk("Neponset expansion board detected\n");
-
- if (t->hdr.tag != ATAG_CORE) {
- t->hdr.tag = ATAG_CORE;
- t->hdr.size = tag_size(tag_core);
- t->u.core.flags = 0;
- t->u.core.pagesize = PAGE_SIZE;
- t->u.core.rootdev = RAMDISK_MAJOR << 8 | 0;
- t = tag_next(t);
-
- t->hdr.tag = ATAG_MEM;
- t->hdr.size = tag_size(tag_mem32);
- t->u.mem.start = 0xc0000000;
- t->u.mem.size = 32 * 1024 * 1024;
- t = tag_next(t);
-
-
- /*
- * Note that Neponset RAM is slower...
- * and still untested.
- * This would be a candidate for
- * _real_ NUMA support.
- */
- if (machine_has_neponset() && 0) {
- t->hdr.tag = ATAG_MEM;
- t->hdr.size = tag_size(tag_mem32);
- t->u.mem.start = 0xd0000000;
- t->u.mem.size = 32 * 1024 * 1024;
- t = tag_next(t);
- }
-
- t->hdr.tag = ATAG_RAMDISK;
- t->hdr.size = tag_size(tag_ramdisk);
- t->u.ramdisk.flags = 1;
- t->u.ramdisk.size = 8192;
- t->u.ramdisk.start = 0;
- t = tag_next(t);
-
- t->hdr.tag = ATAG_INITRD;
- t->hdr.size = tag_size(tag_initrd);
- t->u.initrd.start = 0xc0800000;
- t->u.initrd.size = 3 * 1024 * 1024;
- t = tag_next(t);
-
- t->hdr.tag = ATAG_NONE;
- t->hdr.size = 0;
- }
}
diff --git a/arch/arm/mach-sa1100/brutus.c b/arch/arm/mach-sa1100/brutus.c
index 5ace96e22cb6..fdfe024b10fa 100644
--- a/arch/arm/mach-sa1100/brutus.c
+++ b/arch/arm/mach-sa1100/brutus.c
@@ -21,22 +21,6 @@
#include "generic.h"
-
-static void __init
-fixup_brutus(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 4*1024*1024 );
- SET_BANK( 1, 0xc8000000, 4*1024*1024 );
- SET_BANK( 2, 0xd0000000, 4*1024*1024 );
- SET_BANK( 3, 0xd8000000, 4*1024*1024 );
- mi->nr_banks = 4;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xd8000000), 3*1024*1024 );
-}
-
static void __init brutus_map_io(void)
{
sa1100_map_io();
@@ -51,7 +35,6 @@ static void __init brutus_map_io(void)
MACHINE_START(BRUTUS, "Intel Brutus (SA1100 eval board)")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_brutus)
MAPIO(brutus_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/cerf.c b/arch/arm/mach-sa1100/cerf.c
index 52d5c5e0b83d..ef96759ed396 100644
--- a/arch/arm/mach-sa1100/cerf.c
+++ b/arch/arm/mach-sa1100/cerf.c
@@ -35,33 +35,6 @@ static void __init cerf_init_irq(void)
set_irq_type(IRQ_GPIO_UCB1200_IRQ, IRQT_RISING);
}
-static void __init
-fixup_cerf(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-#if defined(CONFIG_SA1100_CERF_64MB)
- SET_BANK( 0, 0xc0000000, 64*1024*1024 );
- mi->nr_banks = 1;
-#elif defined(CONFIG_SA1100_CERF_32MB)
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
-#elif defined(CONFIG_SA1100_CERF_16MB)
- SET_BANK( 0, 0xc0000000, 8*1024*1024 );
- SET_BANK( 1, 0xc8000000, 8*1024*1024 );
- mi->nr_banks = 2;
-#elif defined(CONFIG_SA1100_CERF_8MB)
- SET_BANK( 0, 0xc0000000, 8*1024*1024 );
- mi->nr_banks = 1;
-#else
-#error "Undefined memory size for Cerfboard."
-#endif
-
-// ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
-// setup_ramdisk(1, 0, 0, 8192);
-// // Save 2Meg for RAMDisk
-// setup_initrd(0xc0500000, 3*1024*1024);
-}
-
static struct map_desc cerf_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x08000000, 0x00100000, DOMAIN_IO, 0, 1, 0, 0 }, /* Crystal Ethernet Chip */
@@ -96,7 +69,6 @@ static void __init cerf_map_io(void)
MACHINE_START(CERF, "Intrinsyc's Cerf Family of Products")
MAINTAINER("support@intrinsyc.com")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_cerf)
MAPIO(cerf_map_io)
INITIRQ(cerf_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/empeg.c b/arch/arm/mach-sa1100/empeg.c
index b687679ca5be..f12ece4ebfca 100644
--- a/arch/arm/mach-sa1100/empeg.c
+++ b/arch/arm/mach-sa1100/empeg.c
@@ -15,20 +15,6 @@
#include "generic.h"
-
-static void __init
-fixup_empeg(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 4*1024*1024 );
- SET_BANK( 1, 0xc8000000, 4*1024*1024 );
- mi->nr_banks = 2;
-
- ROOT_DEV = mk_kdev( 3, 1 ); /* /dev/hda1 */
- setup_ramdisk( 1, 0, 0, 4096 );
- setup_initrd( 0xd0000000+((1024-320)*1024), (320*1024) );
-}
-
static struct map_desc empeg_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ EMPEG_FLASHBASE, 0x00000000, 0x00200000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash */
@@ -48,7 +34,6 @@ static void __init empeg_map_io(void)
MACHINE_START(EMPEG, "empeg MP3 Car Audio Player")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_empeg)
MAPIO(empeg_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/flexanet.c b/arch/arm/mach-sa1100/flexanet.c
index 035889757105..bab87c19cb2f 100644
--- a/arch/arm/mach-sa1100/flexanet.c
+++ b/arch/arm/mach-sa1100/flexanet.c
@@ -151,21 +151,6 @@ static int __init flexanet_init(void)
__initcall(flexanet_init);
-static void __init
-fixup_flexanet(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- /* fixed RAM size, by now (64MB) */
- SET_BANK( 0, 0xc0000000, 64*1024*1024 );
- mi->nr_banks = 1;
-
- /* setup ramdisk */
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( 0xc0800000, 3*1024*1024 );
-}
-
-
static struct map_desc flexanet_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x10000000, 0x00001000, DOMAIN_IO, 0, 1, 0, 0 }, /* Board Control Register */
@@ -206,7 +191,6 @@ static void __init flexanet_map_io(void)
MACHINE_START(FLEXANET, "FlexaNet")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
BOOT_PARAMS(0xc0000100)
- FIXUP(fixup_flexanet)
MAPIO(flexanet_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/freebird.c b/arch/arm/mach-sa1100/freebird.c
index 672ab9c8cc8f..fcfb3d4a7f9a 100644
--- a/arch/arm/mach-sa1100/freebird.c
+++ b/arch/arm/mach-sa1100/freebird.c
@@ -51,19 +51,6 @@ static int __init freebird_init(void)
__initcall(freebird_init);
-static void __init
-fixup_freebird(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-#ifdef CONFIG_SA1100_FREEBIRD_OLD
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0 ,0 , 8192 );
- setup_initrd( 0xc0800000, 3*1024*1024 );
-#endif
-}
-
static struct map_desc freebird_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x12000000, 0x00100000, DOMAIN_IO, 0, 1, 0, 0 }, /* Board Control Register */
@@ -90,7 +77,6 @@ MACHINE_START(FREEBIRD, "Freebird-HPC-1.1")
#ifdef CONFIG_SA1100_FREEBIRD_NEW
BOOT_PARAMS(0xc0000100)
#endif
- FIXUP(fixup_freebird)
MAPIO(freebird_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
index d661d3b19309..4eef6db4a634 100644
--- a/arch/arm/mach-sa1100/generic.c
+++ b/arch/arm/mach-sa1100/generic.c
@@ -78,7 +78,7 @@ unsigned int sa11x0_validatespeed(unsigned int khz)
static int __init sa11x0_init_clock(void)
{
- cpufreq_init(cclk_frequency_100khz[PPCR & 0xf] * 100);
+ cpufreq_init(cclk_frequency_100khz[PPCR & 0xf] * 100, 59000, 287000);
return 0;
}
@@ -203,6 +203,3 @@ void __init sa1110_mb_enable(void)
local_irq_restore(flags);
}
-
-EXPORT_SYMBOL(sa1111_wake);
-EXPORT_SYMBOL(sa1111_doze);
diff --git a/arch/arm/mach-sa1100/graphicsclient.c b/arch/arm/mach-sa1100/graphicsclient.c
index a52e514ac023..4792f9b80097 100644
--- a/arch/arm/mach-sa1100/graphicsclient.c
+++ b/arch/arm/mach-sa1100/graphicsclient.c
@@ -120,23 +120,6 @@ static void __init graphicsclient_init_irq(void)
}
-/*
- * Initialization fixup
- */
-
-static void __init
-fixup_graphicsclient(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 16*1024*1024 );
- SET_BANK( 1, 0xc8000000, 16*1024*1024 );
- mi->nr_banks = 2;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
-}
-
static struct map_desc graphicsclient_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x10000000, 0x00400000, DOMAIN_IO, 0, 1, 0, 0 }, /* CPLD */
@@ -216,7 +199,6 @@ static void __init graphicsclient_map_io(void)
MACHINE_START(GRAPHICSCLIENT, "ADS GraphicsClient")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_graphicsclient)
MAPIO(graphicsclient_map_io)
INITIRQ(graphicsclient_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/graphicsmaster.c b/arch/arm/mach-sa1100/graphicsmaster.c
index 46b30c83f732..971feeea4c95 100644
--- a/arch/arm/mach-sa1100/graphicsmaster.c
+++ b/arch/arm/mach-sa1100/graphicsmaster.c
@@ -152,24 +152,6 @@ static void __init graphicsmaster_init_irq(void)
}
-/*
- * Initialization fixup
- */
-
-static void __init
-fixup_graphicsmaster(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 16*1024*1024 );
- mi->nr_banks = 1;
- SET_BANK( 1, 0xc8000000, 16*1024*1024 );
- mi->nr_banks = 2;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
-}
-
static struct map_desc graphicsmaster_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x10000000, 0x00400000, DOMAIN_IO, 0, 1, 0, 0 }, /* CPLD */
@@ -276,7 +258,6 @@ static void __init graphicsmaster_map_io(void)
MACHINE_START(GRAPHICSMASTER, "ADS GraphicsMaster")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_graphicsmaster)
MAPIO(graphicsmaster_map_io)
INITIRQ(graphicsmaster_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/huw_webpanel.c b/arch/arm/mach-sa1100/huw_webpanel.c
index accbc0cb1cbf..e1f9a390f54d 100644
--- a/arch/arm/mach-sa1100/huw_webpanel.c
+++ b/arch/arm/mach-sa1100/huw_webpanel.c
@@ -54,22 +54,6 @@ static int __init init_huw_cs3(void)
__initcall(init_huw_cs3);
-static void __init
-fixup_huw_webpanel(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- /**
- memory information (JOR):
- 32 MByte - 256KByte bootloader (init at boot time) - 32 kByte save area
- **/
- SET_BANK( 0, 0xc0000000, ((32*1024 - (256 + 32)) * 1024));
- mi->nr_banks = 1;
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 8*1024*1024 );
-}
-
-
/**
memory information (JOR):
32 MByte - 256KByte bootloader (init at boot time) - 32 kByte save area
@@ -95,7 +79,6 @@ static void __init huw_webpanel_map_io(void)
MACHINE_START(HUW_WEBPANEL, "HuW-Webpanel")
MAINTAINER("Roman Jordan")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_huw_webpanel)
MAPIO(huw_webpanel_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/itsy.c b/arch/arm/mach-sa1100/itsy.c
index fa94c271a4b1..7ebb9ee7a5bd 100644
--- a/arch/arm/mach-sa1100/itsy.c
+++ b/arch/arm/mach-sa1100/itsy.c
@@ -15,18 +15,6 @@
#include "generic.h"
-
-static void __init
-fixup_itsy(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 16*1024*1024 );
- SET_BANK( 1, 0xc8000000, 16*1024*1024 );
- SET_BANK( 2, 0xd0000000, 16*1024*1024 );
- SET_BANK( 3, 0xd8000000, 16*1024*1024 );
- mi->nr_banks = 4;
-}
-
/* BRADFIXME The egpio addresses aren't verifiably correct. (i.e. they're most
likely wrong. */
static struct map_desc itsy_io_desc[] __initdata = {
@@ -49,7 +37,6 @@ static void __init itsy_map_io(void)
MACHINE_START(ITSY, "Compaq Itsy")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
BOOT_PARAMS(0xc0000100)
- FIXUP(fixup_itsy)
MAPIO(itsy_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c
index 0e1929f9a39b..9f4c685b77e9 100644
--- a/arch/arm/mach-sa1100/jornada720.c
+++ b/arch/arm/mach-sa1100/jornada720.c
@@ -55,15 +55,6 @@ static int __init jornada720_init(void)
__initcall(jornada720_init);
-
-static void __init
-fixup_jornada720(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
-}
-
static struct map_desc jornada720_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x48000000, 0x00100000, DOMAIN_IO, 0, 1, 0, 0 }, /* Epson registers */
@@ -84,7 +75,6 @@ static void __init jornada720_map_io(void)
MACHINE_START(JORNADA720, "HP Jornada 720")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
BOOT_PARAMS(0xc0000100)
- FIXUP(fixup_jornada720)
MAPIO(jornada720_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/nanoengine.c b/arch/arm/mach-sa1100/nanoengine.c
index 999b5f1618e4..3d6ee63382b0 100644
--- a/arch/arm/mach-sa1100/nanoengine.c
+++ b/arch/arm/mach-sa1100/nanoengine.c
@@ -15,20 +15,12 @@
#include "generic.h"
-
static void __init
fixup_nanoengine(struct machine_desc *desc, struct tag *tags,
char **cmdline, struct meminfo *mi)
{
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
-
/* Get command line parameters passed from the loader (if any) */
- if( *((char*)0xc0000100) )
+ if (*((char*)0xc0000100))
*cmdline = ((char *)0xc0000100);
}
diff --git a/arch/arm/mach-sa1100/omnimeter.c b/arch/arm/mach-sa1100/omnimeter.c
index eacb061a1899..415a7fd4d743 100644
--- a/arch/arm/mach-sa1100/omnimeter.c
+++ b/arch/arm/mach-sa1100/omnimeter.c
@@ -40,18 +40,6 @@ static int __init omnimeter_init(void)
__initcall(omnimeter_init);
-static void __init
-fixup_omnimeter(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 16*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xd0000000), 0x00400000 );
-}
-
static struct map_desc omnimeter_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xd2000000, 0x10000000, 0x02000000, DOMAIN_IO, 0, 1, 0, 0 }, /* TS */
@@ -69,7 +57,6 @@ static void __init omnimeter_map_io(void)
MACHINE_START(OMNIMETER, "OmniMeter")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_omnimeter)
MAPIO(omnimeter_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/pangolin.c b/arch/arm/mach-sa1100/pangolin.c
index f159db9fea91..5be564fa4bc5 100644
--- a/arch/arm/mach-sa1100/pangolin.c
+++ b/arch/arm/mach-sa1100/pangolin.c
@@ -15,19 +15,6 @@
#include "generic.h"
-
-static void __init
-fixup_pangolin(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 128*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 16384 );
- setup_initrd( 0xc0800000, 3*1024*1024 );
-}
-
static struct map_desc pangolin_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf2800000, 0x4b800000, 0x00800000, DOMAIN_IO, 0, 1, 0, 0 }, /* MQ200 */
@@ -52,7 +39,6 @@ static void __init pangolin_map_io(void)
MACHINE_START(PANGOLIN, "Dialogue-Pangolin")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_pangolin)
MAPIO(pangolin_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/pfs168.c b/arch/arm/mach-sa1100/pfs168.c
index f8e672162019..39fdc09c437a 100644
--- a/arch/arm/mach-sa1100/pfs168.c
+++ b/arch/arm/mach-sa1100/pfs168.c
@@ -55,19 +55,6 @@ static void __init pfs168_init_irq(void)
set_GPIO_IRQ_edge(GPIO_UCB1300_IRQ, GPIO_RISING_EDGE);
}
-
-static void __init
-fixup_pfs168(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 16*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( 0xc0800000, 3*1024*1024 );
-}
-
static struct map_desc pfs168_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xe8000000, 0x00000000, 0x02000000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash bank 0 */
@@ -98,10 +85,7 @@ static void __init pfs168_map_io(void)
MACHINE_START(PFS168, "Tulsa")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
-#if defined(CONFIG_PFS168_CMDLINE)
BOOT_PARAMS(0xc0000100)
-#endif
- FIXUP(fixup_pfs168)
MAPIO(pfs168_map_io)
INITIRQ(pfs168_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/pleb.c b/arch/arm/mach-sa1100/pleb.c
index 1e6c759a17f1..757768767fbc 100644
--- a/arch/arm/mach-sa1100/pleb.c
+++ b/arch/arm/mach-sa1100/pleb.c
@@ -15,24 +15,6 @@
#include "generic.h"
-static void __init
-fixup_pleb(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK(0, 0xc0000000, 16*1024*1024);
- SET_BANK(1, 0xc8000000, 16*1024*1024);
- SET_BANK(2, 0xd0000000, 16*1024*1024);
- SET_BANK(3, 0xd8000000, 16*1024*1024);
-
- /* make this 4 a second memory card is used to make 64MB */
- /* make it 1 if a 16MB memory card is used */
- mi->nr_banks = 2; /* Default 32MB */
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR, 0);
- setup_ramdisk(1, 0, 0, 8192);
- setup_initrd(0xc0400000, 4*1024*1024);
-}
-
static struct map_desc pleb_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xe8000000, 0x00000000, 0x00400000, DOMAIN_IO, 0, 1, 0, 0 }, /* main flash memory */
@@ -55,7 +37,6 @@ static void __init pleb_map_io(void)
MACHINE_START(PLEB, "PLEB")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_pleb)
MAPIO(pleb_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/sherman.c b/arch/arm/mach-sa1100/sherman.c
index 8ede177556cd..c36f46017f53 100644
--- a/arch/arm/mach-sa1100/sherman.c
+++ b/arch/arm/mach-sa1100/sherman.c
@@ -15,20 +15,6 @@
#include "generic.h"
-
-static void __init
-fixup_sherman(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 64*1024*1024 );
- SET_BANK( 1, 0xc8000000, 64*1024*1024 );
- mi->nr_banks = 2;
-
- ROOT_DEV = mk_kdev( 60, 2 );
- setup_ramdisk( 1, 0, 0, 8192 );
-// setup_initrd( 0xc0400000, 8*1024*1024 );
-}
-
static void __init sherman_map_io(void)
{
sa1100_map_io();
@@ -39,7 +25,6 @@ static void __init sherman_map_io(void)
MACHINE_START(SHERMAN, "Blazie Engineering Sherman")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_sherman)
MAPIO(sherman_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c
index 4305917e52e0..d4c15188b79b 100644
--- a/arch/arm/mach-sa1100/simpad.c
+++ b/arch/arm/mach-sa1100/simpad.c
@@ -40,22 +40,6 @@ void clear_cs3_bit(int value)
*(CS3BUSTYPE *)(CS3_BASE) = cs3_shadow;
}
-static void __init
-fixup_simpad(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
-#ifdef CONFIG_SA1100_SIMPAD_DRAM_64MB /* DRAM */
- SET_BANK( 0, 0xc0000000, 64*1024*1024 );
-#else
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
-#endif
- mi->nr_banks = 1;
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
-}
-
-
static struct map_desc simpad_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf2800000, 0x4b800000, 0x00800000, DOMAIN_IO, 0, 1, 0, 0 }, /* MQ200 */
@@ -141,22 +125,14 @@ static int proc_cs3_read(char *page, char **start, off_t off,
}
-static struct proc_dir_entry *proc_cs3;
-
static int __init cs3_init(void)
{
- proc_cs3 = create_proc_entry("cs3", 0, 0);
+ struct proc_dir_entry *proc_cs3 = create_proc_entry("cs3", 0, 0);
if (proc_cs3)
proc_cs3->read_proc = proc_cs3_read;
return 0;
}
-static int __exit cs3_exit(void)
-{
- if (proc_cs3)
- remove_proc_entry( "cs3", 0);
- return 0;
-}
__initcall(cs3_init);
#endif // CONFIG_PROC_FS
@@ -164,7 +140,6 @@ __initcall(cs3_init);
MACHINE_START(SIMPAD, "Simpad")
MAINTAINER("Juergen Messerer")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_simpad)
MAPIO(simpad_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/system3.c b/arch/arm/mach-sa1100/system3.c
index 4a5c983f5edb..429436a5238a 100644
--- a/arch/arm/mach-sa1100/system3.c
+++ b/arch/arm/mach-sa1100/system3.c
@@ -73,8 +73,6 @@
*/
/* init funcs */
-static void __init fixup_system3(struct machine_desc *desc,
- struct tag *tags, char **cmdline, struct meminfo *mi);
static int __init system3_init(void);
static void __init system3_init_irq(void);
static void __init system3_map_io(void);
@@ -229,25 +227,6 @@ static int sdram_notifier(struct notifier_block *nb, unsigned long event,
}
/**
- * fixup_system3 - fixup function for system 3 board
- * @desc: machine description
- * @param: kernel params
- * @cmdline: kernel cmdline
- * @mi: memory info struct
- *
- */
-static void __init fixup_system3(struct machine_desc *desc,
- struct tag *tags, char **cmdline, struct meminfo *mi)
-{
- DPRINTK( "%s\n", "START" );
-
- ROOT_DEV = mk_kdev(RAMDISK_MAJOR,0);
- setup_ramdisk( 1, 0, 0, 8192 );
- setup_initrd( 0xc0800000, 8*1024*1024 );
-}
-
-
-/**
* system3_uart_pm - powermgmt callback function for system 3 UART
* @port: uart port structure
* @state: pm state
@@ -457,7 +436,6 @@ __initcall(system3_init);
MACHINE_START(PT_SYSTEM3, "PT System 3")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
BOOT_PARAMS(0xc0000100)
- FIXUP(fixup_system3)
MAPIO(system3_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mach-sa1100/victor.c b/arch/arm/mach-sa1100/victor.c
deleted file mode 100644
index 0cc7fec33532..000000000000
--- a/arch/arm/mach-sa1100/victor.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * linux/arch/arm/mach-sa1100/victor.c
- *
- * Author: Nicolas Pitre
- *
- * 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
- * published by the Free Software Foundation.
- */
-
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/delay.h>
-#include <linux/pm.h>
-#include <linux/tty.h>
-
-#include <asm/hardware.h>
-#include <asm/setup.h>
-
-#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
-#include <asm/mach/serial_sa1100.h>
-
-#include "generic.h"
-
-
-static void victor_power_off(void)
-{
- /* switch off power supply */
- mdelay(2000);
- GPCR = GPIO_GPIO23;
- while (1);
-}
-
-static int __init victor_init(void)
-{
- pm_power_off = victor_power_off;
- return 0;
-}
-
-__initcall(victor_init);
-
-
-static void __init
-fixup_victor(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 4*1024*1024 );
- mi->nr_banks = 1;
-
- ROOT_DEV = mk_kdev( 60, 2 );
-
- /* Get command line parameters passed from the loader (if any) */
- if( *((char*)0xc0000000) )
- strcpy( *cmdline, ((char *)0xc0000000) );
-
- /* power off if any problem */
- strcat( *cmdline, " panic=1" );
-}
-
-static struct map_desc victor_io_desc[] __initdata = {
- /* virtual physical length domain r w c b */
- { 0xe8000000, 0x00000000, 0x00200000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash */
- LAST_DESC
-};
-
-static void __init victor_map_io(void)
-{
- sa1100_map_io();
- iotable_init(victor_io_desc);
-
- sa1100_register_uart(0, 3);
-}
-
-MACHINE_START(VICTOR, "VisuAide Victor")
- BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_victor)
- MAPIO(victor_map_io)
- INITIRQ(sa1100_init_irq)
-MACHINE_END
diff --git a/arch/arm/mach-sa1100/xp860.c b/arch/arm/mach-sa1100/xp860.c
index ef46d543fc19..c80ce42f87c0 100644
--- a/arch/arm/mach-sa1100/xp860.c
+++ b/arch/arm/mach-sa1100/xp860.c
@@ -56,15 +56,6 @@ static int __init xp860_init(void)
__initcall(xp860_init);
-
-static void __init
-fixup_xp860(struct machine_desc *desc, struct tag *tags,
- char **cmdline, struct meminfo *mi)
-{
- SET_BANK( 0, 0xc0000000, 32*1024*1024 );
- mi->nr_banks = 1;
-}
-
static struct map_desc xp860_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x10000000, 0x00100000, DOMAIN_IO, 0, 1, 0, 0 }, /* SCSI */
@@ -84,7 +75,6 @@ static void __init xp860_map_io(void)
MACHINE_START(XP860, "XP860")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
- FIXUP(fixup_xp860)
MAPIO(xp860_map_io)
INITIRQ(sa1100_init_irq)
MACHINE_END
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index c408174af5e0..32c3c92fd148 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -30,6 +30,7 @@
#include <asm/dma.h>
#include <asm/hardware.h>
#include <asm/setup.h>
+#include <asm/tlb.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
@@ -48,6 +49,8 @@
#define TABLE_SIZE ((TABLE_OFFSET + PTRS_PER_PTE) * sizeof(pte_t))
+mmu_gather_t mmu_gathers[NR_CPUS];
+
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
extern char _stext, _text, _etext, _end, __init_begin, __init_end;
diff --git a/drivers/video/clps711xfb.c b/drivers/video/clps711xfb.c
index 434b32fae421..a5e8deada6a8 100644
--- a/drivers/video/clps711xfb.c
+++ b/drivers/video/clps711xfb.c
@@ -158,7 +158,7 @@ static int clps7111fb_blank(int blank, struct fb_info *info)
clps_writeb(clps_readb(PDDR) & ~EDB_PD1_LCD_DC_DC_EN, PDDR);
/* Delay for a little while (half a second). */
- for (i=0; i<65536*4; i++);
+ udelay(100);
/* Power off the LCD panel. */
clps_writeb(clps_readb(PDDR) & ~EDB_PD2_LCDEN, PDDR);
@@ -169,24 +169,24 @@ static int clps7111fb_blank(int blank, struct fb_info *info)
}
} else {
if (machine_is_edb7211()) {
- int i;
+ int i;
- /* Power up the LCD controller. */
- clps_writel(clps_readl(SYSCON1) | SYSCON1_LCDEN,
- SYSCON1);
+ /* Power up the LCD controller. */
+ clps_writel(clps_readl(SYSCON1) | SYSCON1_LCDEN,
+ SYSCON1);
- /* Power up the LCD panel. */
- clps_writeb(clps_readb(PDDR) | EDB_PD2_LCDEN, PDDR);
+ /* Power up the LCD panel. */
+ clps_writeb(clps_readb(PDDR) | EDB_PD2_LCDEN, PDDR);
- /* Delay for a little while. */
- for (i=0; i<65536*4; i++);
+ /* Delay for a little while. */
+ udelay(100);
- /* Power up the LCD DC-DC converter. */
- clps_writeb(clps_readb(PDDR) | EDB_PD1_LCD_DC_DC_EN,
- PDDR);
+ /* Power up the LCD DC-DC converter. */
+ clps_writeb(clps_readb(PDDR) | EDB_PD1_LCD_DC_DC_EN,
+ PDDR);
- /* Turn on the LCD backlight. */
- clps_writeb(clps_readb(PDDR) | EDB_PD3_LCDBL, PDDR);
+ /* Turn on the LCD backlight. */
+ clps_writeb(clps_readb(PDDR) | EDB_PD3_LCDBL, PDDR);
}
}
return 0;
diff --git a/include/asm-arm/atomic.h b/include/asm-arm/atomic.h
index 1e488f094596..59baa4e88114 100644
--- a/include/asm-arm/atomic.h
+++ b/include/asm-arm/atomic.h
@@ -71,27 +71,27 @@ static __inline__ void atomic_dec(volatile atomic_t *v)
static __inline__ int atomic_dec_and_test(volatile atomic_t *v)
{
unsigned long flags;
- int result;
+ int val;
__save_flags_cli(flags);
- v->counter -= 1;
- result = (v->counter == 0);
+ val = v->counter;
+ v->counter = val -= 1;
__restore_flags(flags);
- return result;
+ return val == 0;
}
static inline int atomic_add_negative(int i, volatile atomic_t *v)
{
unsigned long flags;
- int result;
+ int val;
__save_flags_cli(flags);
- v->counter += i;
- result = (v->counter < 0);
+ val = v->counter;
+ v->counter = val += i;
__restore_flags(flags);
- return result;
+ return val < 0;
}
static __inline__ void atomic_clear_mask(unsigned long mask, unsigned long *addr)
diff --git a/include/asm-arm/mach/arch.h b/include/asm-arm/mach/arch.h
index 6831e446a50a..d99f76c57a01 100644
--- a/include/asm-arm/mach/arch.h
+++ b/include/asm-arm/mach/arch.h
@@ -16,9 +16,6 @@
#ifndef __ASSEMBLY__
-extern void setup_initrd(unsigned int start, unsigned int size);
-extern void setup_ramdisk(int doload, int prompt, int start, unsigned int rd_sz);
-
struct tag;
struct machine_desc {
diff --git a/include/asm-arm/proc-armo/processor.h b/include/asm-arm/proc-armo/processor.h
index 190dbda46c85..675fe0f51592 100644
--- a/include/asm-arm/proc-armo/processor.h
+++ b/include/asm-arm/proc-armo/processor.h
@@ -23,20 +23,6 @@
#define KERNEL_STACK_SIZE 4096
-struct cpu_context_save {
- unsigned long r4;
- unsigned long r5;
- unsigned long r6;
- unsigned long r7;
- unsigned long r8;
- unsigned long r9;
- unsigned long sl;
- unsigned long fp;
- unsigned long pc;
-};
-
-#define INIT_CSS (struct cpu_context_save){ 0, 0, 0, 0, 0, 0, 0, 0, SVC26_MODE }
-
typedef struct {
void (*put_byte)(void); /* Special calling convention */
void (*get_byte)(void); /* Special calling convention */
@@ -71,7 +57,7 @@ extern uaccess_t uaccess_user, uaccess_kernel;
regs->ARM_r0 = stack[0]; /* r0 (argc) */ \
})
-#define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1022])
-#define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1020])
+#define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1020])
+#define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1018])
#endif
diff --git a/include/asm-arm/proc-armo/uncompress.h b/include/asm-arm/proc-armo/uncompress.h
deleted file mode 100644
index 26a8747d205d..000000000000
--- a/include/asm-arm/proc-armo/uncompress.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * linux/include/asm-arm/proc-armo/uncompress.h
- *
- * Copyright (C) 1997 Russell King
- *
- * 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
- * published by the Free Software Foundation.
- */
-
-#define proc_decomp_setup()
diff --git a/include/asm-arm/proc-armv/processor.h b/include/asm-arm/proc-armv/processor.h
index 2f68600391d0..0e8c4bfee6dc 100644
--- a/include/asm-arm/proc-armv/processor.h
+++ b/include/asm-arm/proc-armv/processor.h
@@ -22,21 +22,6 @@
#define KERNEL_STACK_SIZE PAGE_SIZE
-struct cpu_context_save {
- unsigned long cpsr;
- unsigned long r4;
- unsigned long r5;
- unsigned long r6;
- unsigned long r7;
- unsigned long r8;
- unsigned long r9;
- unsigned long sl;
- unsigned long fp;
- unsigned long pc;
-};
-
-#define INIT_CSS (struct cpu_context_save){ SVC_MODE, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
-
#define INIT_EXTRA_THREAD_INFO \
cpu_domain: domain_val(DOMAIN_USER, DOMAIN_CLIENT) | \
domain_val(DOMAIN_KERNEL, DOMAIN_MANAGER) | \
@@ -58,7 +43,7 @@ struct cpu_context_save {
regs->ARM_r0 = stack[0]; /* r0 (argc) */ \
})
-#define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1021])
-#define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1019])
+#define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1019])
+#define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1017])
#endif
diff --git a/include/asm-arm/proc-armv/uncompress.h b/include/asm-arm/proc-armv/uncompress.h
deleted file mode 100644
index bc41b2811016..000000000000
--- a/include/asm-arm/proc-armv/uncompress.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * linux/include/asm-arm/proc-armv/uncompress.h
- *
- * Copyright (C) 1997 Russell King
- *
- * 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
- * published by the Free Software Foundation.
- */
-
-static inline void proc_decomp_setup (void)
-{
- __asm__ __volatile__("
- mrc p15, 0, r0, c0, c0
- eor r0, r0, #0x44 << 24
- eor r0, r0, #0x01 << 16
- eor r0, r0, #0xA1 << 8
- movs r0, r0, lsr #5
- mcreq p15, 0, r0, c7, c5, 0 @ flush I cache
- mrceq p15, 0, r0, c1, c0
- orreq r0, r0, #1 << 12
- mcreq p15, 0, r0, c1, c0 @ enable I cache
- mov r0, #0
- mcreq p15, 0, r0, c15, c1, 2 @ enable clock switching
- " : : : "r0", "cc", "memory");
-}
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h
index 154a688c170f..ebed4a570599 100644
--- a/include/asm-arm/thread_info.h
+++ b/include/asm-arm/thread_info.h
@@ -22,20 +22,35 @@ struct exec_domain;
#include <asm/ptrace.h>
#include <asm/types.h>
-typedef unsigned long mm_segment_t; /* domain register */
+typedef unsigned long mm_segment_t;
+
+struct cpu_context_save {
+ __u32 r4;
+ __u32 r5;
+ __u32 r6;
+ __u32 r7;
+ __u32 r8;
+ __u32 r9;
+ __u32 sl;
+ __u32 fp;
+ __u32 sp;
+ __u32 pc;
+ __u32 extra[2]; /* Xscale 'acc' register, etc */
+};
/*
* low level task data that entry.S needs immediate access to.
+ * We assume cpu_context follows immedately after cpu_domain.
*/
struct thread_info {
unsigned long flags; /* low level flags */
__s32 preempt_count; /* 0 => preemptable, <0 => bug */
mm_segment_t addr_limit; /* address limit */
- __u32 cpu; /* cpu */
- struct cpu_context_save *cpu_context; /* cpu context */
- __u32 cpu_domain; /* cpu domain */
struct task_struct *task; /* main task structure */
struct exec_domain *exec_domain; /* execution domain */
+ __u32 cpu; /* cpu */
+ __u32 cpu_domain; /* cpu domain */
+ struct cpu_context_save cpu_context; /* cpu context */
union fp_state fpstate;
};
@@ -71,34 +86,20 @@ extern void free_thread_info(struct thread_info *);
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)
-static inline unsigned long __thread_saved_pc(struct thread_info *thread)
-{
- struct cpu_context_save *context = thread->cpu_context;
-
- return context ? pc_pointer(context->pc) : 0;
-}
-
-static inline unsigned long __thread_saved_fp(struct thread_info *thread)
-{
- struct cpu_context_save *context = thread->cpu_context;
-
- return context ? context->fp : 0;
-}
-
-#define thread_saved_pc(tsk) __thread_saved_pc((tsk)->thread_info)
-#define thread_saved_fp(tsk) __thread_saved_fp((tsk)->thread_info)
+#define thread_saved_pc(tsk) (pc_pointer((tsk)->thread_info->cpu_context.pc))
+#define thread_saved_fp(tsk) ((tsk)->thread_info->cpu_context.fp)
#else /* !__ASSEMBLY__ */
#define TI_FLAGS 0
#define TI_PREEMPT 4
#define TI_ADDR_LIMIT 8
-#define TI_CPU 12
-#define TI_CPU_SAVE 16
-#define TI_CPU_DOMAIN 20
-#define TI_TASK 24
-#define TI_EXEC_DOMAIN 28
-#define TI_FPSTATE 32
+#define TI_TASK 12
+#define TI_EXEC_DOMAIN 16
+#define TI_CPU 20
+#define TI_CPU_DOMAIN 24
+#define TI_CPU_SAVE 28
+#define TI_FPSTATE 76
#endif
diff --git a/include/asm-arm/tlb.h b/include/asm-arm/tlb.h
index 69c0faa93194..a70a0be8c8df 100644
--- a/include/asm-arm/tlb.h
+++ b/include/asm-arm/tlb.h
@@ -1 +1,21 @@
+#ifndef __ASMARM_TLB_H
+#define __ASMARM_TLB_H
+
+#include <asm/cacheflush.h>
+#include <asm/tlbflush.h>
+
+#define tlb_flush(tlb) \
+ flush_tlb_mm((tlb)->mm)
+#define tlb_start_vma(tlb,vma) \
+ flush_cache_range(vma, vma->vm_start, vma->vm_end)
+#define tlb_end_vma(tlb,vma) \
+ flush_tlb_range(vma, vma->vm_start, vma->vm_end)
+
+#define tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
+
#include <asm-generic/tlb.h>
+
+#define pmd_free_tlb(tlb, pmd) pmd_free(pmd)
+#define pte_free_tlb(tlb, pte) pte_free(pte)
+
+#endif