diff options
30 files changed, 466 insertions, 1043 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6b12d71978de..296bc03d1cf1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -704,8 +704,7 @@ source "drivers/acorn/block/Kconfig" | |||
704 | 704 | ||
705 | if PCMCIA || ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX \ | 705 | if PCMCIA || ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX \ |
706 | || ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \ | 706 | || ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \ |
707 | || ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE \ | 707 | || ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE |
708 | || MACH_MP1000 | ||
709 | source "drivers/ide/Kconfig" | 708 | source "drivers/ide/Kconfig" |
710 | endif | 709 | endif |
711 | 710 | ||
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index d80749ae2a7e..114cda7f1b73 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -38,6 +38,7 @@ comma = , | |||
38 | # macro, but instead defines a whole series of macros which makes | 38 | # macro, but instead defines a whole series of macros which makes |
39 | # testing for a specific architecture or later rather impossible. | 39 | # testing for a specific architecture or later rather impossible. |
40 | arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6) | 40 | arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6) |
41 | arch-$(CONFIG_CPU_32v6K) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6k,-march=armv5t -Wa$(comma)-march=armv6k) | ||
41 | arch-$(CONFIG_CPU_32v5) :=-D__LINUX_ARM_ARCH__=5 $(call cc-option,-march=armv5te,-march=armv4) | 42 | arch-$(CONFIG_CPU_32v5) :=-D__LINUX_ARM_ARCH__=5 $(call cc-option,-march=armv5te,-march=armv4) |
42 | arch-$(CONFIG_CPU_32v4) :=-D__LINUX_ARM_ARCH__=4 -march=armv4 | 43 | arch-$(CONFIG_CPU_32v4) :=-D__LINUX_ARM_ARCH__=4 -march=armv4 |
43 | arch-$(CONFIG_CPU_32v3) :=-D__LINUX_ARM_ARCH__=3 -march=armv3 | 44 | arch-$(CONFIG_CPU_32v3) :=-D__LINUX_ARM_ARCH__=3 -march=armv3 |
@@ -143,7 +144,7 @@ drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/ | |||
143 | drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/ | 144 | drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/ |
144 | drivers-$(CONFIG_ARCH_L7200) += drivers/acorn/char/ | 145 | drivers-$(CONFIG_ARCH_L7200) += drivers/acorn/char/ |
145 | 146 | ||
146 | libs-y += arch/arm/lib/ | 147 | libs-y := arch/arm/lib/ $(libs-y) |
147 | 148 | ||
148 | # Default target when executing plain make | 149 | # Default target when executing plain make |
149 | ifeq ($(CONFIG_XIP_KERNEL),y) | 150 | ifeq ($(CONFIG_XIP_KERNEL),y) |
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index a54d2eb64892..7c7f475e213e 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -39,8 +39,7 @@ | |||
39 | defined(CONFIG_ARCH_IXP4XX) || \ | 39 | defined(CONFIG_ARCH_IXP4XX) || \ |
40 | defined(CONFIG_ARCH_IXP2000) || \ | 40 | defined(CONFIG_ARCH_IXP2000) || \ |
41 | defined(CONFIG_ARCH_LH7A40X) || \ | 41 | defined(CONFIG_ARCH_LH7A40X) || \ |
42 | defined(CONFIG_ARCH_OMAP) || \ | 42 | defined(CONFIG_ARCH_OMAP) |
43 | defined(CONFIG_MACH_MP1000) | ||
44 | .macro loadsp, rb | 43 | .macro loadsp, rb |
45 | addruart \rb | 44 | addruart \rb |
46 | .endm | 45 | .endm |
diff --git a/arch/arm/configs/ixdp2401_defconfig b/arch/arm/configs/ixdp2401_defconfig index 38c9a721d5c9..32bd552e0986 100644 --- a/arch/arm/configs/ixdp2401_defconfig +++ b/arch/arm/configs/ixdp2401_defconfig | |||
@@ -152,7 +152,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
152 | # | 152 | # |
153 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 153 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
154 | CONFIG_ZBOOT_ROM_BSS=0x0 | 154 | CONFIG_ZBOOT_ROM_BSS=0x0 |
155 | CONFIG_CMDLINE="console=ttyS0,57600 root=/dev/nfs ip=bootp mem=64M@0x0 pci=firmware" | 155 | CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/nfs ip=bootp mem=64M@0x0 pci=firmware" |
156 | # CONFIG_XIP_KERNEL is not set | 156 | # CONFIG_XIP_KERNEL is not set |
157 | 157 | ||
158 | # | 158 | # |
@@ -560,7 +560,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | |||
560 | # | 560 | # |
561 | CONFIG_SERIAL_8250=y | 561 | CONFIG_SERIAL_8250=y |
562 | CONFIG_SERIAL_8250_CONSOLE=y | 562 | CONFIG_SERIAL_8250_CONSOLE=y |
563 | CONFIG_SERIAL_8250_NR_UARTS=2 | 563 | CONFIG_SERIAL_8250_NR_UARTS=3 |
564 | # CONFIG_SERIAL_8250_EXTENDED is not set | 564 | # CONFIG_SERIAL_8250_EXTENDED is not set |
565 | 565 | ||
566 | # | 566 | # |
diff --git a/arch/arm/configs/ixdp2801_defconfig b/arch/arm/configs/ixdp2801_defconfig index 12ef23d1c016..66ac0885df3e 100644 --- a/arch/arm/configs/ixdp2801_defconfig +++ b/arch/arm/configs/ixdp2801_defconfig | |||
@@ -560,7 +560,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | |||
560 | # | 560 | # |
561 | CONFIG_SERIAL_8250=y | 561 | CONFIG_SERIAL_8250=y |
562 | CONFIG_SERIAL_8250_CONSOLE=y | 562 | CONFIG_SERIAL_8250_CONSOLE=y |
563 | CONFIG_SERIAL_8250_NR_UARTS=2 | 563 | CONFIG_SERIAL_8250_NR_UARTS=3 |
564 | # CONFIG_SERIAL_8250_EXTENDED is not set | 564 | # CONFIG_SERIAL_8250_EXTENDED is not set |
565 | 565 | ||
566 | # | 566 | # |
diff --git a/arch/arm/configs/mp1000_defconfig b/arch/arm/configs/realview_defconfig index d2cbc6fada1d..0485b2f1cc20 100644 --- a/arch/arm/configs/mp1000_defconfig +++ b/arch/arm/configs/realview_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.14-rc1 | 3 | # Linux kernel version: 2.6.14-rc2 |
4 | # Fri Sep 16 15:48:13 2005 | 4 | # Thu Sep 29 14:50:10 2005 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
@@ -12,11 +12,9 @@ CONFIG_GENERIC_CALIBRATE_DELAY=y | |||
12 | # | 12 | # |
13 | # Code maturity level options | 13 | # Code maturity level options |
14 | # | 14 | # |
15 | CONFIG_EXPERIMENTAL=y | 15 | # CONFIG_EXPERIMENTAL is not set |
16 | # CONFIG_CLEAN_COMPILE is not set | 16 | CONFIG_CLEAN_COMPILE=y |
17 | CONFIG_BROKEN=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | 17 | CONFIG_BROKEN_ON_SMP=y |
19 | CONFIG_LOCK_KERNEL=y | ||
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 18 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
21 | 19 | ||
22 | # | 20 | # |
@@ -24,18 +22,16 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 | |||
24 | # | 22 | # |
25 | CONFIG_LOCALVERSION="" | 23 | CONFIG_LOCALVERSION="" |
26 | CONFIG_LOCALVERSION_AUTO=y | 24 | CONFIG_LOCALVERSION_AUTO=y |
27 | CONFIG_SWAP=y | 25 | # CONFIG_SWAP is not set |
28 | CONFIG_SYSVIPC=y | 26 | CONFIG_SYSVIPC=y |
29 | # CONFIG_POSIX_MQUEUE is not set | ||
30 | # CONFIG_BSD_PROCESS_ACCT is not set | 27 | # CONFIG_BSD_PROCESS_ACCT is not set |
31 | CONFIG_SYSCTL=y | 28 | CONFIG_SYSCTL=y |
32 | # CONFIG_AUDIT is not set | 29 | # CONFIG_AUDIT is not set |
33 | # CONFIG_HOTPLUG is not set | 30 | CONFIG_HOTPLUG=y |
34 | CONFIG_KOBJECT_UEVENT=y | 31 | CONFIG_KOBJECT_UEVENT=y |
35 | CONFIG_IKCONFIG=y | 32 | # CONFIG_IKCONFIG is not set |
36 | CONFIG_IKCONFIG_PROC=y | ||
37 | CONFIG_INITRAMFS_SOURCE="" | 33 | CONFIG_INITRAMFS_SOURCE="" |
38 | CONFIG_EMBEDDED=y | 34 | # CONFIG_EMBEDDED is not set |
39 | CONFIG_KALLSYMS=y | 35 | CONFIG_KALLSYMS=y |
40 | # CONFIG_KALLSYMS_ALL is not set | 36 | # CONFIG_KALLSYMS_ALL is not set |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
@@ -58,17 +54,15 @@ CONFIG_BASE_SMALL=0 | |||
58 | # | 54 | # |
59 | CONFIG_MODULES=y | 55 | CONFIG_MODULES=y |
60 | CONFIG_MODULE_UNLOAD=y | 56 | CONFIG_MODULE_UNLOAD=y |
61 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
62 | CONFIG_OBSOLETE_MODPARM=y | 57 | CONFIG_OBSOLETE_MODPARM=y |
63 | # CONFIG_MODVERSIONS is not set | ||
64 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 58 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
65 | CONFIG_KMOD=y | 59 | # CONFIG_KMOD is not set |
66 | 60 | ||
67 | # | 61 | # |
68 | # System Type | 62 | # System Type |
69 | # | 63 | # |
70 | # CONFIG_ARCH_CLPS7500 is not set | 64 | # CONFIG_ARCH_CLPS7500 is not set |
71 | CONFIG_ARCH_CLPS711X=y | 65 | # CONFIG_ARCH_CLPS711X is not set |
72 | # CONFIG_ARCH_CO285 is not set | 66 | # CONFIG_ARCH_CO285 is not set |
73 | # CONFIG_ARCH_EBSA110 is not set | 67 | # CONFIG_ARCH_EBSA110 is not set |
74 | # CONFIG_ARCH_CAMELOT is not set | 68 | # CONFIG_ARCH_CAMELOT is not set |
@@ -86,43 +80,43 @@ CONFIG_ARCH_CLPS711X=y | |||
86 | # CONFIG_ARCH_LH7A40X is not set | 80 | # CONFIG_ARCH_LH7A40X is not set |
87 | # CONFIG_ARCH_OMAP is not set | 81 | # CONFIG_ARCH_OMAP is not set |
88 | # CONFIG_ARCH_VERSATILE is not set | 82 | # CONFIG_ARCH_VERSATILE is not set |
83 | CONFIG_ARCH_REALVIEW=y | ||
89 | # CONFIG_ARCH_IMX is not set | 84 | # CONFIG_ARCH_IMX is not set |
90 | # CONFIG_ARCH_H720X is not set | 85 | # CONFIG_ARCH_H720X is not set |
91 | # CONFIG_ARCH_AAEC2000 is not set | 86 | # CONFIG_ARCH_AAEC2000 is not set |
92 | 87 | ||
93 | # | 88 | # |
94 | # CLPS711X/EP721X Implementations | 89 | # RealView platform type |
95 | # | 90 | # |
96 | # CONFIG_ARCH_AUTCPU12 is not set | 91 | CONFIG_MACH_REALVIEW_EB=y |
97 | # CONFIG_ARCH_CDB89712 is not set | ||
98 | # CONFIG_ARCH_CEIVA is not set | ||
99 | # CONFIG_ARCH_CLEP7312 is not set | ||
100 | # CONFIG_ARCH_EDB7211 is not set | ||
101 | # CONFIG_ARCH_P720T is not set | ||
102 | # CONFIG_ARCH_FORTUNET is not set | ||
103 | CONFIG_MACH_MP1000=y | ||
104 | CONFIG_MP1000_90MHZ=y | ||
105 | 92 | ||
106 | # | 93 | # |
107 | # Processor Type | 94 | # Processor Type |
108 | # | 95 | # |
109 | CONFIG_CPU_32=y | 96 | CONFIG_CPU_32=y |
110 | CONFIG_CPU_ARM720T=y | 97 | CONFIG_CPU_ARM926T=y |
111 | CONFIG_CPU_32v4=y | 98 | # CONFIG_CPU_V6 is not set |
112 | CONFIG_CPU_ABRT_LV4T=y | 99 | CONFIG_CPU_32v5=y |
113 | CONFIG_CPU_CACHE_V4=y | 100 | CONFIG_CPU_ABRT_EV5TJ=y |
114 | CONFIG_CPU_CACHE_VIVT=y | 101 | CONFIG_CPU_CACHE_VIVT=y |
115 | CONFIG_CPU_COPY_V4WT=y | 102 | CONFIG_CPU_COPY_V4WB=y |
116 | CONFIG_CPU_TLB_V4WT=y | 103 | CONFIG_CPU_TLB_V4WBI=y |
117 | 104 | ||
118 | # | 105 | # |
119 | # Processor Features | 106 | # Processor Features |
120 | # | 107 | # |
121 | CONFIG_ARM_THUMB=y | 108 | CONFIG_ARM_THUMB=y |
109 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
110 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
111 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
112 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
113 | CONFIG_ARM_GIC=y | ||
114 | CONFIG_ICST307=y | ||
122 | 115 | ||
123 | # | 116 | # |
124 | # Bus support | 117 | # Bus support |
125 | # | 118 | # |
119 | CONFIG_ARM_AMBA=y | ||
126 | CONFIG_ISA_DMA_API=y | 120 | CONFIG_ISA_DMA_API=y |
127 | 121 | ||
128 | # | 122 | # |
@@ -133,14 +127,8 @@ CONFIG_ISA_DMA_API=y | |||
133 | # | 127 | # |
134 | # Kernel Features | 128 | # Kernel Features |
135 | # | 129 | # |
136 | # CONFIG_SMP is not set | ||
137 | CONFIG_PREEMPT=y | ||
138 | # CONFIG_NO_IDLE_HZ is not set | 130 | # CONFIG_NO_IDLE_HZ is not set |
139 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | 131 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set |
140 | CONFIG_SELECT_MEMORY_MODEL=y | ||
141 | CONFIG_FLATMEM_MANUAL=y | ||
142 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
143 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
144 | CONFIG_FLATMEM=y | 132 | CONFIG_FLATMEM=y |
145 | CONFIG_FLAT_NODE_MEM_MAP=y | 133 | CONFIG_FLAT_NODE_MEM_MAP=y |
146 | # CONFIG_SPARSEMEM_STATIC is not set | 134 | # CONFIG_SPARSEMEM_STATIC is not set |
@@ -151,7 +139,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
151 | # | 139 | # |
152 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 140 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
153 | CONFIG_ZBOOT_ROM_BSS=0x0 | 141 | CONFIG_ZBOOT_ROM_BSS=0x0 |
154 | CONFIG_CMDLINE="console=ttyCL,38400 root=/dev/discs/disc0/part1 ip=any cs89x0_media=rj45" | 142 | CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M" |
155 | # CONFIG_XIP_KERNEL is not set | 143 | # CONFIG_XIP_KERNEL is not set |
156 | 144 | ||
157 | # | 145 | # |
@@ -163,14 +151,14 @@ CONFIG_CMDLINE="console=ttyCL,38400 root=/dev/discs/disc0/part1 ip=any cs89x0_me | |||
163 | # | 151 | # |
164 | CONFIG_FPE_NWFPE=y | 152 | CONFIG_FPE_NWFPE=y |
165 | # CONFIG_FPE_NWFPE_XP is not set | 153 | # CONFIG_FPE_NWFPE_XP is not set |
166 | # CONFIG_FPE_FASTFPE is not set | 154 | # CONFIG_VFP is not set |
167 | 155 | ||
168 | # | 156 | # |
169 | # Userspace binary formats | 157 | # Userspace binary formats |
170 | # | 158 | # |
171 | CONFIG_BINFMT_ELF=y | 159 | CONFIG_BINFMT_ELF=y |
172 | # CONFIG_BINFMT_AOUT is not set | 160 | # CONFIG_BINFMT_AOUT is not set |
173 | CONFIG_BINFMT_MISC=y | 161 | # CONFIG_BINFMT_MISC is not set |
174 | # CONFIG_ARTHUR is not set | 162 | # CONFIG_ARTHUR is not set |
175 | 163 | ||
176 | # | 164 | # |
@@ -197,10 +185,9 @@ CONFIG_IP_FIB_HASH=y | |||
197 | CONFIG_IP_PNP=y | 185 | CONFIG_IP_PNP=y |
198 | CONFIG_IP_PNP_DHCP=y | 186 | CONFIG_IP_PNP_DHCP=y |
199 | CONFIG_IP_PNP_BOOTP=y | 187 | CONFIG_IP_PNP_BOOTP=y |
200 | CONFIG_IP_PNP_RARP=y | 188 | # CONFIG_IP_PNP_RARP is not set |
201 | # CONFIG_NET_IPIP is not set | 189 | # CONFIG_NET_IPIP is not set |
202 | # CONFIG_NET_IPGRE is not set | 190 | # CONFIG_NET_IPGRE is not set |
203 | # CONFIG_ARPD is not set | ||
204 | # CONFIG_SYN_COOKIES is not set | 191 | # CONFIG_SYN_COOKIES is not set |
205 | # CONFIG_INET_AH is not set | 192 | # CONFIG_INET_AH is not set |
206 | # CONFIG_INET_ESP is not set | 193 | # CONFIG_INET_ESP is not set |
@@ -210,36 +197,14 @@ CONFIG_INET_DIAG=y | |||
210 | CONFIG_INET_TCP_DIAG=y | 197 | CONFIG_INET_TCP_DIAG=y |
211 | # CONFIG_TCP_CONG_ADVANCED is not set | 198 | # CONFIG_TCP_CONG_ADVANCED is not set |
212 | CONFIG_TCP_CONG_BIC=y | 199 | CONFIG_TCP_CONG_BIC=y |
213 | CONFIG_IPV6=y | 200 | # CONFIG_IPV6 is not set |
214 | # CONFIG_IPV6_PRIVACY is not set | ||
215 | # CONFIG_INET6_AH is not set | ||
216 | # CONFIG_INET6_ESP is not set | ||
217 | # CONFIG_INET6_IPCOMP is not set | ||
218 | # CONFIG_INET6_TUNNEL is not set | ||
219 | # CONFIG_IPV6_TUNNEL is not set | ||
220 | # CONFIG_NETFILTER is not set | 201 | # CONFIG_NETFILTER is not set |
221 | |||
222 | # | ||
223 | # DCCP Configuration (EXPERIMENTAL) | ||
224 | # | ||
225 | # CONFIG_IP_DCCP is not set | ||
226 | |||
227 | # | ||
228 | # SCTP Configuration (EXPERIMENTAL) | ||
229 | # | ||
230 | # CONFIG_IP_SCTP is not set | ||
231 | # CONFIG_ATM is not set | ||
232 | # CONFIG_BRIDGE is not set | 202 | # CONFIG_BRIDGE is not set |
233 | # CONFIG_VLAN_8021Q is not set | 203 | # CONFIG_VLAN_8021Q is not set |
234 | # CONFIG_DECNET is not set | 204 | # CONFIG_DECNET is not set |
235 | # CONFIG_LLC2 is not set | 205 | # CONFIG_LLC2 is not set |
236 | # CONFIG_IPX is not set | 206 | # CONFIG_IPX is not set |
237 | # CONFIG_ATALK is not set | 207 | # CONFIG_ATALK is not set |
238 | # CONFIG_X25 is not set | ||
239 | # CONFIG_LAPB is not set | ||
240 | # CONFIG_NET_DIVERT is not set | ||
241 | # CONFIG_ECONET is not set | ||
242 | # CONFIG_WAN_ROUTER is not set | ||
243 | # CONFIG_NET_SCHED is not set | 208 | # CONFIG_NET_SCHED is not set |
244 | # CONFIG_NET_CLS_ROUTE is not set | 209 | # CONFIG_NET_CLS_ROUTE is not set |
245 | 210 | ||
@@ -247,7 +212,6 @@ CONFIG_IPV6=y | |||
247 | # Network testing | 212 | # Network testing |
248 | # | 213 | # |
249 | # CONFIG_NET_PKTGEN is not set | 214 | # CONFIG_NET_PKTGEN is not set |
250 | # CONFIG_NETFILTER_NETLINK is not set | ||
251 | # CONFIG_HAMRADIO is not set | 215 | # CONFIG_HAMRADIO is not set |
252 | # CONFIG_IRDA is not set | 216 | # CONFIG_IRDA is not set |
253 | # CONFIG_BT is not set | 217 | # CONFIG_BT is not set |
@@ -269,14 +233,10 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
269 | # Memory Technology Devices (MTD) | 233 | # Memory Technology Devices (MTD) |
270 | # | 234 | # |
271 | CONFIG_MTD=y | 235 | CONFIG_MTD=y |
272 | CONFIG_MTD_DEBUG=y | 236 | # CONFIG_MTD_DEBUG is not set |
273 | CONFIG_MTD_DEBUG_VERBOSE=3 | ||
274 | # CONFIG_MTD_CONCAT is not set | 237 | # CONFIG_MTD_CONCAT is not set |
275 | CONFIG_MTD_PARTITIONS=y | 238 | CONFIG_MTD_PARTITIONS=y |
276 | CONFIG_MTD_REDBOOT_PARTS=m | 239 | # CONFIG_MTD_REDBOOT_PARTS is not set |
277 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2 | ||
278 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | ||
279 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | ||
280 | CONFIG_MTD_CMDLINE_PARTS=y | 240 | CONFIG_MTD_CMDLINE_PARTS=y |
281 | # CONFIG_MTD_AFS_PARTS is not set | 241 | # CONFIG_MTD_AFS_PARTS is not set |
282 | 242 | ||
@@ -292,45 +252,36 @@ CONFIG_MTD_BLOCK=y | |||
292 | # | 252 | # |
293 | # RAM/ROM/Flash chip drivers | 253 | # RAM/ROM/Flash chip drivers |
294 | # | 254 | # |
295 | CONFIG_MTD_CFI=m | 255 | CONFIG_MTD_CFI=y |
296 | # CONFIG_MTD_JEDECPROBE is not set | 256 | # CONFIG_MTD_JEDECPROBE is not set |
297 | CONFIG_MTD_GEN_PROBE=m | 257 | CONFIG_MTD_GEN_PROBE=y |
298 | CONFIG_MTD_CFI_ADV_OPTIONS=y | 258 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set |
299 | CONFIG_MTD_CFI_NOSWAP=y | 259 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
300 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | 260 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
301 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
302 | CONFIG_MTD_CFI_GEOMETRY=y | ||
303 | # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set | ||
304 | # CONFIG_MTD_MAP_BANK_WIDTH_2 is not set | ||
305 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | 261 | CONFIG_MTD_MAP_BANK_WIDTH_4=y |
306 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | 262 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set |
307 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | 263 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set |
308 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | 264 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set |
309 | # CONFIG_MTD_CFI_I1 is not set | 265 | CONFIG_MTD_CFI_I1=y |
310 | CONFIG_MTD_CFI_I2=y | 266 | CONFIG_MTD_CFI_I2=y |
311 | # CONFIG_MTD_CFI_I4 is not set | 267 | # CONFIG_MTD_CFI_I4 is not set |
312 | # CONFIG_MTD_CFI_I8 is not set | 268 | # CONFIG_MTD_CFI_I8 is not set |
313 | # CONFIG_MTD_OTP is not set | 269 | CONFIG_MTD_CFI_INTELEXT=y |
314 | CONFIG_MTD_CFI_INTELEXT=m | 270 | CONFIG_MTD_CFI_AMDSTD=y |
315 | # CONFIG_MTD_CFI_AMDSTD is not set | 271 | CONFIG_MTD_CFI_AMDSTD_RETRY=0 |
316 | # CONFIG_MTD_CFI_STAA is not set | 272 | # CONFIG_MTD_CFI_STAA is not set |
317 | CONFIG_MTD_CFI_UTIL=m | 273 | CONFIG_MTD_CFI_UTIL=y |
318 | # CONFIG_MTD_RAM is not set | 274 | # CONFIG_MTD_RAM is not set |
319 | # CONFIG_MTD_ROM is not set | 275 | # CONFIG_MTD_ROM is not set |
320 | # CONFIG_MTD_ABSENT is not set | 276 | # CONFIG_MTD_ABSENT is not set |
321 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
322 | # CONFIG_MTD_XIP is not set | ||
323 | 277 | ||
324 | # | 278 | # |
325 | # Mapping drivers for chip access | 279 | # Mapping drivers for chip access |
326 | # | 280 | # |
327 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 281 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
328 | CONFIG_MTD_PHYSMAP=m | 282 | # CONFIG_MTD_PHYSMAP is not set |
329 | CONFIG_MTD_PHYSMAP_START=0x0000000 | 283 | CONFIG_MTD_ARM_INTEGRATOR=y |
330 | CONFIG_MTD_PHYSMAP_LEN=0x4000000 | 284 | # CONFIG_MTD_EDB7312 is not set |
331 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
332 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
333 | CONFIG_MTD_EDB7312=m | ||
334 | # CONFIG_MTD_PLATRAM is not set | 285 | # CONFIG_MTD_PLATRAM is not set |
335 | 286 | ||
336 | # | 287 | # |
@@ -340,7 +291,6 @@ CONFIG_MTD_EDB7312=m | |||
340 | # CONFIG_MTD_PHRAM is not set | 291 | # CONFIG_MTD_PHRAM is not set |
341 | # CONFIG_MTD_MTDRAM is not set | 292 | # CONFIG_MTD_MTDRAM is not set |
342 | # CONFIG_MTD_BLKMTD is not set | 293 | # CONFIG_MTD_BLKMTD is not set |
343 | # CONFIG_MTD_BLOCK2MTD is not set | ||
344 | 294 | ||
345 | # | 295 | # |
346 | # Disk-On-Chip Device Drivers | 296 | # Disk-On-Chip Device Drivers |
@@ -352,12 +302,7 @@ CONFIG_MTD_EDB7312=m | |||
352 | # | 302 | # |
353 | # NAND Flash Device Drivers | 303 | # NAND Flash Device Drivers |
354 | # | 304 | # |
355 | CONFIG_MTD_NAND=y | 305 | # CONFIG_MTD_NAND is not set |
356 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
357 | CONFIG_MTD_NAND_MP1000=y | ||
358 | CONFIG_MTD_NAND_IDS=y | ||
359 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
360 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
361 | 306 | ||
362 | # | 307 | # |
363 | # Parallel port support | 308 | # Parallel port support |
@@ -372,53 +317,22 @@ CONFIG_MTD_NAND_IDS=y | |||
372 | # Block devices | 317 | # Block devices |
373 | # | 318 | # |
374 | # CONFIG_BLK_DEV_COW_COMMON is not set | 319 | # CONFIG_BLK_DEV_COW_COMMON is not set |
375 | CONFIG_BLK_DEV_LOOP=m | 320 | # CONFIG_BLK_DEV_LOOP is not set |
376 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
377 | # CONFIG_BLK_DEV_NBD is not set | 321 | # CONFIG_BLK_DEV_NBD is not set |
378 | CONFIG_BLK_DEV_RAM=y | 322 | # CONFIG_BLK_DEV_RAM is not set |
379 | CONFIG_BLK_DEV_RAM_COUNT=2 | 323 | CONFIG_BLK_DEV_RAM_COUNT=16 |
380 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
381 | CONFIG_BLK_DEV_INITRD=y | ||
382 | # CONFIG_CDROM_PKTCDVD is not set | 324 | # CONFIG_CDROM_PKTCDVD is not set |
383 | 325 | ||
384 | # | 326 | # |
385 | # IO Schedulers | 327 | # IO Schedulers |
386 | # | 328 | # |
387 | CONFIG_IOSCHED_NOOP=y | 329 | CONFIG_IOSCHED_NOOP=y |
388 | CONFIG_IOSCHED_AS=y | 330 | # CONFIG_IOSCHED_AS is not set |
389 | CONFIG_IOSCHED_DEADLINE=y | 331 | CONFIG_IOSCHED_DEADLINE=y |
390 | CONFIG_IOSCHED_CFQ=y | 332 | # CONFIG_IOSCHED_CFQ is not set |
391 | # CONFIG_ATA_OVER_ETH is not set | 333 | # CONFIG_ATA_OVER_ETH is not set |
392 | 334 | ||
393 | # | 335 | # |
394 | # ATA/ATAPI/MFM/RLL support | ||
395 | # | ||
396 | CONFIG_IDE=y | ||
397 | CONFIG_BLK_DEV_IDE=y | ||
398 | |||
399 | # | ||
400 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
401 | # | ||
402 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
403 | # CONFIG_BLK_DEV_HD_IDE is not set | ||
404 | CONFIG_BLK_DEV_IDEDISK=y | ||
405 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
406 | # CONFIG_BLK_DEV_IDECD is not set | ||
407 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
408 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
409 | # CONFIG_IDE_TASK_IOCTL is not set | ||
410 | |||
411 | # | ||
412 | # IDE chipset support/bugfixes | ||
413 | # | ||
414 | # CONFIG_IDE_GENERIC is not set | ||
415 | CONFIG_IDE_ARM=y | ||
416 | CONFIG_BLK_DEV_IDE_MP1000=y | ||
417 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
418 | # CONFIG_IDEDMA_AUTO is not set | ||
419 | # CONFIG_BLK_DEV_HD is not set | ||
420 | |||
421 | # | ||
422 | # SCSI device support | 336 | # SCSI device support |
423 | # | 337 | # |
424 | # CONFIG_RAID_ATTRS is not set | 338 | # CONFIG_RAID_ATTRS is not set |
@@ -427,14 +341,7 @@ CONFIG_BLK_DEV_IDE_MP1000=y | |||
427 | # | 341 | # |
428 | # Multi-device support (RAID and LVM) | 342 | # Multi-device support (RAID and LVM) |
429 | # | 343 | # |
430 | CONFIG_MD=y | 344 | # CONFIG_MD is not set |
431 | # CONFIG_BLK_DEV_MD is not set | ||
432 | CONFIG_BLK_DEV_DM=y | ||
433 | # CONFIG_DM_CRYPT is not set | ||
434 | # CONFIG_DM_SNAPSHOT is not set | ||
435 | # CONFIG_DM_MIRROR is not set | ||
436 | # CONFIG_DM_ZERO is not set | ||
437 | # CONFIG_DM_MULTIPATH is not set | ||
438 | 345 | ||
439 | # | 346 | # |
440 | # Fusion MPT device support | 347 | # Fusion MPT device support |
@@ -444,7 +351,6 @@ CONFIG_BLK_DEV_DM=y | |||
444 | # | 351 | # |
445 | # IEEE 1394 (FireWire) support | 352 | # IEEE 1394 (FireWire) support |
446 | # | 353 | # |
447 | # CONFIG_IEEE1394 is not set | ||
448 | 354 | ||
449 | # | 355 | # |
450 | # I2O device support | 356 | # I2O device support |
@@ -468,10 +374,9 @@ CONFIG_NETDEVICES=y | |||
468 | # Ethernet (10 or 100Mbit) | 374 | # Ethernet (10 or 100Mbit) |
469 | # | 375 | # |
470 | CONFIG_NET_ETHERNET=y | 376 | CONFIG_NET_ETHERNET=y |
471 | # CONFIG_MII is not set | 377 | CONFIG_MII=y |
472 | # CONFIG_SMC91X is not set | 378 | CONFIG_SMC91X=y |
473 | # CONFIG_DM9000 is not set | 379 | # CONFIG_DM9000 is not set |
474 | CONFIG_CS89x0=y | ||
475 | 380 | ||
476 | # | 381 | # |
477 | # Ethernet (1000 Mbit) | 382 | # Ethernet (1000 Mbit) |
@@ -496,8 +401,6 @@ CONFIG_CS89x0=y | |||
496 | # CONFIG_WAN is not set | 401 | # CONFIG_WAN is not set |
497 | # CONFIG_PPP is not set | 402 | # CONFIG_PPP is not set |
498 | # CONFIG_SLIP is not set | 403 | # CONFIG_SLIP is not set |
499 | # CONFIG_SHAPER is not set | ||
500 | # CONFIG_NETCONSOLE is not set | ||
501 | # CONFIG_NETPOLL is not set | 404 | # CONFIG_NETPOLL is not set |
502 | # CONFIG_NET_POLL_CONTROLLER is not set | 405 | # CONFIG_NET_POLL_CONTROLLER is not set |
503 | 406 | ||
@@ -514,17 +417,28 @@ CONFIG_INPUT=y | |||
514 | # | 417 | # |
515 | # Userland interfaces | 418 | # Userland interfaces |
516 | # | 419 | # |
517 | # CONFIG_INPUT_MOUSEDEV is not set | 420 | CONFIG_INPUT_MOUSEDEV=y |
421 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
422 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
423 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
518 | # CONFIG_INPUT_JOYDEV is not set | 424 | # CONFIG_INPUT_JOYDEV is not set |
519 | # CONFIG_INPUT_TSDEV is not set | 425 | # CONFIG_INPUT_TSDEV is not set |
520 | # CONFIG_INPUT_EVDEV is not set | 426 | # CONFIG_INPUT_EVDEV is not set |
521 | CONFIG_INPUT_EVBUG=y | 427 | # CONFIG_INPUT_EVBUG is not set |
522 | 428 | ||
523 | # | 429 | # |
524 | # Input Device Drivers | 430 | # Input Device Drivers |
525 | # | 431 | # |
526 | # CONFIG_INPUT_KEYBOARD is not set | 432 | CONFIG_INPUT_KEYBOARD=y |
527 | # CONFIG_INPUT_MOUSE is not set | 433 | CONFIG_KEYBOARD_ATKBD=y |
434 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
435 | # CONFIG_KEYBOARD_LKKBD is not set | ||
436 | # CONFIG_KEYBOARD_XTKBD is not set | ||
437 | # CONFIG_KEYBOARD_NEWTON is not set | ||
438 | CONFIG_INPUT_MOUSE=y | ||
439 | CONFIG_MOUSE_PS2=y | ||
440 | # CONFIG_MOUSE_SERIAL is not set | ||
441 | # CONFIG_MOUSE_VSXXXAA is not set | ||
528 | # CONFIG_INPUT_JOYSTICK is not set | 442 | # CONFIG_INPUT_JOYSTICK is not set |
529 | # CONFIG_INPUT_TOUCHSCREEN is not set | 443 | # CONFIG_INPUT_TOUCHSCREEN is not set |
530 | # CONFIG_INPUT_MISC is not set | 444 | # CONFIG_INPUT_MISC is not set |
@@ -533,8 +447,9 @@ CONFIG_INPUT_EVBUG=y | |||
533 | # Hardware I/O ports | 447 | # Hardware I/O ports |
534 | # | 448 | # |
535 | CONFIG_SERIO=y | 449 | CONFIG_SERIO=y |
536 | CONFIG_SERIO_SERPORT=y | 450 | # CONFIG_SERIO_SERPORT is not set |
537 | # CONFIG_SERIO_LIBPS2 is not set | 451 | CONFIG_SERIO_AMBAKMI=y |
452 | CONFIG_SERIO_LIBPS2=y | ||
538 | # CONFIG_SERIO_RAW is not set | 453 | # CONFIG_SERIO_RAW is not set |
539 | # CONFIG_GAMEPORT is not set | 454 | # CONFIG_GAMEPORT is not set |
540 | 455 | ||
@@ -549,21 +464,19 @@ CONFIG_HW_CONSOLE=y | |||
549 | # | 464 | # |
550 | # Serial drivers | 465 | # Serial drivers |
551 | # | 466 | # |
552 | CONFIG_SERIAL_8250=y | 467 | # CONFIG_SERIAL_8250 is not set |
553 | CONFIG_SERIAL_8250_CONSOLE=y | ||
554 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
555 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
556 | 468 | ||
557 | # | 469 | # |
558 | # Non-8250 serial port support | 470 | # Non-8250 serial port support |
559 | # | 471 | # |
560 | CONFIG_SERIAL_CLPS711X=y | 472 | # CONFIG_SERIAL_AMBA_PL010 is not set |
561 | CONFIG_SERIAL_CLPS711X_CONSOLE=y | 473 | CONFIG_SERIAL_AMBA_PL011=y |
474 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | ||
562 | CONFIG_SERIAL_CORE=y | 475 | CONFIG_SERIAL_CORE=y |
563 | CONFIG_SERIAL_CORE_CONSOLE=y | 476 | CONFIG_SERIAL_CORE_CONSOLE=y |
564 | CONFIG_UNIX98_PTYS=y | 477 | CONFIG_UNIX98_PTYS=y |
565 | CONFIG_LEGACY_PTYS=y | 478 | CONFIG_LEGACY_PTYS=y |
566 | CONFIG_LEGACY_PTY_COUNT=256 | 479 | CONFIG_LEGACY_PTY_COUNT=16 |
567 | 480 | ||
568 | # | 481 | # |
569 | # IPMI | 482 | # IPMI |
@@ -574,8 +487,8 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
574 | # Watchdog Cards | 487 | # Watchdog Cards |
575 | # | 488 | # |
576 | # CONFIG_WATCHDOG is not set | 489 | # CONFIG_WATCHDOG is not set |
577 | CONFIG_NVRAM=y | 490 | # CONFIG_NVRAM is not set |
578 | CONFIG_RTC=y | 491 | # CONFIG_RTC is not set |
579 | # CONFIG_DTLK is not set | 492 | # CONFIG_DTLK is not set |
580 | # CONFIG_R3964 is not set | 493 | # CONFIG_R3964 is not set |
581 | 494 | ||
@@ -596,9 +509,8 @@ CONFIG_RTC=y | |||
596 | # | 509 | # |
597 | # Hardware Monitoring support | 510 | # Hardware Monitoring support |
598 | # | 511 | # |
599 | CONFIG_HWMON=y | 512 | # CONFIG_HWMON is not set |
600 | # CONFIG_HWMON_VID is not set | 513 | # CONFIG_HWMON_VID is not set |
601 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
602 | 514 | ||
603 | # | 515 | # |
604 | # Misc devices | 516 | # Misc devices |
@@ -621,18 +533,72 @@ CONFIG_HWMON=y | |||
621 | # | 533 | # |
622 | # Graphics support | 534 | # Graphics support |
623 | # | 535 | # |
624 | # CONFIG_FB is not set | 536 | CONFIG_FB=y |
537 | CONFIG_FB_CFB_FILLRECT=y | ||
538 | CONFIG_FB_CFB_COPYAREA=y | ||
539 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
540 | CONFIG_FB_SOFT_CURSOR=y | ||
541 | # CONFIG_FB_MACMODES is not set | ||
542 | # CONFIG_FB_MODE_HELPERS is not set | ||
543 | # CONFIG_FB_TILEBLITTING is not set | ||
544 | CONFIG_FB_ARMCLCD=y | ||
545 | # CONFIG_FB_S1D13XXX is not set | ||
546 | # CONFIG_FB_VIRTUAL is not set | ||
625 | 547 | ||
626 | # | 548 | # |
627 | # Console display driver support | 549 | # Console display driver support |
628 | # | 550 | # |
629 | # CONFIG_VGA_CONSOLE is not set | 551 | # CONFIG_VGA_CONSOLE is not set |
630 | CONFIG_DUMMY_CONSOLE=y | 552 | CONFIG_DUMMY_CONSOLE=y |
553 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
554 | # CONFIG_FONTS is not set | ||
555 | CONFIG_FONT_8x8=y | ||
556 | CONFIG_FONT_8x16=y | ||
557 | |||
558 | # | ||
559 | # Logo configuration | ||
560 | # | ||
561 | CONFIG_LOGO=y | ||
562 | # CONFIG_LOGO_LINUX_MONO is not set | ||
563 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
564 | CONFIG_LOGO_LINUX_CLUT224=y | ||
565 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
631 | 566 | ||
632 | # | 567 | # |
633 | # Sound | 568 | # Sound |
634 | # | 569 | # |
635 | # CONFIG_SOUND is not set | 570 | CONFIG_SOUND=y |
571 | |||
572 | # | ||
573 | # Advanced Linux Sound Architecture | ||
574 | # | ||
575 | CONFIG_SND=y | ||
576 | CONFIG_SND_TIMER=y | ||
577 | CONFIG_SND_PCM=y | ||
578 | # CONFIG_SND_SEQUENCER is not set | ||
579 | CONFIG_SND_OSSEMUL=y | ||
580 | CONFIG_SND_MIXER_OSS=y | ||
581 | CONFIG_SND_PCM_OSS=y | ||
582 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
583 | # CONFIG_SND_DEBUG is not set | ||
584 | |||
585 | # | ||
586 | # Generic devices | ||
587 | # | ||
588 | # CONFIG_SND_DUMMY is not set | ||
589 | # CONFIG_SND_MTPAV is not set | ||
590 | # CONFIG_SND_SERIAL_U16550 is not set | ||
591 | # CONFIG_SND_MPU401 is not set | ||
592 | |||
593 | # | ||
594 | # ALSA ARM devices | ||
595 | # | ||
596 | # CONFIG_SND_ARMAACI is not set | ||
597 | |||
598 | # | ||
599 | # Open Sound System | ||
600 | # | ||
601 | # CONFIG_SOUND_PRIME is not set | ||
636 | 602 | ||
637 | # | 603 | # |
638 | # USB support | 604 | # USB support |
@@ -654,32 +620,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
654 | # | 620 | # |
655 | # File systems | 621 | # File systems |
656 | # | 622 | # |
657 | CONFIG_EXT2_FS=y | 623 | # CONFIG_EXT2_FS is not set |
658 | CONFIG_EXT2_FS_XATTR=y | 624 | # CONFIG_EXT3_FS is not set |
659 | # CONFIG_EXT2_FS_POSIX_ACL is not set | 625 | # CONFIG_JBD is not set |
660 | # CONFIG_EXT2_FS_SECURITY is not set | 626 | # CONFIG_REISERFS_FS is not set |
661 | # CONFIG_EXT2_FS_XIP is not set | ||
662 | CONFIG_EXT3_FS=y | ||
663 | CONFIG_EXT3_FS_XATTR=y | ||
664 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
665 | # CONFIG_EXT3_FS_SECURITY is not set | ||
666 | CONFIG_JBD=y | ||
667 | # CONFIG_JBD_DEBUG is not set | ||
668 | CONFIG_FS_MBCACHE=y | ||
669 | CONFIG_REISERFS_FS=m | ||
670 | # CONFIG_REISERFS_CHECK is not set | ||
671 | # CONFIG_REISERFS_PROC_INFO is not set | ||
672 | # CONFIG_REISERFS_FS_XATTR is not set | ||
673 | # CONFIG_JFS_FS is not set | 627 | # CONFIG_JFS_FS is not set |
674 | CONFIG_FS_POSIX_ACL=y | 628 | # CONFIG_FS_POSIX_ACL is not set |
675 | # CONFIG_XFS_FS is not set | 629 | # CONFIG_XFS_FS is not set |
676 | # CONFIG_MINIX_FS is not set | 630 | # CONFIG_MINIX_FS is not set |
677 | # CONFIG_ROMFS_FS is not set | 631 | # CONFIG_ROMFS_FS is not set |
678 | CONFIG_INOTIFY=y | 632 | CONFIG_INOTIFY=y |
679 | CONFIG_QUOTA=y | 633 | # CONFIG_QUOTA is not set |
680 | # CONFIG_QFMT_V1 is not set | ||
681 | # CONFIG_QFMT_V2 is not set | ||
682 | CONFIG_QUOTACTL=y | ||
683 | CONFIG_DNOTIFY=y | 634 | CONFIG_DNOTIFY=y |
684 | # CONFIG_AUTOFS_FS is not set | 635 | # CONFIG_AUTOFS_FS is not set |
685 | # CONFIG_AUTOFS4_FS is not set | 636 | # CONFIG_AUTOFS4_FS is not set |
@@ -694,8 +645,11 @@ CONFIG_DNOTIFY=y | |||
694 | # | 645 | # |
695 | # DOS/FAT/NT Filesystems | 646 | # DOS/FAT/NT Filesystems |
696 | # | 647 | # |
648 | CONFIG_FAT_FS=y | ||
697 | # CONFIG_MSDOS_FS is not set | 649 | # CONFIG_MSDOS_FS is not set |
698 | # CONFIG_VFAT_FS is not set | 650 | CONFIG_VFAT_FS=y |
651 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
652 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
699 | # CONFIG_NTFS_FS is not set | 653 | # CONFIG_NTFS_FS is not set |
700 | 654 | ||
701 | # | 655 | # |
@@ -704,7 +658,6 @@ CONFIG_DNOTIFY=y | |||
704 | CONFIG_PROC_FS=y | 658 | CONFIG_PROC_FS=y |
705 | CONFIG_SYSFS=y | 659 | CONFIG_SYSFS=y |
706 | CONFIG_TMPFS=y | 660 | CONFIG_TMPFS=y |
707 | # CONFIG_HUGETLBFS is not set | ||
708 | # CONFIG_HUGETLB_PAGE is not set | 661 | # CONFIG_HUGETLB_PAGE is not set |
709 | CONFIG_RAMFS=y | 662 | CONFIG_RAMFS=y |
710 | # CONFIG_RELAYFS_FS is not set | 663 | # CONFIG_RELAYFS_FS is not set |
@@ -712,22 +665,10 @@ CONFIG_RAMFS=y | |||
712 | # | 665 | # |
713 | # Miscellaneous filesystems | 666 | # Miscellaneous filesystems |
714 | # | 667 | # |
715 | # CONFIG_ADFS_FS is not set | ||
716 | # CONFIG_AFFS_FS is not set | ||
717 | # CONFIG_HFS_FS is not set | ||
718 | # CONFIG_HFSPLUS_FS is not set | 668 | # CONFIG_HFSPLUS_FS is not set |
719 | # CONFIG_BEFS_FS is not set | ||
720 | # CONFIG_BFS_FS is not set | ||
721 | # CONFIG_EFS_FS is not set | ||
722 | # CONFIG_JFFS_FS is not set | 669 | # CONFIG_JFFS_FS is not set |
723 | CONFIG_JFFS2_FS=m | 670 | # CONFIG_JFFS2_FS is not set |
724 | CONFIG_JFFS2_FS_DEBUG=0 | 671 | CONFIG_CRAMFS=y |
725 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
726 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
727 | CONFIG_JFFS2_ZLIB=y | ||
728 | CONFIG_JFFS2_RTIME=y | ||
729 | # CONFIG_JFFS2_RUBIN is not set | ||
730 | CONFIG_CRAMFS=m | ||
731 | # CONFIG_VXFS_FS is not set | 672 | # CONFIG_VXFS_FS is not set |
732 | # CONFIG_HPFS_FS is not set | 673 | # CONFIG_HPFS_FS is not set |
733 | # CONFIG_QNX4FS_FS is not set | 674 | # CONFIG_QNX4FS_FS is not set |
@@ -740,32 +681,16 @@ CONFIG_CRAMFS=m | |||
740 | CONFIG_NFS_FS=y | 681 | CONFIG_NFS_FS=y |
741 | CONFIG_NFS_V3=y | 682 | CONFIG_NFS_V3=y |
742 | # CONFIG_NFS_V3_ACL is not set | 683 | # CONFIG_NFS_V3_ACL is not set |
743 | CONFIG_NFS_V4=y | 684 | # CONFIG_NFSD is not set |
744 | # CONFIG_NFS_DIRECTIO is not set | ||
745 | CONFIG_NFSD=y | ||
746 | CONFIG_NFSD_V3=y | ||
747 | # CONFIG_NFSD_V3_ACL is not set | ||
748 | CONFIG_NFSD_V4=y | ||
749 | CONFIG_NFSD_TCP=y | ||
750 | CONFIG_ROOT_NFS=y | 685 | CONFIG_ROOT_NFS=y |
751 | CONFIG_LOCKD=y | 686 | CONFIG_LOCKD=y |
752 | CONFIG_LOCKD_V4=y | 687 | CONFIG_LOCKD_V4=y |
753 | CONFIG_EXPORTFS=y | ||
754 | CONFIG_NFS_COMMON=y | 688 | CONFIG_NFS_COMMON=y |
755 | CONFIG_SUNRPC=y | 689 | CONFIG_SUNRPC=y |
756 | CONFIG_SUNRPC_GSS=y | 690 | # CONFIG_SMB_FS is not set |
757 | CONFIG_RPCSEC_GSS_KRB5=y | 691 | # CONFIG_CIFS is not set |
758 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
759 | CONFIG_SMB_FS=m | ||
760 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
761 | CONFIG_CIFS=m | ||
762 | # CONFIG_CIFS_STATS is not set | ||
763 | # CONFIG_CIFS_XATTR is not set | ||
764 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
765 | # CONFIG_NCP_FS is not set | 692 | # CONFIG_NCP_FS is not set |
766 | # CONFIG_CODA_FS is not set | 693 | # CONFIG_CODA_FS is not set |
767 | # CONFIG_AFS_FS is not set | ||
768 | # CONFIG_9P_FS is not set | ||
769 | 694 | ||
770 | # | 695 | # |
771 | # Partition Types | 696 | # Partition Types |
@@ -802,7 +727,7 @@ CONFIG_NLS_CODEPAGE_437=y | |||
802 | # CONFIG_NLS_CODEPAGE_1250 is not set | 727 | # CONFIG_NLS_CODEPAGE_1250 is not set |
803 | # CONFIG_NLS_CODEPAGE_1251 is not set | 728 | # CONFIG_NLS_CODEPAGE_1251 is not set |
804 | # CONFIG_NLS_ASCII is not set | 729 | # CONFIG_NLS_ASCII is not set |
805 | # CONFIG_NLS_ISO8859_1 is not set | 730 | CONFIG_NLS_ISO8859_1=y |
806 | # CONFIG_NLS_ISO8859_2 is not set | 731 | # CONFIG_NLS_ISO8859_2 is not set |
807 | # CONFIG_NLS_ISO8859_3 is not set | 732 | # CONFIG_NLS_ISO8859_3 is not set |
808 | # CONFIG_NLS_ISO8859_4 is not set | 733 | # CONFIG_NLS_ISO8859_4 is not set |
@@ -818,34 +743,26 @@ CONFIG_NLS_CODEPAGE_437=y | |||
818 | # CONFIG_NLS_UTF8 is not set | 743 | # CONFIG_NLS_UTF8 is not set |
819 | 744 | ||
820 | # | 745 | # |
821 | # Profiling support | ||
822 | # | ||
823 | # CONFIG_PROFILING is not set | ||
824 | |||
825 | # | ||
826 | # Kernel hacking | 746 | # Kernel hacking |
827 | # | 747 | # |
828 | CONFIG_PRINTK_TIME=y | 748 | # CONFIG_PRINTK_TIME is not set |
829 | CONFIG_DEBUG_KERNEL=y | 749 | CONFIG_DEBUG_KERNEL=y |
830 | # CONFIG_MAGIC_SYSRQ is not set | 750 | CONFIG_MAGIC_SYSRQ=y |
831 | CONFIG_LOG_BUF_SHIFT=14 | 751 | CONFIG_LOG_BUF_SHIFT=14 |
832 | CONFIG_DETECT_SOFTLOCKUP=y | 752 | CONFIG_DETECT_SOFTLOCKUP=y |
833 | # CONFIG_SCHEDSTATS is not set | 753 | # CONFIG_SCHEDSTATS is not set |
834 | # CONFIG_DEBUG_SLAB is not set | 754 | # CONFIG_DEBUG_SLAB is not set |
835 | CONFIG_DEBUG_PREEMPT=y | ||
836 | # CONFIG_DEBUG_SPINLOCK is not set | 755 | # CONFIG_DEBUG_SPINLOCK is not set |
837 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 756 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
838 | # CONFIG_DEBUG_KOBJECT is not set | 757 | # CONFIG_DEBUG_KOBJECT is not set |
839 | # CONFIG_DEBUG_BUGVERBOSE is not set | 758 | CONFIG_DEBUG_BUGVERBOSE=y |
840 | CONFIG_DEBUG_INFO=y | 759 | # CONFIG_DEBUG_INFO is not set |
841 | # CONFIG_DEBUG_FS is not set | 760 | # CONFIG_DEBUG_FS is not set |
842 | CONFIG_FRAME_POINTER=y | 761 | CONFIG_FRAME_POINTER=y |
843 | CONFIG_DEBUG_USER=y | 762 | CONFIG_DEBUG_USER=y |
844 | CONFIG_DEBUG_WAITQ=y | 763 | # CONFIG_DEBUG_WAITQ is not set |
845 | CONFIG_DEBUG_ERRORS=y | 764 | CONFIG_DEBUG_ERRORS=y |
846 | CONFIG_DEBUG_LL=y | 765 | # CONFIG_DEBUG_LL is not set |
847 | # CONFIG_DEBUG_ICEDCC is not set | ||
848 | # CONFIG_DEBUG_CLPS711X_UART2 is not set | ||
849 | 766 | ||
850 | # | 767 | # |
851 | # Security options | 768 | # Security options |
@@ -856,31 +773,7 @@ CONFIG_DEBUG_LL=y | |||
856 | # | 773 | # |
857 | # Cryptographic options | 774 | # Cryptographic options |
858 | # | 775 | # |
859 | CONFIG_CRYPTO=y | 776 | # CONFIG_CRYPTO is not set |
860 | # CONFIG_CRYPTO_HMAC is not set | ||
861 | # CONFIG_CRYPTO_NULL is not set | ||
862 | # CONFIG_CRYPTO_MD4 is not set | ||
863 | CONFIG_CRYPTO_MD5=y | ||
864 | # CONFIG_CRYPTO_SHA1 is not set | ||
865 | # CONFIG_CRYPTO_SHA256 is not set | ||
866 | # CONFIG_CRYPTO_SHA512 is not set | ||
867 | # CONFIG_CRYPTO_WP512 is not set | ||
868 | # CONFIG_CRYPTO_TGR192 is not set | ||
869 | CONFIG_CRYPTO_DES=y | ||
870 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
871 | # CONFIG_CRYPTO_TWOFISH is not set | ||
872 | # CONFIG_CRYPTO_SERPENT is not set | ||
873 | # CONFIG_CRYPTO_AES is not set | ||
874 | # CONFIG_CRYPTO_CAST5 is not set | ||
875 | # CONFIG_CRYPTO_CAST6 is not set | ||
876 | # CONFIG_CRYPTO_TEA is not set | ||
877 | # CONFIG_CRYPTO_ARC4 is not set | ||
878 | # CONFIG_CRYPTO_KHAZAD is not set | ||
879 | # CONFIG_CRYPTO_ANUBIS is not set | ||
880 | # CONFIG_CRYPTO_DEFLATE is not set | ||
881 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
882 | # CONFIG_CRYPTO_CRC32C is not set | ||
883 | # CONFIG_CRYPTO_TEST is not set | ||
884 | 777 | ||
885 | # | 778 | # |
886 | # Hardware crypto devices | 779 | # Hardware crypto devices |
@@ -893,5 +786,4 @@ CONFIG_CRYPTO_DES=y | |||
893 | # CONFIG_CRC16 is not set | 786 | # CONFIG_CRC16 is not set |
894 | CONFIG_CRC32=y | 787 | CONFIG_CRC32=y |
895 | # CONFIG_LIBCRC32C is not set | 788 | # CONFIG_LIBCRC32C is not set |
896 | CONFIG_ZLIB_INFLATE=m | 789 | CONFIG_ZLIB_INFLATE=y |
897 | CONFIG_ZLIB_DEFLATE=m | ||
diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h index 64a988c1ad44..f35d91fbe117 100644 --- a/arch/arm/lib/bitops.h +++ b/arch/arm/lib/bitops.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/config.h> | 1 | #include <linux/config.h> |
2 | 2 | ||
3 | #if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_MPCORE) | 3 | #if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_32v6K) |
4 | .macro bitop, instr | 4 | .macro bitop, instr |
5 | mov r2, #1 | 5 | mov r2, #1 |
6 | and r3, r0, #7 @ Get bit offset | 6 | and r3, r0, #7 @ Get bit offset |
diff --git a/arch/arm/lib/uaccess.S b/arch/arm/lib/uaccess.S index c28449157bea..6f1b5b49fe4c 100644 --- a/arch/arm/lib/uaccess.S +++ b/arch/arm/lib/uaccess.S | |||
@@ -43,8 +43,6 @@ ENTRY(__arch_copy_to_user) | |||
43 | stmfd sp!, {r2, r4 - r7, lr} | 43 | stmfd sp!, {r2, r4 - r7, lr} |
44 | cmp r2, #4 | 44 | cmp r2, #4 |
45 | blt .c2u_not_enough | 45 | blt .c2u_not_enough |
46 | PLD( pld [r1, #0] ) | ||
47 | PLD( pld [r0, #0] ) | ||
48 | ands ip, r0, #3 | 46 | ands ip, r0, #3 |
49 | bne .c2u_dest_not_aligned | 47 | bne .c2u_dest_not_aligned |
50 | .c2u_dest_aligned: | 48 | .c2u_dest_aligned: |
@@ -73,25 +71,13 @@ USER( strt r3, [r0], #4) @ May fault | |||
73 | sub r2, r2, ip | 71 | sub r2, r2, ip |
74 | subs ip, ip, #32 | 72 | subs ip, ip, #32 |
75 | blt .c2u_0rem8lp | 73 | blt .c2u_0rem8lp |
76 | PLD( pld [r1, #28] ) | 74 | |
77 | PLD( pld [r0, #28] ) | 75 | .c2u_0cpy8lp: ldmia r1!, {r3 - r6} |
78 | PLD( subs ip, ip, #64 ) | ||
79 | PLD( blt .c2u_0cpynopld ) | ||
80 | PLD( pld [r1, #60] ) | ||
81 | PLD( pld [r0, #60] ) | ||
82 | |||
83 | .c2u_0cpy8lp: | ||
84 | PLD( pld [r1, #92] ) | ||
85 | PLD( pld [r0, #92] ) | ||
86 | .c2u_0cpynopld: ldmia r1!, {r3 - r6} | ||
87 | stmia r0!, {r3 - r6} @ Shouldnt fault | 76 | stmia r0!, {r3 - r6} @ Shouldnt fault |
88 | ldmia r1!, {r3 - r6} | 77 | ldmia r1!, {r3 - r6} |
89 | subs ip, ip, #32 | 78 | subs ip, ip, #32 |
90 | stmia r0!, {r3 - r6} @ Shouldnt fault | 79 | stmia r0!, {r3 - r6} @ Shouldnt fault |
91 | bpl .c2u_0cpy8lp | 80 | bpl .c2u_0cpy8lp |
92 | PLD( cmn ip, #64 ) | ||
93 | PLD( bge .c2u_0cpynopld ) | ||
94 | PLD( add ip, ip, #64 ) | ||
95 | 81 | ||
96 | .c2u_0rem8lp: cmn ip, #16 | 82 | .c2u_0rem8lp: cmn ip, #16 |
97 | ldmgeia r1!, {r3 - r6} | 83 | ldmgeia r1!, {r3 - r6} |
@@ -143,17 +129,8 @@ USER( strt r3, [r0], #4) @ May fault | |||
143 | sub r2, r2, ip | 129 | sub r2, r2, ip |
144 | subs ip, ip, #16 | 130 | subs ip, ip, #16 |
145 | blt .c2u_1rem8lp | 131 | blt .c2u_1rem8lp |
146 | PLD( pld [r1, #12] ) | 132 | |
147 | PLD( pld [r0, #12] ) | 133 | .c2u_1cpy8lp: mov r3, r7, pull #8 |
148 | PLD( subs ip, ip, #32 ) | ||
149 | PLD( blt .c2u_1cpynopld ) | ||
150 | PLD( pld [r1, #28] ) | ||
151 | PLD( pld [r0, #28] ) | ||
152 | |||
153 | .c2u_1cpy8lp: | ||
154 | PLD( pld [r1, #44] ) | ||
155 | PLD( pld [r0, #44] ) | ||
156 | .c2u_1cpynopld: mov r3, r7, pull #8 | ||
157 | ldmia r1!, {r4 - r7} | 134 | ldmia r1!, {r4 - r7} |
158 | subs ip, ip, #16 | 135 | subs ip, ip, #16 |
159 | orr r3, r3, r4, push #24 | 136 | orr r3, r3, r4, push #24 |
@@ -165,9 +142,6 @@ USER( strt r3, [r0], #4) @ May fault | |||
165 | orr r6, r6, r7, push #24 | 142 | orr r6, r6, r7, push #24 |
166 | stmia r0!, {r3 - r6} @ Shouldnt fault | 143 | stmia r0!, {r3 - r6} @ Shouldnt fault |
167 | bpl .c2u_1cpy8lp | 144 | bpl .c2u_1cpy8lp |
168 | PLD( cmn ip, #32 ) | ||
169 | PLD( bge .c2u_1cpynopld ) | ||
170 | PLD( add ip, ip, #32 ) | ||
171 | 145 | ||
172 | .c2u_1rem8lp: tst ip, #8 | 146 | .c2u_1rem8lp: tst ip, #8 |
173 | movne r3, r7, pull #8 | 147 | movne r3, r7, pull #8 |
@@ -210,17 +184,8 @@ USER( strt r3, [r0], #4) @ May fault | |||
210 | sub r2, r2, ip | 184 | sub r2, r2, ip |
211 | subs ip, ip, #16 | 185 | subs ip, ip, #16 |
212 | blt .c2u_2rem8lp | 186 | blt .c2u_2rem8lp |
213 | PLD( pld [r1, #12] ) | 187 | |
214 | PLD( pld [r0, #12] ) | 188 | .c2u_2cpy8lp: mov r3, r7, pull #16 |
215 | PLD( subs ip, ip, #32 ) | ||
216 | PLD( blt .c2u_2cpynopld ) | ||
217 | PLD( pld [r1, #28] ) | ||
218 | PLD( pld [r0, #28] ) | ||
219 | |||
220 | .c2u_2cpy8lp: | ||
221 | PLD( pld [r1, #44] ) | ||
222 | PLD( pld [r0, #44] ) | ||
223 | .c2u_2cpynopld: mov r3, r7, pull #16 | ||
224 | ldmia r1!, {r4 - r7} | 189 | ldmia r1!, {r4 - r7} |
225 | subs ip, ip, #16 | 190 | subs ip, ip, #16 |
226 | orr r3, r3, r4, push #16 | 191 | orr r3, r3, r4, push #16 |
@@ -232,9 +197,6 @@ USER( strt r3, [r0], #4) @ May fault | |||
232 | orr r6, r6, r7, push #16 | 197 | orr r6, r6, r7, push #16 |
233 | stmia r0!, {r3 - r6} @ Shouldnt fault | 198 | stmia r0!, {r3 - r6} @ Shouldnt fault |
234 | bpl .c2u_2cpy8lp | 199 | bpl .c2u_2cpy8lp |
235 | PLD( cmn ip, #32 ) | ||
236 | PLD( bge .c2u_2cpynopld ) | ||
237 | PLD( add ip, ip, #32 ) | ||
238 | 200 | ||
239 | .c2u_2rem8lp: tst ip, #8 | 201 | .c2u_2rem8lp: tst ip, #8 |
240 | movne r3, r7, pull #16 | 202 | movne r3, r7, pull #16 |
@@ -277,17 +239,8 @@ USER( strt r3, [r0], #4) @ May fault | |||
277 | sub r2, r2, ip | 239 | sub r2, r2, ip |
278 | subs ip, ip, #16 | 240 | subs ip, ip, #16 |
279 | blt .c2u_3rem8lp | 241 | blt .c2u_3rem8lp |
280 | PLD( pld [r1, #12] ) | 242 | |
281 | PLD( pld [r0, #12] ) | 243 | .c2u_3cpy8lp: mov r3, r7, pull #24 |
282 | PLD( subs ip, ip, #32 ) | ||
283 | PLD( blt .c2u_3cpynopld ) | ||
284 | PLD( pld [r1, #28] ) | ||
285 | PLD( pld [r0, #28] ) | ||
286 | |||
287 | .c2u_3cpy8lp: | ||
288 | PLD( pld [r1, #44] ) | ||
289 | PLD( pld [r0, #44] ) | ||
290 | .c2u_3cpynopld: mov r3, r7, pull #24 | ||
291 | ldmia r1!, {r4 - r7} | 244 | ldmia r1!, {r4 - r7} |
292 | subs ip, ip, #16 | 245 | subs ip, ip, #16 |
293 | orr r3, r3, r4, push #8 | 246 | orr r3, r3, r4, push #8 |
@@ -299,9 +252,6 @@ USER( strt r3, [r0], #4) @ May fault | |||
299 | orr r6, r6, r7, push #8 | 252 | orr r6, r6, r7, push #8 |
300 | stmia r0!, {r3 - r6} @ Shouldnt fault | 253 | stmia r0!, {r3 - r6} @ Shouldnt fault |
301 | bpl .c2u_3cpy8lp | 254 | bpl .c2u_3cpy8lp |
302 | PLD( cmn ip, #32 ) | ||
303 | PLD( bge .c2u_3cpynopld ) | ||
304 | PLD( add ip, ip, #32 ) | ||
305 | 255 | ||
306 | .c2u_3rem8lp: tst ip, #8 | 256 | .c2u_3rem8lp: tst ip, #8 |
307 | movne r3, r7, pull #24 | 257 | movne r3, r7, pull #24 |
@@ -356,8 +306,6 @@ ENTRY(__arch_copy_from_user) | |||
356 | stmfd sp!, {r0, r2, r4 - r7, lr} | 306 | stmfd sp!, {r0, r2, r4 - r7, lr} |
357 | cmp r2, #4 | 307 | cmp r2, #4 |
358 | blt .cfu_not_enough | 308 | blt .cfu_not_enough |
359 | PLD( pld [r1, #0] ) | ||
360 | PLD( pld [r0, #0] ) | ||
361 | ands ip, r0, #3 | 309 | ands ip, r0, #3 |
362 | bne .cfu_dest_not_aligned | 310 | bne .cfu_dest_not_aligned |
363 | .cfu_dest_aligned: | 311 | .cfu_dest_aligned: |
@@ -385,25 +333,13 @@ USER( ldrt r3, [r1], #4) | |||
385 | sub r2, r2, ip | 333 | sub r2, r2, ip |
386 | subs ip, ip, #32 | 334 | subs ip, ip, #32 |
387 | blt .cfu_0rem8lp | 335 | blt .cfu_0rem8lp |
388 | PLD( pld [r1, #28] ) | 336 | |
389 | PLD( pld [r0, #28] ) | 337 | .cfu_0cpy8lp: ldmia r1!, {r3 - r6} @ Shouldnt fault |
390 | PLD( subs ip, ip, #64 ) | ||
391 | PLD( blt .cfu_0cpynopld ) | ||
392 | PLD( pld [r1, #60] ) | ||
393 | PLD( pld [r0, #60] ) | ||
394 | |||
395 | .cfu_0cpy8lp: | ||
396 | PLD( pld [r1, #92] ) | ||
397 | PLD( pld [r0, #92] ) | ||
398 | .cfu_0cpynopld: ldmia r1!, {r3 - r6} @ Shouldnt fault | ||
399 | stmia r0!, {r3 - r6} | 338 | stmia r0!, {r3 - r6} |
400 | ldmia r1!, {r3 - r6} @ Shouldnt fault | 339 | ldmia r1!, {r3 - r6} @ Shouldnt fault |
401 | subs ip, ip, #32 | 340 | subs ip, ip, #32 |
402 | stmia r0!, {r3 - r6} | 341 | stmia r0!, {r3 - r6} |
403 | bpl .cfu_0cpy8lp | 342 | bpl .cfu_0cpy8lp |
404 | PLD( cmn ip, #64 ) | ||
405 | PLD( bge .cfu_0cpynopld ) | ||
406 | PLD( add ip, ip, #64 ) | ||
407 | 343 | ||
408 | .cfu_0rem8lp: cmn ip, #16 | 344 | .cfu_0rem8lp: cmn ip, #16 |
409 | ldmgeia r1!, {r3 - r6} @ Shouldnt fault | 345 | ldmgeia r1!, {r3 - r6} @ Shouldnt fault |
@@ -456,17 +392,8 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
456 | sub r2, r2, ip | 392 | sub r2, r2, ip |
457 | subs ip, ip, #16 | 393 | subs ip, ip, #16 |
458 | blt .cfu_1rem8lp | 394 | blt .cfu_1rem8lp |
459 | PLD( pld [r1, #12] ) | 395 | |
460 | PLD( pld [r0, #12] ) | 396 | .cfu_1cpy8lp: mov r3, r7, pull #8 |
461 | PLD( subs ip, ip, #32 ) | ||
462 | PLD( blt .cfu_1cpynopld ) | ||
463 | PLD( pld [r1, #28] ) | ||
464 | PLD( pld [r0, #28] ) | ||
465 | |||
466 | .cfu_1cpy8lp: | ||
467 | PLD( pld [r1, #44] ) | ||
468 | PLD( pld [r0, #44] ) | ||
469 | .cfu_1cpynopld: mov r3, r7, pull #8 | ||
470 | ldmia r1!, {r4 - r7} @ Shouldnt fault | 397 | ldmia r1!, {r4 - r7} @ Shouldnt fault |
471 | subs ip, ip, #16 | 398 | subs ip, ip, #16 |
472 | orr r3, r3, r4, push #24 | 399 | orr r3, r3, r4, push #24 |
@@ -478,9 +405,6 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
478 | orr r6, r6, r7, push #24 | 405 | orr r6, r6, r7, push #24 |
479 | stmia r0!, {r3 - r6} | 406 | stmia r0!, {r3 - r6} |
480 | bpl .cfu_1cpy8lp | 407 | bpl .cfu_1cpy8lp |
481 | PLD( cmn ip, #32 ) | ||
482 | PLD( bge .cfu_1cpynopld ) | ||
483 | PLD( add ip, ip, #32 ) | ||
484 | 408 | ||
485 | .cfu_1rem8lp: tst ip, #8 | 409 | .cfu_1rem8lp: tst ip, #8 |
486 | movne r3, r7, pull #8 | 410 | movne r3, r7, pull #8 |
@@ -523,17 +447,8 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
523 | sub r2, r2, ip | 447 | sub r2, r2, ip |
524 | subs ip, ip, #16 | 448 | subs ip, ip, #16 |
525 | blt .cfu_2rem8lp | 449 | blt .cfu_2rem8lp |
526 | PLD( pld [r1, #12] ) | 450 | |
527 | PLD( pld [r0, #12] ) | 451 | .cfu_2cpy8lp: mov r3, r7, pull #16 |
528 | PLD( subs ip, ip, #32 ) | ||
529 | PLD( blt .cfu_2cpynopld ) | ||
530 | PLD( pld [r1, #28] ) | ||
531 | PLD( pld [r0, #28] ) | ||
532 | |||
533 | .cfu_2cpy8lp: | ||
534 | PLD( pld [r1, #44] ) | ||
535 | PLD( pld [r0, #44] ) | ||
536 | .cfu_2cpynopld: mov r3, r7, pull #16 | ||
537 | ldmia r1!, {r4 - r7} @ Shouldnt fault | 452 | ldmia r1!, {r4 - r7} @ Shouldnt fault |
538 | subs ip, ip, #16 | 453 | subs ip, ip, #16 |
539 | orr r3, r3, r4, push #16 | 454 | orr r3, r3, r4, push #16 |
@@ -545,9 +460,6 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
545 | orr r6, r6, r7, push #16 | 460 | orr r6, r6, r7, push #16 |
546 | stmia r0!, {r3 - r6} | 461 | stmia r0!, {r3 - r6} |
547 | bpl .cfu_2cpy8lp | 462 | bpl .cfu_2cpy8lp |
548 | PLD( cmn ip, #32 ) | ||
549 | PLD( bge .cfu_2cpynopld ) | ||
550 | PLD( add ip, ip, #32 ) | ||
551 | 463 | ||
552 | .cfu_2rem8lp: tst ip, #8 | 464 | .cfu_2rem8lp: tst ip, #8 |
553 | movne r3, r7, pull #16 | 465 | movne r3, r7, pull #16 |
@@ -590,17 +502,8 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
590 | sub r2, r2, ip | 502 | sub r2, r2, ip |
591 | subs ip, ip, #16 | 503 | subs ip, ip, #16 |
592 | blt .cfu_3rem8lp | 504 | blt .cfu_3rem8lp |
593 | PLD( pld [r1, #12] ) | 505 | |
594 | PLD( pld [r0, #12] ) | 506 | .cfu_3cpy8lp: mov r3, r7, pull #24 |
595 | PLD( subs ip, ip, #32 ) | ||
596 | PLD( blt .cfu_3cpynopld ) | ||
597 | PLD( pld [r1, #28] ) | ||
598 | PLD( pld [r0, #28] ) | ||
599 | |||
600 | .cfu_3cpy8lp: | ||
601 | PLD( pld [r1, #44] ) | ||
602 | PLD( pld [r0, #44] ) | ||
603 | .cfu_3cpynopld: mov r3, r7, pull #24 | ||
604 | ldmia r1!, {r4 - r7} @ Shouldnt fault | 507 | ldmia r1!, {r4 - r7} @ Shouldnt fault |
605 | orr r3, r3, r4, push #8 | 508 | orr r3, r3, r4, push #8 |
606 | mov r4, r4, pull #24 | 509 | mov r4, r4, pull #24 |
@@ -612,9 +515,6 @@ USER( ldrt r7, [r1], #4) @ May fault | |||
612 | stmia r0!, {r3 - r6} | 515 | stmia r0!, {r3 - r6} |
613 | subs ip, ip, #16 | 516 | subs ip, ip, #16 |
614 | bpl .cfu_3cpy8lp | 517 | bpl .cfu_3cpy8lp |
615 | PLD( cmn ip, #32 ) | ||
616 | PLD( bge .cfu_3cpynopld ) | ||
617 | PLD( add ip, ip, #32 ) | ||
618 | 518 | ||
619 | .cfu_3rem8lp: tst ip, #8 | 519 | .cfu_3rem8lp: tst ip, #8 |
620 | movne r3, r7, pull #24 | 520 | movne r3, r7, pull #24 |
diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig index d5c155045762..0793dcf54f2e 100644 --- a/arch/arm/mach-clps711x/Kconfig +++ b/arch/arm/mach-clps711x/Kconfig | |||
@@ -69,17 +69,6 @@ config EP72XX_ROM_BOOT | |||
69 | 69 | ||
70 | You almost surely want to say N here. | 70 | You almost surely want to say N here. |
71 | 71 | ||
72 | config MACH_MP1000 | ||
73 | bool "MACH_MP1000" | ||
74 | help | ||
75 | Say Y if you intend to run the kernel on the Comdial MP1000 platform. | ||
76 | |||
77 | config MP1000_90MHZ | ||
78 | bool "MP1000_90MHZ" | ||
79 | depends on MACH_MP1000 | ||
80 | help | ||
81 | Say Y if you have the MP1000 configured to be set at 90MHZ rather than 74MHZ | ||
82 | |||
83 | endmenu | 72 | endmenu |
84 | 73 | ||
85 | endif | 74 | endif |
diff --git a/arch/arm/mach-clps711x/Makefile b/arch/arm/mach-clps711x/Makefile index 8a6dc1ccf8fe..4a197315f0cf 100644 --- a/arch/arm/mach-clps711x/Makefile +++ b/arch/arm/mach-clps711x/Makefile | |||
@@ -15,7 +15,6 @@ obj-$(CONFIG_ARCH_CDB89712) += cdb89712.o | |||
15 | obj-$(CONFIG_ARCH_CLEP7312) += clep7312.o | 15 | obj-$(CONFIG_ARCH_CLEP7312) += clep7312.o |
16 | obj-$(CONFIG_ARCH_EDB7211) += edb7211-arch.o edb7211-mm.o | 16 | obj-$(CONFIG_ARCH_EDB7211) += edb7211-arch.o edb7211-mm.o |
17 | obj-$(CONFIG_ARCH_FORTUNET) += fortunet.o | 17 | obj-$(CONFIG_ARCH_FORTUNET) += fortunet.o |
18 | obj-$(CONFIG_MACH_MP1000) += mp1000-mach.o mp1000-mm.o mp1000-seprom.o | ||
19 | obj-$(CONFIG_ARCH_P720T) += p720t.o | 18 | obj-$(CONFIG_ARCH_P720T) += p720t.o |
20 | leds-$(CONFIG_ARCH_P720T) += p720t-leds.o | 19 | leds-$(CONFIG_ARCH_P720T) += p720t-leds.o |
21 | obj-$(CONFIG_LEDS) += $(leds-y) | 20 | obj-$(CONFIG_LEDS) += $(leds-y) |
diff --git a/arch/arm/mach-clps711x/edb7211-mm.c b/arch/arm/mach-clps711x/edb7211-mm.c index 72f8bb05d55e..0d52e0851251 100644 --- a/arch/arm/mach-clps711x/edb7211-mm.c +++ b/arch/arm/mach-clps711x/edb7211-mm.c | |||
@@ -55,22 +55,22 @@ static struct map_desc edb7211_io_desc[] __initdata = { | |||
55 | .virtual = EP7211_VIRT_EXTKBD, | 55 | .virtual = EP7211_VIRT_EXTKBD, |
56 | .pfn = __phys_to_pfn(EP7211_PHYS_EXTKBD), | 56 | .pfn = __phys_to_pfn(EP7211_PHYS_EXTKBD), |
57 | .length = SZ_1M, | 57 | .length = SZ_1M, |
58 | .type - MT_DEVICE | 58 | .type = MT_DEVICE, |
59 | }, { /* and CS8900A Ethernet chip */ | 59 | }, { /* and CS8900A Ethernet chip */ |
60 | .virtual = EP7211_VIRT_CS8900A, | 60 | .virtual = EP7211_VIRT_CS8900A, |
61 | .pfn = __phys_to_pfn(EP7211_PHYS_CS8900A), | 61 | .pfn = __phys_to_pfn(EP7211_PHYS_CS8900A), |
62 | .length = SZ_1M, | 62 | .length = SZ_1M, |
63 | .type = MT_DEVICE | 63 | .type = MT_DEVICE, |
64 | }, { /* flash banks */ | 64 | }, { /* flash banks */ |
65 | .virtual = EP7211_VIRT_FLASH1, | 65 | .virtual = EP7211_VIRT_FLASH1, |
66 | .pfn = __phys_to_pfn(EP7211_PHYS_FLASH1), | 66 | .pfn = __phys_to_pfn(EP7211_PHYS_FLASH1), |
67 | .length = SZ_8M, | 67 | .length = SZ_8M, |
68 | .type = MT_DEVICE | 68 | .type = MT_DEVICE, |
69 | }, { | 69 | }, { |
70 | .virtual = EP7211_VIRT_FLASH2, | 70 | .virtual = EP7211_VIRT_FLASH2, |
71 | .pfn = __phys_to_pfn(EP7211_PHYS_FLASH2), | 71 | .pfn = __phys_to_pfn(EP7211_PHYS_FLASH2), |
72 | .length = SZ_8M, | 72 | .length = SZ_8M, |
73 | .type = MT_DEVICE | 73 | .type = MT_DEVICE, |
74 | } | 74 | } |
75 | }; | 75 | }; |
76 | 76 | ||
diff --git a/arch/arm/mach-clps711x/mp1000-mach.c b/arch/arm/mach-clps711x/mp1000-mach.c deleted file mode 100644 index c2816bcde5e7..000000000000 --- a/arch/arm/mach-clps711x/mp1000-mach.c +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-mp1000/mp1000.c | ||
3 | * | ||
4 | * Copyright (C) 2005 Comdial Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | ||
20 | #include <linux/init.h> | ||
21 | #include <linux/types.h> | ||
22 | #include <linux/string.h> | ||
23 | |||
24 | #include <asm/setup.h> | ||
25 | #include <asm/mach-types.h> | ||
26 | #include <asm/mach/arch.h> | ||
27 | #include <asm/arch/mp1000-seprom.h> | ||
28 | |||
29 | #include "common.h" | ||
30 | |||
31 | extern void mp1000_map_io(void); | ||
32 | |||
33 | static void __init mp1000_init(void) | ||
34 | { | ||
35 | seprom_init(); | ||
36 | } | ||
37 | |||
38 | MACHINE_START(MP1000, "Comdial MP1000") | ||
39 | /* Maintainer: Jon Ringle */ | ||
40 | .phys_ram = 0xc0000000, | ||
41 | .phys_io = 0x80000000, | ||
42 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, | ||
43 | .boot_params = 0xc0015100, | ||
44 | .map_io = mp1000_map_io, | ||
45 | .init_irq = clps711x_init_irq, | ||
46 | .init_machine = mp1000_init, | ||
47 | .timer = &clps711x_timer, | ||
48 | MACHINE_END | ||
49 | |||
diff --git a/arch/arm/mach-clps711x/mp1000-mm.c b/arch/arm/mach-clps711x/mp1000-mm.c deleted file mode 100644 index 20e810b0ec0c..000000000000 --- a/arch/arm/mach-clps711x/mp1000-mm.c +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-mp1000/mm.c | ||
3 | * | ||
4 | * Extra MM routines for the MP1000 | ||
5 | * | ||
6 | * Copyright (C) 2005 Comdial Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | */ | ||
22 | #include <linux/kernel.h> | ||
23 | #include <linux/init.h> | ||
24 | |||
25 | #include <asm/hardware.h> | ||
26 | #include <asm/page.h> | ||
27 | #include <asm/pgtable.h> | ||
28 | #include <asm/sizes.h> | ||
29 | |||
30 | #include <asm/mach/map.h> | ||
31 | |||
32 | extern void clps711x_map_io(void); | ||
33 | |||
34 | static struct map_desc mp1000_io_desc[] __initdata = { | ||
35 | { MP1000_EIO_BASE, MP1000_EIO_START, MP1000_EIO_SIZE, MT_DEVICE }, | ||
36 | { MP1000_FIO_BASE, MP1000_FIO_START, MP1000_FIO_SIZE, MT_DEVICE }, | ||
37 | { MP1000_LIO_BASE, MP1000_LIO_START, MP1000_LIO_SIZE, MT_DEVICE }, | ||
38 | { MP1000_NIO_BASE, MP1000_NIO_START, MP1000_NIO_SIZE, MT_DEVICE }, | ||
39 | { MP1000_IDE_BASE, MP1000_IDE_START, MP1000_IDE_SIZE, MT_DEVICE }, | ||
40 | { MP1000_DSP_BASE, MP1000_DSP_START, MP1000_DSP_SIZE, MT_DEVICE } | ||
41 | }; | ||
42 | |||
43 | void __init mp1000_map_io(void) | ||
44 | { | ||
45 | clps711x_map_io(); | ||
46 | iotable_init(mp1000_io_desc, ARRAY_SIZE(mp1000_io_desc)); | ||
47 | } | ||
diff --git a/arch/arm/mach-clps711x/mp1000-seprom.c b/arch/arm/mach-clps711x/mp1000-seprom.c deleted file mode 100644 index b22d0bebb851..000000000000 --- a/arch/arm/mach-clps711x/mp1000-seprom.c +++ /dev/null | |||
@@ -1,195 +0,0 @@ | |||
1 | /*` | ||
2 | * mp1000-seprom.c | ||
3 | * | ||
4 | * This file contains the Serial EEPROM code for the MP1000 board | ||
5 | * | ||
6 | * Copyright (C) 2005 Comdial Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | * | ||
22 | */ | ||
23 | |||
24 | #include <linux/kernel.h> | ||
25 | #include <linux/init.h> | ||
26 | #include <asm/hardware.h> | ||
27 | #include <asm/hardware/clps7111.h> | ||
28 | #include <asm/arch/mp1000-seprom.h> | ||
29 | |||
30 | /* If SepromInit() can initialize and checksum the seprom successfully, */ | ||
31 | /* then it will point seprom_data_ptr at the shadow copy. */ | ||
32 | |||
33 | static eeprom_struct seprom_data; /* shadow copy of seprom content */ | ||
34 | |||
35 | eeprom_struct *seprom_data_ptr = 0; /* 0 => not initialized */ | ||
36 | |||
37 | /* | ||
38 | * Port D Bit 5 is Chip Select for EEPROM | ||
39 | * Port E Bit 0 is Input, Data out from EEPROM | ||
40 | * Port E Bit 1 is Output, Data in to EEPROM | ||
41 | * Port E Bit 2 is Output, CLK to EEPROM | ||
42 | */ | ||
43 | |||
44 | static char *port_d_ptr = (char *)(CLPS7111_VIRT_BASE + PDDR); | ||
45 | static char *port_e_ptr = (char *)(CLPS7111_VIRT_BASE + PEDR); | ||
46 | |||
47 | #define NO_OF_SHORTS 64 // Device is 64 x 16 bits | ||
48 | #define ENABLE_RW 0 | ||
49 | #define DISABLE_RW 1 | ||
50 | |||
51 | static inline void toggle_seprom_clock(void) | ||
52 | { | ||
53 | *port_e_ptr |= HwPortESepromCLK; | ||
54 | *port_e_ptr &= ~(HwPortESepromCLK); | ||
55 | } | ||
56 | |||
57 | static inline void select_eeprom(void) | ||
58 | { | ||
59 | *port_d_ptr |= HwPortDEECS; | ||
60 | *port_e_ptr &= ~(HwPortESepromCLK); | ||
61 | } | ||
62 | |||
63 | static inline void deselect_eeprom(void) | ||
64 | { | ||
65 | *port_d_ptr &= ~(HwPortDEECS); | ||
66 | *port_e_ptr &= ~(HwPortESepromDIn); | ||
67 | } | ||
68 | |||
69 | /* | ||
70 | * GetSepromDataPtr - returns pointer to shadow (RAM) copy of seprom | ||
71 | * and returns 0 if seprom is not initialized or | ||
72 | * has a checksum error. | ||
73 | */ | ||
74 | |||
75 | eeprom_struct* get_seprom_ptr(void) | ||
76 | { | ||
77 | return seprom_data_ptr; | ||
78 | } | ||
79 | |||
80 | unsigned char* get_eeprom_mac_address(void) | ||
81 | { | ||
82 | return seprom_data_ptr->variant.eprom_struct.mac_Address; | ||
83 | } | ||
84 | |||
85 | /* | ||
86 | * ReadSProm, Physically reads data from the Serial PROM | ||
87 | */ | ||
88 | static void read_sprom(short address, int length, eeprom_struct *buffer) | ||
89 | { | ||
90 | short data = COMMAND_READ | (address & 0x3F); | ||
91 | short bit; | ||
92 | int i; | ||
93 | |||
94 | select_eeprom(); | ||
95 | |||
96 | // Clock in 9 bits of the command | ||
97 | for (i = 0, bit = 0x100; i < 9; i++, bit >>= 1) { | ||
98 | if (data & bit) | ||
99 | *port_e_ptr |= HwPortESepromDIn; | ||
100 | else | ||
101 | *port_e_ptr &= ~(HwPortESepromDIn); | ||
102 | |||
103 | toggle_seprom_clock(); | ||
104 | } | ||
105 | |||
106 | // | ||
107 | // Now read one or more shorts of data from the Seprom | ||
108 | // | ||
109 | while (length-- > 0) { | ||
110 | data = 0; | ||
111 | |||
112 | // Read 16 bits at a time | ||
113 | for (i = 0; i < 16; i++) { | ||
114 | data <<= 1; | ||
115 | toggle_seprom_clock(); | ||
116 | data |= *port_e_ptr & HwPortESepromDOut; | ||
117 | |||
118 | } | ||
119 | |||
120 | buffer->variant.eprom_short_data[address++] = data; | ||
121 | } | ||
122 | |||
123 | deselect_eeprom(); | ||
124 | |||
125 | return; | ||
126 | } | ||
127 | |||
128 | |||
129 | |||
130 | /* | ||
131 | * ReadSerialPROM | ||
132 | * | ||
133 | * Input: Pointer to array of 64 x 16 Bits | ||
134 | * | ||
135 | * Output: if no problem reading data is filled in | ||
136 | */ | ||
137 | static void read_serial_prom(eeprom_struct *data) | ||
138 | { | ||
139 | read_sprom(0, 64, data); | ||
140 | } | ||
141 | |||
142 | |||
143 | // | ||
144 | // Compute Serial EEPROM checksum | ||
145 | // | ||
146 | // Input: Pointer to struct with Eprom data | ||
147 | // | ||
148 | // Output: The computed Eprom checksum | ||
149 | // | ||
150 | static short compute_seprom_checksum(eeprom_struct *data) | ||
151 | { | ||
152 | short checksum = 0; | ||
153 | int i; | ||
154 | |||
155 | for (i = 0; i < 126; i++) { | ||
156 | checksum += (short)data->variant.eprom_byte_data[i]; | ||
157 | } | ||
158 | |||
159 | return((short)(0x5555 - (checksum & 0xFFFF))); | ||
160 | } | ||
161 | |||
162 | // | ||
163 | // Make sure the data port bits for the SEPROM are correctly initialised | ||
164 | // | ||
165 | |||
166 | void __init seprom_init(void) | ||
167 | { | ||
168 | short checksum; | ||
169 | |||
170 | // Init Port D | ||
171 | *(char *)(CLPS7111_VIRT_BASE + PDDDR) = 0x0; | ||
172 | *(char *)(CLPS7111_VIRT_BASE + PDDR) = 0x15; | ||
173 | |||
174 | // Init Port E | ||
175 | *(int *)(CLPS7111_VIRT_BASE + PEDDR) = 0x06; | ||
176 | *(int *)(CLPS7111_VIRT_BASE + PEDR) = 0x04; | ||
177 | |||
178 | // | ||
179 | // Make sure that EEPROM struct size never exceeds 128 bytes | ||
180 | // | ||
181 | if (sizeof(eeprom_struct) > 128) { | ||
182 | panic("Serial PROM struct size > 128, aborting read\n"); | ||
183 | } | ||
184 | |||
185 | read_serial_prom(&seprom_data); | ||
186 | |||
187 | checksum = compute_seprom_checksum(&seprom_data); | ||
188 | |||
189 | if (checksum != seprom_data.variant.eprom_short_data[63]) { | ||
190 | panic("Serial EEPROM checksum failed\n"); | ||
191 | } | ||
192 | |||
193 | seprom_data_ptr = &seprom_data; | ||
194 | } | ||
195 | |||
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index c93a98b2a32c..df140962bb0f 100644 --- a/arch/arm/mach-ixp2000/core.c +++ b/arch/arm/mach-ixp2000/core.c | |||
@@ -402,6 +402,40 @@ static void ixp2000_pci_irq_unmask(unsigned int irq) | |||
402 | ixp2000_reg_write(IXP2000_PCI_XSCALE_INT_ENABLE, (temp | (1 << 27))); | 402 | ixp2000_reg_write(IXP2000_PCI_XSCALE_INT_ENABLE, (temp | (1 << 27))); |
403 | } | 403 | } |
404 | 404 | ||
405 | /* | ||
406 | * Error interrupts. These are used extensively by the microengine drivers | ||
407 | */ | ||
408 | static void ixp2000_err_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | ||
409 | { | ||
410 | int i; | ||
411 | unsigned long status = *IXP2000_IRQ_ERR_STATUS; | ||
412 | |||
413 | for(i = 31; i >= 0; i--) { | ||
414 | if(status & (1 << i)) { | ||
415 | desc = irq_desc + IRQ_IXP2000_DRAM0_MIN_ERR + i; | ||
416 | desc->handle(IRQ_IXP2000_DRAM0_MIN_ERR + i, desc, regs); | ||
417 | } | ||
418 | } | ||
419 | } | ||
420 | |||
421 | static void ixp2000_err_irq_mask(unsigned int irq) | ||
422 | { | ||
423 | ixp2000_reg_write(IXP2000_IRQ_ERR_ENABLE_CLR, | ||
424 | (1 << (irq - IRQ_IXP2000_DRAM0_MIN_ERR))); | ||
425 | } | ||
426 | |||
427 | static void ixp2000_err_irq_unmask(unsigned int irq) | ||
428 | { | ||
429 | ixp2000_reg_write(IXP2000_IRQ_ERR_ENABLE_SET, | ||
430 | (1 << (irq - IRQ_IXP2000_DRAM0_MIN_ERR))); | ||
431 | } | ||
432 | |||
433 | static struct irqchip ixp2000_err_irq_chip = { | ||
434 | .ack = ixp2000_err_irq_mask, | ||
435 | .mask = ixp2000_err_irq_mask, | ||
436 | .unmask = ixp2000_err_irq_unmask | ||
437 | }; | ||
438 | |||
405 | static struct irqchip ixp2000_pci_irq_chip = { | 439 | static struct irqchip ixp2000_pci_irq_chip = { |
406 | .ack = ixp2000_pci_irq_mask, | 440 | .ack = ixp2000_pci_irq_mask, |
407 | .mask = ixp2000_pci_irq_mask, | 441 | .mask = ixp2000_pci_irq_mask, |
@@ -459,6 +493,18 @@ void __init ixp2000_init_irq(void) | |||
459 | } else set_irq_flags(irq, 0); | 493 | } else set_irq_flags(irq, 0); |
460 | } | 494 | } |
461 | 495 | ||
496 | for (irq = IRQ_IXP2000_DRAM0_MIN_ERR; irq <= IRQ_IXP2000_SP_INT; irq++) { | ||
497 | if((1 << (irq - IRQ_IXP2000_DRAM0_MIN_ERR)) & | ||
498 | IXP2000_VALID_ERR_IRQ_MASK) { | ||
499 | set_irq_chip(irq, &ixp2000_err_irq_chip); | ||
500 | set_irq_handler(irq, do_level_IRQ); | ||
501 | set_irq_flags(irq, IRQF_VALID); | ||
502 | } | ||
503 | else | ||
504 | set_irq_flags(irq, 0); | ||
505 | } | ||
506 | set_irq_chained_handler(IRQ_IXP2000_ERRSUM, ixp2000_err_irq_handler); | ||
507 | |||
462 | /* | 508 | /* |
463 | * GPIO IRQs are invalid until someone sets the interrupt mode | 509 | * GPIO IRQs are invalid until someone sets the interrupt mode |
464 | * by calling set_irq_type(). | 510 | * by calling set_irq_type(). |
diff --git a/arch/arm/mach-ixp2000/enp2611.c b/arch/arm/mach-ixp2000/enp2611.c index 7719c478aa84..61f6006241bd 100644 --- a/arch/arm/mach-ixp2000/enp2611.c +++ b/arch/arm/mach-ixp2000/enp2611.c | |||
@@ -69,19 +69,19 @@ static struct sys_timer enp2611_timer = { | |||
69 | static struct map_desc enp2611_io_desc[] __initdata = { | 69 | static struct map_desc enp2611_io_desc[] __initdata = { |
70 | { | 70 | { |
71 | .virtual = ENP2611_CALEB_VIRT_BASE, | 71 | .virtual = ENP2611_CALEB_VIRT_BASE, |
72 | .physical = ENP2611_CALEB_PHYS_BASE, | 72 | .pfn = __phys_to_pfn(ENP2611_CALEB_PHYS_BASE), |
73 | .length = ENP2611_CALEB_SIZE, | 73 | .length = ENP2611_CALEB_SIZE, |
74 | .type = MT_IXP2000_DEVICE | 74 | .type = MT_IXP2000_DEVICE, |
75 | }, { | 75 | }, { |
76 | .virtual = ENP2611_PM3386_0_VIRT_BASE, | 76 | .virtual = ENP2611_PM3386_0_VIRT_BASE, |
77 | .physical = ENP2611_PM3386_0_PHYS_BASE, | 77 | .pfn = __phys_to_pfn(ENP2611_PM3386_0_PHYS_BASE), |
78 | .length = ENP2611_PM3386_0_SIZE, | 78 | .length = ENP2611_PM3386_0_SIZE, |
79 | .type = MT_IXP2000_DEVICE | 79 | .type = MT_IXP2000_DEVICE, |
80 | }, { | 80 | }, { |
81 | .virtual = ENP2611_PM3386_1_VIRT_BASE, | 81 | .virtual = ENP2611_PM3386_1_VIRT_BASE, |
82 | .physical = ENP2611_PM3386_1_PHYS_BASE, | 82 | .pfn = __phys_to_pfn(ENP2611_PM3386_1_PHYS_BASE), |
83 | .length = ENP2611_PM3386_1_SIZE, | 83 | .length = ENP2611_PM3386_1_SIZE, |
84 | .type = MT_IXP2000_DEVICE | 84 | .type = MT_IXP2000_DEVICE, |
85 | } | 85 | } |
86 | }; | 86 | }; |
87 | 87 | ||
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 9c6e77faec5b..b464bc88ff93 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -19,16 +19,20 @@ | |||
19 | #include <linux/major.h> | 19 | #include <linux/major.h> |
20 | #include <linux/fb.h> | 20 | #include <linux/fb.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/mtd/mtd.h> | ||
23 | #include <linux/mtd/partitions.h> | ||
22 | 24 | ||
23 | #include <asm/setup.h> | 25 | #include <asm/setup.h> |
24 | #include <asm/memory.h> | 26 | #include <asm/memory.h> |
25 | #include <asm/mach-types.h> | 27 | #include <asm/mach-types.h> |
26 | #include <asm/hardware.h> | 28 | #include <asm/hardware.h> |
27 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
30 | #include <asm/sizes.h> | ||
28 | 31 | ||
29 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
30 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
31 | #include <asm/mach/irq.h> | 34 | #include <asm/mach/irq.h> |
35 | #include <asm/mach/flash.h> | ||
32 | 36 | ||
33 | #include <asm/hardware/sa1111.h> | 37 | #include <asm/hardware/sa1111.h> |
34 | 38 | ||
@@ -199,10 +203,75 @@ static struct platform_device smc91x_device = { | |||
199 | .resource = smc91x_resources, | 203 | .resource = smc91x_resources, |
200 | }; | 204 | }; |
201 | 205 | ||
206 | static struct resource flash_resources[] = { | ||
207 | [0] = { | ||
208 | .start = 0x00000000, | ||
209 | .end = SZ_64M - 1, | ||
210 | .flags = IORESOURCE_MEM, | ||
211 | }, | ||
212 | [1] = { | ||
213 | .start = 0x04000000, | ||
214 | .end = 0x04000000 + SZ_64M - 1, | ||
215 | .flags = IORESOURCE_MEM, | ||
216 | }, | ||
217 | }; | ||
218 | |||
219 | static struct mtd_partition lubbock_partitions[] = { | ||
220 | { | ||
221 | .name = "Bootloader", | ||
222 | .size = 0x00040000, | ||
223 | .offset = 0, | ||
224 | .mask_flags = MTD_WRITEABLE /* force read-only */ | ||
225 | },{ | ||
226 | .name = "Kernel", | ||
227 | .size = 0x00100000, | ||
228 | .offset = 0x00040000, | ||
229 | },{ | ||
230 | .name = "Filesystem", | ||
231 | .size = MTDPART_SIZ_FULL, | ||
232 | .offset = 0x00140000 | ||
233 | } | ||
234 | }; | ||
235 | |||
236 | static struct flash_platform_data lubbock_flash_data[2] = { | ||
237 | { | ||
238 | .map_name = "cfi_probe", | ||
239 | .parts = lubbock_partitions, | ||
240 | .nr_parts = ARRAY_SIZE(lubbock_partitions), | ||
241 | }, { | ||
242 | .map_name = "cfi_probe", | ||
243 | .parts = NULL, | ||
244 | .nr_parts = 0, | ||
245 | } | ||
246 | }; | ||
247 | |||
248 | static struct platform_device lubbock_flash_device[2] = { | ||
249 | { | ||
250 | .name = "pxa2xx-flash", | ||
251 | .id = 0, | ||
252 | .dev = { | ||
253 | .platform_data = &lubbock_flash_data[0], | ||
254 | }, | ||
255 | .resource = &flash_resources[0], | ||
256 | .num_resources = 1, | ||
257 | }, | ||
258 | { | ||
259 | .name = "pxa2xx-flash", | ||
260 | .id = 1, | ||
261 | .dev = { | ||
262 | .platform_data = &lubbock_flash_data[1], | ||
263 | }, | ||
264 | .resource = &flash_resources[1], | ||
265 | .num_resources = 1, | ||
266 | }, | ||
267 | }; | ||
268 | |||
202 | static struct platform_device *devices[] __initdata = { | 269 | static struct platform_device *devices[] __initdata = { |
203 | &sa1111_device, | 270 | &sa1111_device, |
204 | &lub_audio_device, | 271 | &lub_audio_device, |
205 | &smc91x_device, | 272 | &smc91x_device, |
273 | &lubbock_flash_device[0], | ||
274 | &lubbock_flash_device[1], | ||
206 | }; | 275 | }; |
207 | 276 | ||
208 | static struct pxafb_mach_info sharp_lm8v31 __initdata = { | 277 | static struct pxafb_mach_info sharp_lm8v31 __initdata = { |
@@ -315,10 +384,21 @@ static struct pxaficp_platform_data lubbock_ficp_platform_data = { | |||
315 | 384 | ||
316 | static void __init lubbock_init(void) | 385 | static void __init lubbock_init(void) |
317 | { | 386 | { |
387 | int flashboot = (LUB_CONF_SWITCHES & 1); | ||
388 | |||
318 | pxa_set_udc_info(&udc_info); | 389 | pxa_set_udc_info(&udc_info); |
319 | set_pxa_fb_info(&sharp_lm8v31); | 390 | set_pxa_fb_info(&sharp_lm8v31); |
320 | pxa_set_mci_info(&lubbock_mci_platform_data); | 391 | pxa_set_mci_info(&lubbock_mci_platform_data); |
321 | pxa_set_ficp_info(&lubbock_ficp_platform_data); | 392 | pxa_set_ficp_info(&lubbock_ficp_platform_data); |
393 | |||
394 | lubbock_flash_data[0].width = lubbock_flash_data[1].width = | ||
395 | (BOOT_DEF & 1) ? 2 : 4; | ||
396 | /* Compensate for the nROMBT switch which swaps the flash banks */ | ||
397 | printk(KERN_NOTICE "Lubbock configured to boot from %s (bank %d)\n", | ||
398 | flashboot?"Flash":"ROM", flashboot); | ||
399 | |||
400 | lubbock_flash_data[flashboot^1].name = "application-flash"; | ||
401 | lubbock_flash_data[flashboot].name = "boot-rom"; | ||
322 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); | 402 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); |
323 | } | 403 | } |
324 | 404 | ||
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index 887a8cb7b721..07892f4012d8 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -20,6 +20,9 @@ | |||
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <linux/bitops.h> | 21 | #include <linux/bitops.h> |
22 | #include <linux/fb.h> | 22 | #include <linux/fb.h> |
23 | #include <linux/ioport.h> | ||
24 | #include <linux/mtd/mtd.h> | ||
25 | #include <linux/mtd/partitions.h> | ||
23 | 26 | ||
24 | #include <asm/types.h> | 27 | #include <asm/types.h> |
25 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
@@ -27,10 +30,12 @@ | |||
27 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
28 | #include <asm/hardware.h> | 31 | #include <asm/hardware.h> |
29 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <asm/sizes.h> | ||
30 | 34 | ||
31 | #include <asm/mach/arch.h> | 35 | #include <asm/mach/arch.h> |
32 | #include <asm/mach/map.h> | 36 | #include <asm/mach/map.h> |
33 | #include <asm/mach/irq.h> | 37 | #include <asm/mach/irq.h> |
38 | #include <asm/mach/flash.h> | ||
34 | 39 | ||
35 | #include <asm/arch/pxa-regs.h> | 40 | #include <asm/arch/pxa-regs.h> |
36 | #include <asm/arch/mainstone.h> | 41 | #include <asm/arch/mainstone.h> |
@@ -190,6 +195,69 @@ static struct platform_device mst_audio_device = { | |||
190 | .dev = { .platform_data = &mst_audio_ops }, | 195 | .dev = { .platform_data = &mst_audio_ops }, |
191 | }; | 196 | }; |
192 | 197 | ||
198 | static struct resource flash_resources[] = { | ||
199 | [0] = { | ||
200 | .start = PXA_CS0_PHYS, | ||
201 | .end = PXA_CS0_PHYS + SZ_64M - 1, | ||
202 | .flags = IORESOURCE_MEM, | ||
203 | }, | ||
204 | [1] = { | ||
205 | .start = PXA_CS1_PHYS, | ||
206 | .end = PXA_CS1_PHYS + SZ_64M - 1, | ||
207 | .flags = IORESOURCE_MEM, | ||
208 | }, | ||
209 | }; | ||
210 | |||
211 | static struct mtd_partition mainstoneflash0_partitions[] = { | ||
212 | { | ||
213 | .name = "Bootloader", | ||
214 | .size = 0x00040000, | ||
215 | .offset = 0, | ||
216 | .mask_flags = MTD_WRITEABLE /* force read-only */ | ||
217 | },{ | ||
218 | .name = "Kernel", | ||
219 | .size = 0x00400000, | ||
220 | .offset = 0x00040000, | ||
221 | },{ | ||
222 | .name = "Filesystem", | ||
223 | .size = MTDPART_SIZ_FULL, | ||
224 | .offset = 0x00440000 | ||
225 | } | ||
226 | }; | ||
227 | |||
228 | static struct flash_platform_data mst_flash_data[2] = { | ||
229 | { | ||
230 | .map_name = "cfi_probe", | ||
231 | .parts = mainstoneflash0_partitions, | ||
232 | .nr_parts = ARRAY_SIZE(mainstoneflash0_partitions), | ||
233 | }, { | ||
234 | .map_name = "cfi_probe", | ||
235 | .parts = NULL, | ||
236 | .nr_parts = 0, | ||
237 | } | ||
238 | }; | ||
239 | |||
240 | static struct platform_device mst_flash_device[2] = { | ||
241 | { | ||
242 | .name = "pxa2xx-flash", | ||
243 | .id = 0, | ||
244 | .dev = { | ||
245 | .platform_data = &mst_flash_data[0], | ||
246 | }, | ||
247 | .resource = &flash_resources[0], | ||
248 | .num_resources = 1, | ||
249 | }, | ||
250 | { | ||
251 | .name = "pxa2xx-flash", | ||
252 | .id = 1, | ||
253 | .dev = { | ||
254 | .platform_data = &mst_flash_data[1], | ||
255 | }, | ||
256 | .resource = &flash_resources[1], | ||
257 | .num_resources = 1, | ||
258 | }, | ||
259 | }; | ||
260 | |||
193 | static void mainstone_backlight_power(int on) | 261 | static void mainstone_backlight_power(int on) |
194 | { | 262 | { |
195 | if (on) { | 263 | if (on) { |
@@ -318,16 +386,34 @@ static struct pxaficp_platform_data mainstone_ficp_platform_data = { | |||
318 | .transceiver_mode = mainstone_irda_transceiver_mode, | 386 | .transceiver_mode = mainstone_irda_transceiver_mode, |
319 | }; | 387 | }; |
320 | 388 | ||
389 | static struct platform_device *platform_devices[] __initdata = { | ||
390 | &smc91x_device, | ||
391 | &mst_audio_device, | ||
392 | &mst_flash_device[0], | ||
393 | &mst_flash_device[1], | ||
394 | }; | ||
395 | |||
321 | static void __init mainstone_init(void) | 396 | static void __init mainstone_init(void) |
322 | { | 397 | { |
398 | int SW7 = 0; /* FIXME: get from SCR (Mst doc section 3.2.1.1) */ | ||
399 | |||
400 | mst_flash_data[0].width = (BOOT_DEF & 1) ? 2 : 4; | ||
401 | mst_flash_data[1].width = 4; | ||
402 | |||
403 | /* Compensate for SW7 which swaps the flash banks */ | ||
404 | mst_flash_data[SW7].name = "processor-flash"; | ||
405 | mst_flash_data[SW7 ^ 1].name = "mainboard-flash"; | ||
406 | |||
407 | printk(KERN_NOTICE "Mainstone configured to boot from %s\n", | ||
408 | mst_flash_data[0].name); | ||
409 | |||
323 | /* | 410 | /* |
324 | * On Mainstone, we route AC97_SYSCLK via GPIO45 to | 411 | * On Mainstone, we route AC97_SYSCLK via GPIO45 to |
325 | * the audio daughter card | 412 | * the audio daughter card |
326 | */ | 413 | */ |
327 | pxa_gpio_mode(GPIO45_SYSCLK_AC97_MD); | 414 | pxa_gpio_mode(GPIO45_SYSCLK_AC97_MD); |
328 | 415 | ||
329 | platform_device_register(&smc91x_device); | 416 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
330 | platform_device_register(&mst_audio_device); | ||
331 | 417 | ||
332 | /* reading Mainstone's "Virtual Configuration Register" | 418 | /* reading Mainstone's "Virtual Configuration Register" |
333 | might be handy to select LCD type here */ | 419 | might be handy to select LCD type here */ |
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 5568403e984d..e3c14d6b4328 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -250,6 +250,18 @@ config CPU_V6 | |||
250 | select CPU_COPY_V6 | 250 | select CPU_COPY_V6 |
251 | select CPU_TLB_V6 | 251 | select CPU_TLB_V6 |
252 | 252 | ||
253 | # ARMv6k | ||
254 | config CPU_32v6K | ||
255 | bool "Support ARM V6K processor extensions" if !SMP | ||
256 | depends on CPU_V6 | ||
257 | default y if SMP | ||
258 | help | ||
259 | Say Y here if your ARMv6 processor supports the 'K' extension. | ||
260 | This enables the kernel to use some instructions not present | ||
261 | on previous processors, and as such a kernel build with this | ||
262 | enabled will not boot on processors with do not support these | ||
263 | instructions. | ||
264 | |||
253 | # Figure out what processor architecture version we should be using. | 265 | # Figure out what processor architecture version we should be using. |
254 | # This defines the compiler instruction set which depends on the machine type. | 266 | # This defines the compiler instruction set which depends on the machine type. |
255 | config CPU_32v3 | 267 | config CPU_32v3 |
diff --git a/arch/arm/mm/mm-armv.c b/arch/arm/mm/mm-armv.c index 1221fdde1769..fb5b40289de2 100644 --- a/arch/arm/mm/mm-armv.c +++ b/arch/arm/mm/mm-armv.c | |||
@@ -469,14 +469,14 @@ void __init create_mapping(struct map_desc *md) | |||
469 | 469 | ||
470 | if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { | 470 | if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { |
471 | printk(KERN_WARNING "BUG: not creating mapping for " | 471 | printk(KERN_WARNING "BUG: not creating mapping for " |
472 | "0x%016llx at 0x%08lx in user region\n", | 472 | "0x%08llx at 0x%08lx in user region\n", |
473 | __pfn_to_phys((u64)md->pfn), md->virtual); | 473 | __pfn_to_phys((u64)md->pfn), md->virtual); |
474 | return; | 474 | return; |
475 | } | 475 | } |
476 | 476 | ||
477 | if ((md->type == MT_DEVICE || md->type == MT_ROM) && | 477 | if ((md->type == MT_DEVICE || md->type == MT_ROM) && |
478 | md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) { | 478 | md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) { |
479 | printk(KERN_WARNING "BUG: mapping for 0x%016llx at 0x%08lx " | 479 | printk(KERN_WARNING "BUG: mapping for 0x%08llx at 0x%08lx " |
480 | "overlaps vmalloc space\n", | 480 | "overlaps vmalloc space\n", |
481 | __pfn_to_phys((u64)md->pfn), md->virtual); | 481 | __pfn_to_phys((u64)md->pfn), md->virtual); |
482 | } | 482 | } |
@@ -492,14 +492,14 @@ void __init create_mapping(struct map_desc *md) | |||
492 | if(md->pfn >= 0x100000) { | 492 | if(md->pfn >= 0x100000) { |
493 | if(domain) { | 493 | if(domain) { |
494 | printk(KERN_ERR "MM: invalid domain in supersection " | 494 | printk(KERN_ERR "MM: invalid domain in supersection " |
495 | "mapping for 0x%016llx at 0x%08lx\n", | 495 | "mapping for 0x%08llx at 0x%08lx\n", |
496 | __pfn_to_phys((u64)md->pfn), md->virtual); | 496 | __pfn_to_phys((u64)md->pfn), md->virtual); |
497 | return; | 497 | return; |
498 | } | 498 | } |
499 | if((md->virtual | md->length | __pfn_to_phys(md->pfn)) | 499 | if((md->virtual | md->length | __pfn_to_phys(md->pfn)) |
500 | & ~SUPERSECTION_MASK) { | 500 | & ~SUPERSECTION_MASK) { |
501 | printk(KERN_ERR "MM: cannot create mapping for " | 501 | printk(KERN_ERR "MM: cannot create mapping for " |
502 | "0x%016llx at 0x%08lx invalid alignment\n", | 502 | "0x%08llx at 0x%08lx invalid alignment\n", |
503 | __pfn_to_phys((u64)md->pfn), md->virtual); | 503 | __pfn_to_phys((u64)md->pfn), md->virtual); |
504 | return; | 504 | return; |
505 | } | 505 | } |
diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index 9e24bbd4090c..1af733d07321 100644 --- a/drivers/char/nvram.c +++ b/drivers/char/nvram.c | |||
@@ -32,11 +32,9 @@ | |||
32 | * added changelog | 32 | * added changelog |
33 | * 1.2 Erik Gilling: Cobalt Networks support | 33 | * 1.2 Erik Gilling: Cobalt Networks support |
34 | * Tim Hockin: general cleanup, Cobalt support | 34 | * Tim Hockin: general cleanup, Cobalt support |
35 | * 1.3 Jon Ringle: Comdial MP1000 support | ||
36 | * | ||
37 | */ | 35 | */ |
38 | 36 | ||
39 | #define NVRAM_VERSION "1.3" | 37 | #define NVRAM_VERSION "1.2" |
40 | 38 | ||
41 | #include <linux/module.h> | 39 | #include <linux/module.h> |
42 | #include <linux/config.h> | 40 | #include <linux/config.h> |
@@ -47,7 +45,6 @@ | |||
47 | #define PC 1 | 45 | #define PC 1 |
48 | #define ATARI 2 | 46 | #define ATARI 2 |
49 | #define COBALT 3 | 47 | #define COBALT 3 |
50 | #define MP1000 4 | ||
51 | 48 | ||
52 | /* select machine configuration */ | 49 | /* select machine configuration */ |
53 | #if defined(CONFIG_ATARI) | 50 | #if defined(CONFIG_ATARI) |
@@ -57,9 +54,6 @@ | |||
57 | # if defined(CONFIG_COBALT) | 54 | # if defined(CONFIG_COBALT) |
58 | # include <linux/cobalt-nvram.h> | 55 | # include <linux/cobalt-nvram.h> |
59 | # define MACH COBALT | 56 | # define MACH COBALT |
60 | # elif defined(CONFIG_MACH_MP1000) | ||
61 | # undef MACH | ||
62 | # define MACH MP1000 | ||
63 | # else | 57 | # else |
64 | # define MACH PC | 58 | # define MACH PC |
65 | # endif | 59 | # endif |
@@ -118,23 +112,6 @@ | |||
118 | 112 | ||
119 | #endif | 113 | #endif |
120 | 114 | ||
121 | #if MACH == MP1000 | ||
122 | |||
123 | /* RTC in a MP1000 */ | ||
124 | #define CHECK_DRIVER_INIT() 1 | ||
125 | |||
126 | #define MP1000_CKS_RANGE_START 0 | ||
127 | #define MP1000_CKS_RANGE_END 111 | ||
128 | #define MP1000_CKS_LOC 112 | ||
129 | |||
130 | #define NVRAM_BYTES (128-NVRAM_FIRST_BYTE) | ||
131 | |||
132 | #define mach_check_checksum mp1000_check_checksum | ||
133 | #define mach_set_checksum mp1000_set_checksum | ||
134 | #define mach_proc_infos mp1000_proc_infos | ||
135 | |||
136 | #endif | ||
137 | |||
138 | /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with | 115 | /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with |
139 | * rtc_lock held. Due to the index-port/data-port design of the RTC, we | 116 | * rtc_lock held. Due to the index-port/data-port design of the RTC, we |
140 | * don't want two different things trying to get to it at once. (e.g. the | 117 | * don't want two different things trying to get to it at once. (e.g. the |
@@ -938,91 +915,6 @@ atari_proc_infos(unsigned char *nvram, char *buffer, int *len, | |||
938 | 915 | ||
939 | #endif /* MACH == ATARI */ | 916 | #endif /* MACH == ATARI */ |
940 | 917 | ||
941 | #if MACH == MP1000 | ||
942 | |||
943 | static int | ||
944 | mp1000_check_checksum(void) | ||
945 | { | ||
946 | int i; | ||
947 | unsigned short sum = 0; | ||
948 | unsigned short expect; | ||
949 | |||
950 | for (i = MP1000_CKS_RANGE_START; i <= MP1000_CKS_RANGE_END; ++i) | ||
951 | sum += __nvram_read_byte(i); | ||
952 | |||
953 | expect = __nvram_read_byte(MP1000_CKS_LOC+1)<<8 | | ||
954 | __nvram_read_byte(MP1000_CKS_LOC); | ||
955 | return ((sum & 0xffff) == expect); | ||
956 | } | ||
957 | |||
958 | static void | ||
959 | mp1000_set_checksum(void) | ||
960 | { | ||
961 | int i; | ||
962 | unsigned short sum = 0; | ||
963 | |||
964 | for (i = MP1000_CKS_RANGE_START; i <= MP1000_CKS_RANGE_END; ++i) | ||
965 | sum += __nvram_read_byte(i); | ||
966 | __nvram_write_byte(sum >> 8, MP1000_CKS_LOC + 1); | ||
967 | __nvram_write_byte(sum & 0xff, MP1000_CKS_LOC); | ||
968 | } | ||
969 | |||
970 | #ifdef CONFIG_PROC_FS | ||
971 | |||
972 | #define SERVER_N_LEN 32 | ||
973 | #define PATH_N_LEN 32 | ||
974 | #define FILE_N_LEN 32 | ||
975 | #define NVRAM_MAGIC_SIG 0xdead | ||
976 | |||
977 | typedef struct NvRamImage | ||
978 | { | ||
979 | unsigned short int magic; | ||
980 | unsigned short int mode; | ||
981 | char fname[FILE_N_LEN]; | ||
982 | char path[PATH_N_LEN]; | ||
983 | char server[SERVER_N_LEN]; | ||
984 | char pad[12]; | ||
985 | } NvRam; | ||
986 | |||
987 | static int | ||
988 | mp1000_proc_infos(unsigned char *nvram, char *buffer, int *len, | ||
989 | off_t *begin, off_t offset, int size) | ||
990 | { | ||
991 | int checksum; | ||
992 | NvRam* nv = (NvRam*)nvram; | ||
993 | |||
994 | spin_lock_irq(&rtc_lock); | ||
995 | checksum = __nvram_check_checksum(); | ||
996 | spin_unlock_irq(&rtc_lock); | ||
997 | |||
998 | PRINT_PROC("Checksum status: %svalid\n", checksum ? "" : "not "); | ||
999 | |||
1000 | switch( nv->mode ) | ||
1001 | { | ||
1002 | case 0 : | ||
1003 | PRINT_PROC( "\tMode 0, tftp prompt\n" ); | ||
1004 | break; | ||
1005 | case 1 : | ||
1006 | PRINT_PROC( "\tMode 1, booting from disk\n" ); | ||
1007 | break; | ||
1008 | case 2 : | ||
1009 | PRINT_PROC( "\tMode 2, Alternate boot from disk /boot/%s\n", nv->fname ); | ||
1010 | break; | ||
1011 | case 3 : | ||
1012 | PRINT_PROC( "\tMode 3, Booting from net:\n" ); | ||
1013 | PRINT_PROC( "\t\t%s:%s%s\n",nv->server, nv->path, nv->fname ); | ||
1014 | break; | ||
1015 | default: | ||
1016 | PRINT_PROC( "\tInconsistant nvram?\n" ); | ||
1017 | break; | ||
1018 | } | ||
1019 | |||
1020 | return 1; | ||
1021 | } | ||
1022 | #endif | ||
1023 | |||
1024 | #endif /* MACH == MP1000 */ | ||
1025 | |||
1026 | MODULE_LICENSE("GPL"); | 918 | MODULE_LICENSE("GPL"); |
1027 | 919 | ||
1028 | EXPORT_SYMBOL(__nvram_read_byte); | 920 | EXPORT_SYMBOL(__nvram_read_byte); |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 6d4f9ceb0a32..57edae4790e8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1374,7 +1374,7 @@ config FORCEDETH | |||
1374 | 1374 | ||
1375 | config CS89x0 | 1375 | config CS89x0 |
1376 | tristate "CS89x0 support" | 1376 | tristate "CS89x0 support" |
1377 | depends on (NET_PCI && (ISA || ARCH_IXDP2X01)) || ARCH_PNX0105 || MACH_MP1000 | 1377 | depends on (NET_PCI && (ISA || ARCH_IXDP2X01)) || ARCH_PNX0105 |
1378 | ---help--- | 1378 | ---help--- |
1379 | Support for CS89x0 chipset based Ethernet cards. If you have a | 1379 | Support for CS89x0 chipset based Ethernet cards. If you have a |
1380 | network (Ethernet) card of this type, say Y and read the | 1380 | network (Ethernet) card of this type, say Y and read the |
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c index bfdae10036ed..a6078ad9b654 100644 --- a/drivers/net/cs89x0.c +++ b/drivers/net/cs89x0.c | |||
@@ -182,10 +182,6 @@ static unsigned int cs8900_irq_map[] = {IRQ_IXDP2X01_CS8900, 0, 0, 0}; | |||
182 | #define CIRRUS_DEFAULT_IRQ VH_INTC_INT_NUM_CASCADED_INTERRUPT_1 /* Event inputs bank 1 - ID 35/bit 3 */ | 182 | #define CIRRUS_DEFAULT_IRQ VH_INTC_INT_NUM_CASCADED_INTERRUPT_1 /* Event inputs bank 1 - ID 35/bit 3 */ |
183 | static unsigned int netcard_portlist[] __initdata = {CIRRUS_DEFAULT_BASE, 0}; | 183 | static unsigned int netcard_portlist[] __initdata = {CIRRUS_DEFAULT_BASE, 0}; |
184 | static unsigned int cs8900_irq_map[] = {CIRRUS_DEFAULT_IRQ, 0, 0, 0}; | 184 | static unsigned int cs8900_irq_map[] = {CIRRUS_DEFAULT_IRQ, 0, 0, 0}; |
185 | #elif defined(CONFIG_MACH_MP1000) | ||
186 | #include <asm/arch/mp1000-seprom.h> | ||
187 | static unsigned int netcard_portlist[] __initdata = {MP1000_EIO_BASE+0x300, 0}; | ||
188 | static unsigned int cs8900_irq_map[] = {IRQ_EINT3,0,0,0}; | ||
189 | #else | 185 | #else |
190 | static unsigned int netcard_portlist[] __initdata = | 186 | static unsigned int netcard_portlist[] __initdata = |
191 | { 0x300, 0x320, 0x340, 0x360, 0x200, 0x220, 0x240, 0x260, 0x280, 0x2a0, 0x2c0, 0x2e0, 0}; | 187 | { 0x300, 0x320, 0x340, 0x360, 0x200, 0x220, 0x240, 0x260, 0x280, 0x2a0, 0x2c0, 0x2e0, 0}; |
@@ -594,10 +590,6 @@ cs89x0_probe1(struct net_device *dev, int ioaddr, int modular) | |||
594 | cnt -= j; | 590 | cnt -= j; |
595 | } | 591 | } |
596 | } else | 592 | } else |
597 | #elif defined(CONFIG_MACH_MP1000) | ||
598 | if (1) { | ||
599 | memcpy(dev->dev_addr, get_eeprom_mac_address(), ETH_ALEN); | ||
600 | } else | ||
601 | #endif | 593 | #endif |
602 | 594 | ||
603 | if ((readreg(dev, PP_SelfST) & (EEPROM_OK | EEPROM_PRESENT)) == | 595 | if ((readreg(dev, PP_SelfST) & (EEPROM_OK | EEPROM_PRESENT)) == |
@@ -657,10 +649,6 @@ cs89x0_probe1(struct net_device *dev, int ioaddr, int modular) | |||
657 | if (1) { | 649 | if (1) { |
658 | printk(KERN_NOTICE "cs89x0: No EEPROM on HiCO.SH4\n"); | 650 | printk(KERN_NOTICE "cs89x0: No EEPROM on HiCO.SH4\n"); |
659 | } else | 651 | } else |
660 | #elif defined(CONFIG_MACH_MP1000) | ||
661 | if (1) { | ||
662 | lp->force |= FORCE_RJ45; | ||
663 | } else | ||
664 | #endif | 652 | #endif |
665 | if ((readreg(dev, PP_SelfST) & EEPROM_PRESENT) == 0) | 653 | if ((readreg(dev, PP_SelfST) & EEPROM_PRESENT) == 0) |
666 | printk(KERN_WARNING "cs89x0: No EEPROM, relying on command line....\n"); | 654 | printk(KERN_WARNING "cs89x0: No EEPROM, relying on command line....\n"); |
@@ -1243,7 +1231,7 @@ net_open(struct net_device *dev) | |||
1243 | else | 1231 | else |
1244 | #endif | 1232 | #endif |
1245 | { | 1233 | { |
1246 | #if !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX0105) && !defined(CONFIG_MACH_MP1000) | 1234 | #if !defined(CONFIG_ARCH_IXDP2X01) && !defined(CONFIG_ARCH_PNX0105) |
1247 | if (((1 << dev->irq) & lp->irq_map) == 0) { | 1235 | if (((1 << dev->irq) & lp->irq_map) == 0) { |
1248 | printk(KERN_ERR "%s: IRQ %d is not in our map of allowable IRQs, which is %x\n", | 1236 | printk(KERN_ERR "%s: IRQ %d is not in our map of allowable IRQs, which is %x\n", |
1249 | dev->name, dev->irq, lp->irq_map); | 1237 | dev->name, dev->irq, lp->irq_map); |
diff --git a/drivers/net/cs89x0.h b/drivers/net/cs89x0.h index f19d1ebe0183..decea264f121 100644 --- a/drivers/net/cs89x0.h +++ b/drivers/net/cs89x0.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/config.h> | 17 | #include <linux/config.h> |
18 | 18 | ||
19 | #if defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX0105) || defined (CONFIG_MACH_MP1000) | 19 | #if defined(CONFIG_ARCH_IXDP2X01) || defined(CONFIG_ARCH_PNX0105) |
20 | /* IXDP2401/IXDP2801 uses dword-aligned register addressing */ | 20 | /* IXDP2401/IXDP2801 uses dword-aligned register addressing */ |
21 | #define CS89x0_PORT(reg) ((reg) * 2) | 21 | #define CS89x0_PORT(reg) ((reg) * 2) |
22 | #else | 22 | #else |
diff --git a/drivers/serial/clps711x.c b/drivers/serial/clps711x.c index 6a67e8f585b3..87ef368384fb 100644 --- a/drivers/serial/clps711x.c +++ b/drivers/serial/clps711x.c | |||
@@ -408,11 +408,7 @@ static struct uart_port clps711x_ports[UART_NR] = { | |||
408 | { | 408 | { |
409 | .iobase = SYSCON1, | 409 | .iobase = SYSCON1, |
410 | .irq = IRQ_UTXINT1, /* IRQ_URXINT1, IRQ_UMSINT */ | 410 | .irq = IRQ_UTXINT1, /* IRQ_URXINT1, IRQ_UMSINT */ |
411 | #ifdef CONFIG_MP1000_90MHZ | ||
412 | .uartclk = 4515840, | ||
413 | #else | ||
414 | .uartclk = 3686400, | 411 | .uartclk = 3686400, |
415 | #endif | ||
416 | .fifosize = 16, | 412 | .fifosize = 16, |
417 | .ops = &clps711x_pops, | 413 | .ops = &clps711x_pops, |
418 | .line = 0, | 414 | .line = 0, |
@@ -421,11 +417,7 @@ static struct uart_port clps711x_ports[UART_NR] = { | |||
421 | { | 417 | { |
422 | .iobase = SYSCON2, | 418 | .iobase = SYSCON2, |
423 | .irq = IRQ_UTXINT2, /* IRQ_URXINT2 */ | 419 | .irq = IRQ_UTXINT2, /* IRQ_URXINT2 */ |
424 | #ifdef CONFIG_MP1000_90MHZ | ||
425 | .uartclk = 4515840, | ||
426 | #else | ||
427 | .uartclk = 3686400, | 420 | .uartclk = 3686400, |
428 | #endif | ||
429 | .fifosize = 16, | 421 | .fifosize = 16, |
430 | .ops = &clps711x_pops, | 422 | .ops = &clps711x_pops, |
431 | .line = 1, | 423 | .line = 1, |
@@ -559,7 +551,6 @@ console_initcall(clps711xuart_console_init); | |||
559 | static struct uart_driver clps711x_reg = { | 551 | static struct uart_driver clps711x_reg = { |
560 | .driver_name = "ttyCL", | 552 | .driver_name = "ttyCL", |
561 | .dev_name = "ttyCL", | 553 | .dev_name = "ttyCL", |
562 | .devfs_name = "ttyCL", | ||
563 | .major = SERIAL_CLPS711X_MAJOR, | 554 | .major = SERIAL_CLPS711X_MAJOR, |
564 | .minor = SERIAL_CLPS711X_MINOR, | 555 | .minor = SERIAL_CLPS711X_MINOR, |
565 | .nr = UART_NR, | 556 | .nr = UART_NR, |
diff --git a/include/asm-arm/arch-clps711x/hardware.h b/include/asm-arm/arch-clps711x/hardware.h index f864c367c934..1386871e1a5a 100644 --- a/include/asm-arm/arch-clps711x/hardware.h +++ b/include/asm-arm/arch-clps711x/hardware.h | |||
@@ -235,121 +235,4 @@ | |||
235 | #define CEIVA_PB0_BLK_BTN (1<<0) | 235 | #define CEIVA_PB0_BLK_BTN (1<<0) |
236 | #endif // #if defined (CONFIG_ARCH_CEIVA) | 236 | #endif // #if defined (CONFIG_ARCH_CEIVA) |
237 | 237 | ||
238 | #if defined (CONFIG_MACH_MP1000) | ||
239 | /* NOR FLASH */ | ||
240 | #define MP1000_NIO_BASE 0xf9000000 /* virtual */ | ||
241 | #define MP1000_NIO_START CS0_PHYS_BASE /* physical */ | ||
242 | #define MP1000_NIO_SIZE 0x00400000 | ||
243 | |||
244 | /* DSP Interface */ | ||
245 | #define MP1000_DSP_BASE 0xfa000000 /* virtual */ | ||
246 | #define MP1000_DSP_START CS1_PHYS_BASE /* physical */ | ||
247 | #define MP1000_DSP_SIZE 0x00100000 | ||
248 | |||
249 | /* LCD, DAA/DSP, RTC, DAA RW Reg all in CS2 */ | ||
250 | #define MP1000_LIO_BASE 0xfb000000 /* virtual */ | ||
251 | #define MP1000_LIO_START CS2_PHYS_BASE /* physical */ | ||
252 | #define MP1000_LIO_SIZE 0x00100000 | ||
253 | |||
254 | /* NAND FLASH */ | ||
255 | #define MP1000_FIO_BASE 0xfc000000 /* virtual */ | ||
256 | #define MP1000_FIO_START CS3_PHYS_BASE /* physical */ | ||
257 | #define MP1000_FIO_SIZE 0x00800000 | ||
258 | |||
259 | /* Ethernet */ | ||
260 | #define MP1000_EIO_BASE 0xfd000000 /* virtual */ | ||
261 | #define MP1000_EIO_START CS4_PHYS_BASE /* physical */ | ||
262 | #define MP1000_EIO_SIZE 0x00100000 | ||
263 | |||
264 | #define MP1000_LCD_OFFSET 0x00000000 /* LCD offset in CS2 */ | ||
265 | #define MP1000_DDD_OFFSET 0x00001000 /* DAA/DAI/DSP sft reset offst*/ | ||
266 | #define MP1000_RTC_OFFSET 0x00002000 /* RTC offset in CS2 */ | ||
267 | #define MP1000_DAA_OFFSET 0x00003000 /* DAA RW reg offset in CS2 */ | ||
268 | |||
269 | /* IDE */ | ||
270 | #define MP1000_IDE_BASE 0xfe000000 /* virtual */ | ||
271 | #define MP1000_IDE_START CS5_PHYS_BASE /* physical */ | ||
272 | #define MP1000_IDE_SIZE 0x00100000 /* actually it's only 0x1000 */ | ||
273 | |||
274 | #define IRQ_HARDDISK IRQ_EINT2 | ||
275 | |||
276 | /* | ||
277 | * IDE registers definition | ||
278 | */ | ||
279 | |||
280 | #define IDE_CONTROL_BASE (MP1000_IDE_BASE + 0x1000) | ||
281 | #define IDE_BASE_OFF (MP1000_IDE_BASE) | ||
282 | |||
283 | #define IDE_WRITE_DEVICE_DATA (IDE_BASE_OFF + 0x0) | ||
284 | #define IDE_FEATURES_REGISTER (IDE_BASE_OFF + 0x2) | ||
285 | #define IDE_SECTOR_COUNT_REGISTER (IDE_BASE_OFF + 0x4) | ||
286 | #define IDE_SECTOR_NUMBER_REGISTER (IDE_BASE_OFF + 0x6) | ||
287 | #define IDE_CYLINDER_LOW_REGISTER (IDE_BASE_OFF + 0x8) | ||
288 | #define IDE_CYLINDER_HIGH_REGISTER (IDE_BASE_OFF + 0xa) | ||
289 | #define IDE_DEVICE_HEAD_REGISTER (IDE_BASE_OFF + 0xc) | ||
290 | #define IDE_COMMAND_DATA_REGISTER (IDE_BASE_OFF + 0xe) | ||
291 | #define IDE_DEVICE_CONTROL_REGISTER (IDE_CONTROL_BASE + 0xc) | ||
292 | |||
293 | #define IDE_IRQ IRQ_EINT2 | ||
294 | |||
295 | |||
296 | #define RTC_PORT(x) (MP1000_LIO_BASE+0x2000 + (x*2)) | ||
297 | #define RTC_ALWAYS_BCD 0 | ||
298 | |||
299 | /* | ||
300 | // Definitions of the bit fields in the HwPortA register for the | ||
301 | // MP1000 board. | ||
302 | */ | ||
303 | #define HwPortAKeyboardRow1 0x00000001 | ||
304 | #define HwPortAKeyboardRow2 0x00000002 | ||
305 | #define HwPortAKeyboardRow3 0x00000004 | ||
306 | #define HwPortAKeyboardRow4 0x00000008 | ||
307 | #define HwPortAKeyboardRow5 0x00000010 | ||
308 | #define HwPortAKeyboardRow6 0x00000020 | ||
309 | #define HwPortALCDEnable 0x00000040 | ||
310 | #define HwPortAOffhook 0x00000080 | ||
311 | |||
312 | /* | ||
313 | // Definitions of the bit fields in the HwPortB register for the | ||
314 | // MP1000 board. | ||
315 | */ | ||
316 | #define HwPortBL3Mode 0x00000001 | ||
317 | #define HwPortBL3Clk 0x00000002 | ||
318 | #define HwPortBSClk 0x00000001 | ||
319 | #define HwPortBSData 0x00000002 | ||
320 | #define HwPortBL3Data 0x00000004 | ||
321 | #define HwPortBMute 0x00000008 | ||
322 | #define HwPortBQD0 0x00000010 | ||
323 | #define HwPortBQD1 0x00000020 | ||
324 | #define HwPortBQD2 0x00000040 | ||
325 | #define HwPortBQD3 0x00000080 | ||
326 | |||
327 | /* | ||
328 | // Definitions of the bit fields in the HwPortD register for the | ||
329 | // MP1000 board. | ||
330 | */ | ||
331 | #define HwPortDLED1 0x00000001 | ||
332 | #define HwPortDLED2 0x00000002 | ||
333 | #define HwPortDLED3 0x00000004 | ||
334 | #define HwPortDLED4 0x00000008 | ||
335 | #define HwPortDLED5 0x00000010 | ||
336 | #define HwPortDEECS 0x00000020 | ||
337 | #define HwPortBRTS 0x00000040 | ||
338 | #define HwPortBRI 0x00000080 | ||
339 | |||
340 | |||
341 | /* | ||
342 | // Definitions of the bit fields in the HwPortE register for the | ||
343 | // MP1000 board. | ||
344 | */ | ||
345 | |||
346 | #define HwPortECLE 0x00000001 | ||
347 | #define HwPortESepromDOut 0x00000001 | ||
348 | #define HwPortEALE 0x00000002 | ||
349 | #define HwPortESepromDIn 0x00000002 | ||
350 | #define HwPortENANDCS 0x00000004 | ||
351 | #define HwPortESepromCLK 0x00000004 | ||
352 | |||
353 | #endif // #if defined (CONFIG_MACH_MP1000) | ||
354 | |||
355 | #endif | 238 | #endif |
diff --git a/include/asm-arm/arch-clps711x/mp1000-seprom.h b/include/asm-arm/arch-clps711x/mp1000-seprom.h deleted file mode 100644 index 3e5566cf9666..000000000000 --- a/include/asm-arm/arch-clps711x/mp1000-seprom.h +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | #ifndef MP1000_SEPROM_H | ||
2 | #define MP1000_SEPROM_H | ||
3 | |||
4 | /* | ||
5 | * mp1000-seprom.h | ||
6 | * | ||
7 | * | ||
8 | * This file contains the Serial EEPROM definitions for the MP1000 board | ||
9 | * | ||
10 | * Copyright (C) 2005 Comdial Corporation | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License as published by | ||
14 | * the Free Software Foundation; either version 2 of the License, or | ||
15 | * (at your option) any later version. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | * GNU General Public License for more details. | ||
21 | * | ||
22 | * You should have received a copy of the GNU General Public License | ||
23 | * along with this program; if not, write to the Free Software | ||
24 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
25 | * | ||
26 | */ | ||
27 | |||
28 | #define COMMAND_ERASE (0x1C0) | ||
29 | #define COMMAND_ERASE_ALL (0x120) | ||
30 | #define COMMAND_WRITE_DISABLE (0x100) | ||
31 | #define COMMAND_WRITE_ENABLE (0x130) | ||
32 | #define COMMAND_READ (0x180) | ||
33 | #define COMMAND_WRITE (0x140) | ||
34 | #define COMMAND_WRITE_ALL (0x110) | ||
35 | |||
36 | // | ||
37 | // Serial EEPROM data format | ||
38 | // | ||
39 | |||
40 | #define PACKED __attribute__ ((packed)) | ||
41 | |||
42 | typedef struct _EEPROM { | ||
43 | union { | ||
44 | unsigned char eprom_byte_data[128]; | ||
45 | unsigned short eprom_short_data[64]; | ||
46 | struct { | ||
47 | unsigned char version PACKED; // EEPROM Version "1" for now | ||
48 | unsigned char box_id PACKED; // Box ID (Standalone, SOHO, embedded, etc) | ||
49 | unsigned char major_hw_version PACKED; // Major Hardware version (Hex) | ||
50 | unsigned char minor_hw_version PACKED; // Minor Hardware Version (Hex) | ||
51 | unsigned char mfg_id[3] PACKED; // Manufacturer ID (3 character Alphabetic) | ||
52 | unsigned char mfg_serial_number[10] PACKED; // Manufacturer Serial number | ||
53 | unsigned char mfg_date[3] PACKED; // Date of Mfg (Formatted YY:MM:DD) | ||
54 | unsigned char country PACKED; // Country of deployment | ||
55 | unsigned char mac_Address[6] PACKED; // MAC Address | ||
56 | unsigned char oem_string[20] PACKED; // OEM ID string | ||
57 | unsigned short feature_bits1 PACKED; // Feature Bits 1 | ||
58 | unsigned short feature_bits2 PACKED; // Feature Bits 2 | ||
59 | unsigned char filler[75] PACKED; // Unused/Undefined “0” initialized | ||
60 | unsigned short checksum PACKED; // byte accumulated short checksum | ||
61 | } eprom_struct; | ||
62 | } variant; | ||
63 | } eeprom_struct; | ||
64 | |||
65 | /* These settings must be mutually exclusive */ | ||
66 | #define FEATURE_BITS1_DRAMSIZE_16MEG 0x0001 /* 0 signifies 4 MEG system */ | ||
67 | #define FEATURE_BITS1_DRAMSIZE_8MEG 0x0002 /* 1 in bit 1 = 8MEG system */ | ||
68 | #define FEATURE_BITS1_DRAMSIZE_64MEG 0x0004 /* 1 in bit 2 = 64MEG system */ | ||
69 | |||
70 | #define FEATURE_BITS1_CPUIS90MEG 0x0010 | ||
71 | |||
72 | extern void seprom_init(void); | ||
73 | extern eeprom_struct* get_seprom_ptr(void); | ||
74 | extern unsigned char* get_eeprom_mac_address(void); | ||
75 | |||
76 | #endif /* MP1000_SEPROM_H */ | ||
77 | |||
diff --git a/include/asm-arm/arch-iop3xx/iop321.h b/include/asm-arm/arch-iop3xx/iop321.h index 200621ff3690..f8df778a356f 100644 --- a/include/asm-arm/arch-iop3xx/iop321.h +++ b/include/asm-arm/arch-iop3xx/iop321.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #define IOP321_PCI_UPPER_IO_BA (IOP321_PCI_LOWER_IO_BA + IOP321_PCI_IO_WINDOW_SIZE - 1) | 40 | #define IOP321_PCI_UPPER_IO_BA (IOP321_PCI_LOWER_IO_BA + IOP321_PCI_IO_WINDOW_SIZE - 1) |
41 | #define IOP321_PCI_IO_OFFSET (IOP321_PCI_LOWER_IO_VA - IOP321_PCI_LOWER_IO_BA) | 41 | #define IOP321_PCI_IO_OFFSET (IOP321_PCI_LOWER_IO_VA - IOP321_PCI_LOWER_IO_BA) |
42 | 42 | ||
43 | //#define IOP321_PCI_MEM_WINDOW_SIZE (~*IOP321_IALR1 + 1) | 43 | /* #define IOP321_PCI_MEM_WINDOW_SIZE (~*IOP321_IALR1 + 1) */ |
44 | #define IOP321_PCI_MEM_WINDOW_SIZE 0x04000000 /* 64M outbound window */ | 44 | #define IOP321_PCI_MEM_WINDOW_SIZE 0x04000000 /* 64M outbound window */ |
45 | #define IOP321_PCI_LOWER_MEM_PA 0x80000000 | 45 | #define IOP321_PCI_LOWER_MEM_PA 0x80000000 |
46 | #define IOP321_PCI_LOWER_MEM_BA (*IOP321_OMWTVR0) | 46 | #define IOP321_PCI_LOWER_MEM_BA (*IOP321_OMWTVR0) |
diff --git a/include/asm-arm/arch-ixp2000/irqs.h b/include/asm-arm/arch-ixp2000/irqs.h index 0deb96c12adb..62f09c7ff420 100644 --- a/include/asm-arm/arch-ixp2000/irqs.h +++ b/include/asm-arm/arch-ixp2000/irqs.h | |||
@@ -67,12 +67,45 @@ | |||
67 | #define IRQ_IXP2000_PCIA 40 | 67 | #define IRQ_IXP2000_PCIA 40 |
68 | #define IRQ_IXP2000_PCIB 41 | 68 | #define IRQ_IXP2000_PCIB 41 |
69 | 69 | ||
70 | #define NR_IXP2000_IRQS 42 | 70 | /* Int sources from IRQ_ERROR_STATUS */ |
71 | #define IRQ_IXP2000_DRAM0_MIN_ERR 42 | ||
72 | #define IRQ_IXP2000_DRAM0_MAJ_ERR 43 | ||
73 | #define IRQ_IXP2000_DRAM1_MIN_ERR 44 | ||
74 | #define IRQ_IXP2000_DRAM1_MAJ_ERR 45 | ||
75 | #define IRQ_IXP2000_DRAM2_MIN_ERR 46 | ||
76 | #define IRQ_IXP2000_DRAM2_MAJ_ERR 47 | ||
77 | /* 48-57 reserved */ | ||
78 | #define IRQ_IXP2000_SRAM0_ERR 58 | ||
79 | #define IRQ_IXP2000_SRAM1_ERR 59 | ||
80 | #define IRQ_IXP2000_SRAM2_ERR 60 | ||
81 | #define IRQ_IXP2000_SRAM3_ERR 61 | ||
82 | /* 62-65 reserved */ | ||
83 | #define IRQ_IXP2000_MEDIA_ERR 66 | ||
84 | #define IRQ_IXP2000_PCI_ERR 67 | ||
85 | #define IRQ_IXP2000_SP_INT 68 | ||
86 | |||
87 | #define NR_IXP2000_IRQS 69 | ||
71 | 88 | ||
72 | #define IXP2000_BOARD_IRQ(x) (NR_IXP2000_IRQS + (x)) | 89 | #define IXP2000_BOARD_IRQ(x) (NR_IXP2000_IRQS + (x)) |
73 | 90 | ||
74 | #define IXP2000_BOARD_IRQ_MASK(irq) (1 << (irq - NR_IXP2000_IRQS)) | 91 | #define IXP2000_BOARD_IRQ_MASK(irq) (1 << (irq - NR_IXP2000_IRQS)) |
75 | 92 | ||
93 | #define IXP2000_ERR_IRQ_MASK(irq) ( 1 << (irq - IRQ_IXP2000_DRAM0_MIN_ERR)) | ||
94 | #define IXP2000_VALID_ERR_IRQ_MASK (\ | ||
95 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM0_MIN_ERR) | \ | ||
96 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM0_MAJ_ERR) | \ | ||
97 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM1_MIN_ERR) | \ | ||
98 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM1_MAJ_ERR) | \ | ||
99 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM2_MIN_ERR) | \ | ||
100 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_DRAM2_MAJ_ERR) | \ | ||
101 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_SRAM0_ERR) | \ | ||
102 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_SRAM1_ERR) | \ | ||
103 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_SRAM2_ERR) | \ | ||
104 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_SRAM3_ERR) | \ | ||
105 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_MEDIA_ERR) | \ | ||
106 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_PCI_ERR) | \ | ||
107 | IXP2000_ERR_IRQ_MASK(IRQ_IXP2000_SP_INT) ) | ||
108 | |||
76 | /* | 109 | /* |
77 | * This allows for all the on-chip sources plus up to 32 CPLD based | 110 | * This allows for all the on-chip sources plus up to 32 CPLD based |
78 | * IRQs. Should be more than enough. | 111 | * IRQs. Should be more than enough. |
diff --git a/include/asm-arm/mmu_context.h b/include/asm-arm/mmu_context.h index 4af9c411c617..57b8def83d41 100644 --- a/include/asm-arm/mmu_context.h +++ b/include/asm-arm/mmu_context.h | |||
@@ -86,7 +86,8 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
86 | cpu_set(cpu, next->cpu_vm_mask); | 86 | cpu_set(cpu, next->cpu_vm_mask); |
87 | check_context(next); | 87 | check_context(next); |
88 | cpu_switch_mm(next->pgd, next); | 88 | cpu_switch_mm(next->pgd, next); |
89 | cpu_clear(cpu, prev->cpu_vm_mask); | 89 | if (cache_is_vivt()) |
90 | cpu_clear(cpu, prev->cpu_vm_mask); | ||
90 | } | 91 | } |
91 | } | 92 | } |
92 | 93 | ||