diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-04 12:28:34 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-04 12:28:34 -0500 |
commit | d56c524afaa87ae224b5821ef101891ce076c321 (patch) | |
tree | a35ad97919e7559443509a0e0c8ae72f41be7d9e | |
parent | 866237eafc60637a2c9875167486f61d86892c6b (diff) |
[PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom
No longer maintained
-rw-r--r-- | arch/arm/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/boot/compressed/head.S | 3 | ||||
-rw-r--r-- | arch/arm/configs/mp1000_defconfig | 897 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/Kconfig | 11 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/mp1000-mach.c | 49 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/mp1000-mm.c | 47 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/mp1000-seprom.c | 195 | ||||
-rw-r--r-- | drivers/serial/clps711x.c | 9 | ||||
-rw-r--r-- | include/asm-arm/arch-clps711x/hardware.h | 117 | ||||
-rw-r--r-- | include/asm-arm/arch-clps711x/mp1000-seprom.h | 77 |
11 files changed, 2 insertions, 1407 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/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/mp1000_defconfig b/arch/arm/configs/mp1000_defconfig deleted file mode 100644 index d2cbc6fada1d..000000000000 --- a/arch/arm/configs/mp1000_defconfig +++ /dev/null | |||
@@ -1,897 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.14-rc1 | ||
4 | # Fri Sep 16 15:48:13 2005 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_MMU=y | ||
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
11 | |||
12 | # | ||
13 | # Code maturity level options | ||
14 | # | ||
15 | CONFIG_EXPERIMENTAL=y | ||
16 | # CONFIG_CLEAN_COMPILE is not set | ||
17 | CONFIG_BROKEN=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | CONFIG_LOCK_KERNEL=y | ||
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
21 | |||
22 | # | ||
23 | # General setup | ||
24 | # | ||
25 | CONFIG_LOCALVERSION="" | ||
26 | CONFIG_LOCALVERSION_AUTO=y | ||
27 | CONFIG_SWAP=y | ||
28 | CONFIG_SYSVIPC=y | ||
29 | # CONFIG_POSIX_MQUEUE is not set | ||
30 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
31 | CONFIG_SYSCTL=y | ||
32 | # CONFIG_AUDIT is not set | ||
33 | # CONFIG_HOTPLUG is not set | ||
34 | CONFIG_KOBJECT_UEVENT=y | ||
35 | CONFIG_IKCONFIG=y | ||
36 | CONFIG_IKCONFIG_PROC=y | ||
37 | CONFIG_INITRAMFS_SOURCE="" | ||
38 | CONFIG_EMBEDDED=y | ||
39 | CONFIG_KALLSYMS=y | ||
40 | # CONFIG_KALLSYMS_ALL is not set | ||
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
42 | CONFIG_PRINTK=y | ||
43 | CONFIG_BUG=y | ||
44 | CONFIG_BASE_FULL=y | ||
45 | CONFIG_FUTEX=y | ||
46 | CONFIG_EPOLL=y | ||
47 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
48 | CONFIG_SHMEM=y | ||
49 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
50 | CONFIG_CC_ALIGN_LABELS=0 | ||
51 | CONFIG_CC_ALIGN_LOOPS=0 | ||
52 | CONFIG_CC_ALIGN_JUMPS=0 | ||
53 | # CONFIG_TINY_SHMEM is not set | ||
54 | CONFIG_BASE_SMALL=0 | ||
55 | |||
56 | # | ||
57 | # Loadable module support | ||
58 | # | ||
59 | CONFIG_MODULES=y | ||
60 | CONFIG_MODULE_UNLOAD=y | ||
61 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
62 | CONFIG_OBSOLETE_MODPARM=y | ||
63 | # CONFIG_MODVERSIONS is not set | ||
64 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
65 | CONFIG_KMOD=y | ||
66 | |||
67 | # | ||
68 | # System Type | ||
69 | # | ||
70 | # CONFIG_ARCH_CLPS7500 is not set | ||
71 | CONFIG_ARCH_CLPS711X=y | ||
72 | # CONFIG_ARCH_CO285 is not set | ||
73 | # CONFIG_ARCH_EBSA110 is not set | ||
74 | # CONFIG_ARCH_CAMELOT is not set | ||
75 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
76 | # CONFIG_ARCH_INTEGRATOR is not set | ||
77 | # CONFIG_ARCH_IOP3XX is not set | ||
78 | # CONFIG_ARCH_IXP4XX is not set | ||
79 | # CONFIG_ARCH_IXP2000 is not set | ||
80 | # CONFIG_ARCH_L7200 is not set | ||
81 | # CONFIG_ARCH_PXA is not set | ||
82 | # CONFIG_ARCH_RPC is not set | ||
83 | # CONFIG_ARCH_SA1100 is not set | ||
84 | # CONFIG_ARCH_S3C2410 is not set | ||
85 | # CONFIG_ARCH_SHARK is not set | ||
86 | # CONFIG_ARCH_LH7A40X is not set | ||
87 | # CONFIG_ARCH_OMAP is not set | ||
88 | # CONFIG_ARCH_VERSATILE is not set | ||
89 | # CONFIG_ARCH_IMX is not set | ||
90 | # CONFIG_ARCH_H720X is not set | ||
91 | # CONFIG_ARCH_AAEC2000 is not set | ||
92 | |||
93 | # | ||
94 | # CLPS711X/EP721X Implementations | ||
95 | # | ||
96 | # CONFIG_ARCH_AUTCPU12 is not set | ||
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 | |||
106 | # | ||
107 | # Processor Type | ||
108 | # | ||
109 | CONFIG_CPU_32=y | ||
110 | CONFIG_CPU_ARM720T=y | ||
111 | CONFIG_CPU_32v4=y | ||
112 | CONFIG_CPU_ABRT_LV4T=y | ||
113 | CONFIG_CPU_CACHE_V4=y | ||
114 | CONFIG_CPU_CACHE_VIVT=y | ||
115 | CONFIG_CPU_COPY_V4WT=y | ||
116 | CONFIG_CPU_TLB_V4WT=y | ||
117 | |||
118 | # | ||
119 | # Processor Features | ||
120 | # | ||
121 | CONFIG_ARM_THUMB=y | ||
122 | |||
123 | # | ||
124 | # Bus support | ||
125 | # | ||
126 | CONFIG_ISA_DMA_API=y | ||
127 | |||
128 | # | ||
129 | # PCCARD (PCMCIA/CardBus) support | ||
130 | # | ||
131 | # CONFIG_PCCARD is not set | ||
132 | |||
133 | # | ||
134 | # Kernel Features | ||
135 | # | ||
136 | # CONFIG_SMP is not set | ||
137 | CONFIG_PREEMPT=y | ||
138 | # CONFIG_NO_IDLE_HZ is not set | ||
139 | # 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 | ||
145 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
146 | # CONFIG_SPARSEMEM_STATIC is not set | ||
147 | CONFIG_ALIGNMENT_TRAP=y | ||
148 | |||
149 | # | ||
150 | # Boot options | ||
151 | # | ||
152 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
153 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
154 | CONFIG_CMDLINE="console=ttyCL,38400 root=/dev/discs/disc0/part1 ip=any cs89x0_media=rj45" | ||
155 | # CONFIG_XIP_KERNEL is not set | ||
156 | |||
157 | # | ||
158 | # Floating point emulation | ||
159 | # | ||
160 | |||
161 | # | ||
162 | # At least one emulation must be selected | ||
163 | # | ||
164 | CONFIG_FPE_NWFPE=y | ||
165 | # CONFIG_FPE_NWFPE_XP is not set | ||
166 | # CONFIG_FPE_FASTFPE is not set | ||
167 | |||
168 | # | ||
169 | # Userspace binary formats | ||
170 | # | ||
171 | CONFIG_BINFMT_ELF=y | ||
172 | # CONFIG_BINFMT_AOUT is not set | ||
173 | CONFIG_BINFMT_MISC=y | ||
174 | # CONFIG_ARTHUR is not set | ||
175 | |||
176 | # | ||
177 | # Power management options | ||
178 | # | ||
179 | # CONFIG_PM is not set | ||
180 | |||
181 | # | ||
182 | # Networking | ||
183 | # | ||
184 | CONFIG_NET=y | ||
185 | |||
186 | # | ||
187 | # Networking options | ||
188 | # | ||
189 | CONFIG_PACKET=y | ||
190 | # CONFIG_PACKET_MMAP is not set | ||
191 | CONFIG_UNIX=y | ||
192 | # CONFIG_NET_KEY is not set | ||
193 | CONFIG_INET=y | ||
194 | # CONFIG_IP_MULTICAST is not set | ||
195 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
196 | CONFIG_IP_FIB_HASH=y | ||
197 | CONFIG_IP_PNP=y | ||
198 | CONFIG_IP_PNP_DHCP=y | ||
199 | CONFIG_IP_PNP_BOOTP=y | ||
200 | CONFIG_IP_PNP_RARP=y | ||
201 | # CONFIG_NET_IPIP is not set | ||
202 | # CONFIG_NET_IPGRE is not set | ||
203 | # CONFIG_ARPD is not set | ||
204 | # CONFIG_SYN_COOKIES is not set | ||
205 | # CONFIG_INET_AH is not set | ||
206 | # CONFIG_INET_ESP is not set | ||
207 | # CONFIG_INET_IPCOMP is not set | ||
208 | # CONFIG_INET_TUNNEL is not set | ||
209 | CONFIG_INET_DIAG=y | ||
210 | CONFIG_INET_TCP_DIAG=y | ||
211 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
212 | CONFIG_TCP_CONG_BIC=y | ||
213 | CONFIG_IPV6=y | ||
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 | ||
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 | ||
233 | # CONFIG_VLAN_8021Q is not set | ||
234 | # CONFIG_DECNET is not set | ||
235 | # CONFIG_LLC2 is not set | ||
236 | # CONFIG_IPX is not set | ||
237 | # 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 | ||
244 | # CONFIG_NET_CLS_ROUTE is not set | ||
245 | |||
246 | # | ||
247 | # Network testing | ||
248 | # | ||
249 | # CONFIG_NET_PKTGEN is not set | ||
250 | # CONFIG_NETFILTER_NETLINK is not set | ||
251 | # CONFIG_HAMRADIO is not set | ||
252 | # CONFIG_IRDA is not set | ||
253 | # CONFIG_BT is not set | ||
254 | # CONFIG_IEEE80211 is not set | ||
255 | |||
256 | # | ||
257 | # Device Drivers | ||
258 | # | ||
259 | |||
260 | # | ||
261 | # Generic Driver Options | ||
262 | # | ||
263 | CONFIG_STANDALONE=y | ||
264 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
265 | # CONFIG_FW_LOADER is not set | ||
266 | # CONFIG_DEBUG_DRIVER is not set | ||
267 | |||
268 | # | ||
269 | # Memory Technology Devices (MTD) | ||
270 | # | ||
271 | CONFIG_MTD=y | ||
272 | CONFIG_MTD_DEBUG=y | ||
273 | CONFIG_MTD_DEBUG_VERBOSE=3 | ||
274 | # CONFIG_MTD_CONCAT is not set | ||
275 | CONFIG_MTD_PARTITIONS=y | ||
276 | CONFIG_MTD_REDBOOT_PARTS=m | ||
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 | ||
281 | # CONFIG_MTD_AFS_PARTS is not set | ||
282 | |||
283 | # | ||
284 | # User Modules And Translation Layers | ||
285 | # | ||
286 | CONFIG_MTD_CHAR=y | ||
287 | CONFIG_MTD_BLOCK=y | ||
288 | # CONFIG_FTL is not set | ||
289 | # CONFIG_NFTL is not set | ||
290 | # CONFIG_INFTL is not set | ||
291 | |||
292 | # | ||
293 | # RAM/ROM/Flash chip drivers | ||
294 | # | ||
295 | CONFIG_MTD_CFI=m | ||
296 | # CONFIG_MTD_JEDECPROBE is not set | ||
297 | CONFIG_MTD_GEN_PROBE=m | ||
298 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
299 | CONFIG_MTD_CFI_NOSWAP=y | ||
300 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
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 | ||
306 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
307 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
308 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
309 | # CONFIG_MTD_CFI_I1 is not set | ||
310 | CONFIG_MTD_CFI_I2=y | ||
311 | # CONFIG_MTD_CFI_I4 is not set | ||
312 | # CONFIG_MTD_CFI_I8 is not set | ||
313 | # CONFIG_MTD_OTP is not set | ||
314 | CONFIG_MTD_CFI_INTELEXT=m | ||
315 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
316 | # CONFIG_MTD_CFI_STAA is not set | ||
317 | CONFIG_MTD_CFI_UTIL=m | ||
318 | # CONFIG_MTD_RAM is not set | ||
319 | # CONFIG_MTD_ROM is not set | ||
320 | # CONFIG_MTD_ABSENT is not set | ||
321 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
322 | # CONFIG_MTD_XIP is not set | ||
323 | |||
324 | # | ||
325 | # Mapping drivers for chip access | ||
326 | # | ||
327 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
328 | CONFIG_MTD_PHYSMAP=m | ||
329 | CONFIG_MTD_PHYSMAP_START=0x0000000 | ||
330 | CONFIG_MTD_PHYSMAP_LEN=0x4000000 | ||
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 | ||
335 | |||
336 | # | ||
337 | # Self-contained MTD device drivers | ||
338 | # | ||
339 | # CONFIG_MTD_SLRAM is not set | ||
340 | # CONFIG_MTD_PHRAM is not set | ||
341 | # CONFIG_MTD_MTDRAM is not set | ||
342 | # CONFIG_MTD_BLKMTD is not set | ||
343 | # CONFIG_MTD_BLOCK2MTD is not set | ||
344 | |||
345 | # | ||
346 | # Disk-On-Chip Device Drivers | ||
347 | # | ||
348 | # CONFIG_MTD_DOC2000 is not set | ||
349 | # CONFIG_MTD_DOC2001 is not set | ||
350 | # CONFIG_MTD_DOC2001PLUS is not set | ||
351 | |||
352 | # | ||
353 | # NAND Flash Device Drivers | ||
354 | # | ||
355 | CONFIG_MTD_NAND=y | ||
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 | |||
362 | # | ||
363 | # Parallel port support | ||
364 | # | ||
365 | # CONFIG_PARPORT is not set | ||
366 | |||
367 | # | ||
368 | # Plug and Play support | ||
369 | # | ||
370 | |||
371 | # | ||
372 | # Block devices | ||
373 | # | ||
374 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
375 | CONFIG_BLK_DEV_LOOP=m | ||
376 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
377 | # CONFIG_BLK_DEV_NBD is not set | ||
378 | CONFIG_BLK_DEV_RAM=y | ||
379 | CONFIG_BLK_DEV_RAM_COUNT=2 | ||
380 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
381 | CONFIG_BLK_DEV_INITRD=y | ||
382 | # CONFIG_CDROM_PKTCDVD is not set | ||
383 | |||
384 | # | ||
385 | # IO Schedulers | ||
386 | # | ||
387 | CONFIG_IOSCHED_NOOP=y | ||
388 | CONFIG_IOSCHED_AS=y | ||
389 | CONFIG_IOSCHED_DEADLINE=y | ||
390 | CONFIG_IOSCHED_CFQ=y | ||
391 | # CONFIG_ATA_OVER_ETH is not set | ||
392 | |||
393 | # | ||
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 | ||
423 | # | ||
424 | # CONFIG_RAID_ATTRS is not set | ||
425 | # CONFIG_SCSI is not set | ||
426 | |||
427 | # | ||
428 | # Multi-device support (RAID and LVM) | ||
429 | # | ||
430 | CONFIG_MD=y | ||
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 | |||
439 | # | ||
440 | # Fusion MPT device support | ||
441 | # | ||
442 | # CONFIG_FUSION is not set | ||
443 | |||
444 | # | ||
445 | # IEEE 1394 (FireWire) support | ||
446 | # | ||
447 | # CONFIG_IEEE1394 is not set | ||
448 | |||
449 | # | ||
450 | # I2O device support | ||
451 | # | ||
452 | |||
453 | # | ||
454 | # Network device support | ||
455 | # | ||
456 | CONFIG_NETDEVICES=y | ||
457 | # CONFIG_DUMMY is not set | ||
458 | # CONFIG_BONDING is not set | ||
459 | # CONFIG_EQUALIZER is not set | ||
460 | # CONFIG_TUN is not set | ||
461 | |||
462 | # | ||
463 | # PHY device support | ||
464 | # | ||
465 | # CONFIG_PHYLIB is not set | ||
466 | |||
467 | # | ||
468 | # Ethernet (10 or 100Mbit) | ||
469 | # | ||
470 | CONFIG_NET_ETHERNET=y | ||
471 | # CONFIG_MII is not set | ||
472 | # CONFIG_SMC91X is not set | ||
473 | # CONFIG_DM9000 is not set | ||
474 | CONFIG_CS89x0=y | ||
475 | |||
476 | # | ||
477 | # Ethernet (1000 Mbit) | ||
478 | # | ||
479 | |||
480 | # | ||
481 | # Ethernet (10000 Mbit) | ||
482 | # | ||
483 | |||
484 | # | ||
485 | # Token Ring devices | ||
486 | # | ||
487 | |||
488 | # | ||
489 | # Wireless LAN (non-hamradio) | ||
490 | # | ||
491 | # CONFIG_NET_RADIO is not set | ||
492 | |||
493 | # | ||
494 | # Wan interfaces | ||
495 | # | ||
496 | # CONFIG_WAN is not set | ||
497 | # CONFIG_PPP is not set | ||
498 | # CONFIG_SLIP is not set | ||
499 | # CONFIG_SHAPER is not set | ||
500 | # CONFIG_NETCONSOLE is not set | ||
501 | # CONFIG_NETPOLL is not set | ||
502 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
503 | |||
504 | # | ||
505 | # ISDN subsystem | ||
506 | # | ||
507 | # CONFIG_ISDN is not set | ||
508 | |||
509 | # | ||
510 | # Input device support | ||
511 | # | ||
512 | CONFIG_INPUT=y | ||
513 | |||
514 | # | ||
515 | # Userland interfaces | ||
516 | # | ||
517 | # CONFIG_INPUT_MOUSEDEV is not set | ||
518 | # CONFIG_INPUT_JOYDEV is not set | ||
519 | # CONFIG_INPUT_TSDEV is not set | ||
520 | # CONFIG_INPUT_EVDEV is not set | ||
521 | CONFIG_INPUT_EVBUG=y | ||
522 | |||
523 | # | ||
524 | # Input Device Drivers | ||
525 | # | ||
526 | # CONFIG_INPUT_KEYBOARD is not set | ||
527 | # CONFIG_INPUT_MOUSE is not set | ||
528 | # CONFIG_INPUT_JOYSTICK is not set | ||
529 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
530 | # CONFIG_INPUT_MISC is not set | ||
531 | |||
532 | # | ||
533 | # Hardware I/O ports | ||
534 | # | ||
535 | CONFIG_SERIO=y | ||
536 | CONFIG_SERIO_SERPORT=y | ||
537 | # CONFIG_SERIO_LIBPS2 is not set | ||
538 | # CONFIG_SERIO_RAW is not set | ||
539 | # CONFIG_GAMEPORT is not set | ||
540 | |||
541 | # | ||
542 | # Character devices | ||
543 | # | ||
544 | CONFIG_VT=y | ||
545 | CONFIG_VT_CONSOLE=y | ||
546 | CONFIG_HW_CONSOLE=y | ||
547 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
548 | |||
549 | # | ||
550 | # Serial drivers | ||
551 | # | ||
552 | CONFIG_SERIAL_8250=y | ||
553 | CONFIG_SERIAL_8250_CONSOLE=y | ||
554 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
555 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
556 | |||
557 | # | ||
558 | # Non-8250 serial port support | ||
559 | # | ||
560 | CONFIG_SERIAL_CLPS711X=y | ||
561 | CONFIG_SERIAL_CLPS711X_CONSOLE=y | ||
562 | CONFIG_SERIAL_CORE=y | ||
563 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
564 | CONFIG_UNIX98_PTYS=y | ||
565 | CONFIG_LEGACY_PTYS=y | ||
566 | CONFIG_LEGACY_PTY_COUNT=256 | ||
567 | |||
568 | # | ||
569 | # IPMI | ||
570 | # | ||
571 | # CONFIG_IPMI_HANDLER is not set | ||
572 | |||
573 | # | ||
574 | # Watchdog Cards | ||
575 | # | ||
576 | # CONFIG_WATCHDOG is not set | ||
577 | CONFIG_NVRAM=y | ||
578 | CONFIG_RTC=y | ||
579 | # CONFIG_DTLK is not set | ||
580 | # CONFIG_R3964 is not set | ||
581 | |||
582 | # | ||
583 | # Ftape, the floppy tape device driver | ||
584 | # | ||
585 | # CONFIG_RAW_DRIVER is not set | ||
586 | |||
587 | # | ||
588 | # TPM devices | ||
589 | # | ||
590 | |||
591 | # | ||
592 | # I2C support | ||
593 | # | ||
594 | # CONFIG_I2C is not set | ||
595 | |||
596 | # | ||
597 | # Hardware Monitoring support | ||
598 | # | ||
599 | CONFIG_HWMON=y | ||
600 | # CONFIG_HWMON_VID is not set | ||
601 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
602 | |||
603 | # | ||
604 | # Misc devices | ||
605 | # | ||
606 | |||
607 | # | ||
608 | # Multimedia Capabilities Port drivers | ||
609 | # | ||
610 | |||
611 | # | ||
612 | # Multimedia devices | ||
613 | # | ||
614 | # CONFIG_VIDEO_DEV is not set | ||
615 | |||
616 | # | ||
617 | # Digital Video Broadcasting Devices | ||
618 | # | ||
619 | # CONFIG_DVB is not set | ||
620 | |||
621 | # | ||
622 | # Graphics support | ||
623 | # | ||
624 | # CONFIG_FB is not set | ||
625 | |||
626 | # | ||
627 | # Console display driver support | ||
628 | # | ||
629 | # CONFIG_VGA_CONSOLE is not set | ||
630 | CONFIG_DUMMY_CONSOLE=y | ||
631 | |||
632 | # | ||
633 | # Sound | ||
634 | # | ||
635 | # CONFIG_SOUND is not set | ||
636 | |||
637 | # | ||
638 | # USB support | ||
639 | # | ||
640 | CONFIG_USB_ARCH_HAS_HCD=y | ||
641 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
642 | # CONFIG_USB is not set | ||
643 | |||
644 | # | ||
645 | # USB Gadget Support | ||
646 | # | ||
647 | # CONFIG_USB_GADGET is not set | ||
648 | |||
649 | # | ||
650 | # MMC/SD Card support | ||
651 | # | ||
652 | # CONFIG_MMC is not set | ||
653 | |||
654 | # | ||
655 | # File systems | ||
656 | # | ||
657 | CONFIG_EXT2_FS=y | ||
658 | CONFIG_EXT2_FS_XATTR=y | ||
659 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
660 | # CONFIG_EXT2_FS_SECURITY 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 | ||
674 | CONFIG_FS_POSIX_ACL=y | ||
675 | # CONFIG_XFS_FS is not set | ||
676 | # CONFIG_MINIX_FS is not set | ||
677 | # CONFIG_ROMFS_FS is not set | ||
678 | CONFIG_INOTIFY=y | ||
679 | CONFIG_QUOTA=y | ||
680 | # CONFIG_QFMT_V1 is not set | ||
681 | # CONFIG_QFMT_V2 is not set | ||
682 | CONFIG_QUOTACTL=y | ||
683 | CONFIG_DNOTIFY=y | ||
684 | # CONFIG_AUTOFS_FS is not set | ||
685 | # CONFIG_AUTOFS4_FS is not set | ||
686 | # CONFIG_FUSE_FS is not set | ||
687 | |||
688 | # | ||
689 | # CD-ROM/DVD Filesystems | ||
690 | # | ||
691 | # CONFIG_ISO9660_FS is not set | ||
692 | # CONFIG_UDF_FS is not set | ||
693 | |||
694 | # | ||
695 | # DOS/FAT/NT Filesystems | ||
696 | # | ||
697 | # CONFIG_MSDOS_FS is not set | ||
698 | # CONFIG_VFAT_FS is not set | ||
699 | # CONFIG_NTFS_FS is not set | ||
700 | |||
701 | # | ||
702 | # Pseudo filesystems | ||
703 | # | ||
704 | CONFIG_PROC_FS=y | ||
705 | CONFIG_SYSFS=y | ||
706 | CONFIG_TMPFS=y | ||
707 | # CONFIG_HUGETLBFS is not set | ||
708 | # CONFIG_HUGETLB_PAGE is not set | ||
709 | CONFIG_RAMFS=y | ||
710 | # CONFIG_RELAYFS_FS is not set | ||
711 | |||
712 | # | ||
713 | # Miscellaneous filesystems | ||
714 | # | ||
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 | ||
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 | ||
723 | CONFIG_JFFS2_FS=m | ||
724 | CONFIG_JFFS2_FS_DEBUG=0 | ||
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 | ||
732 | # CONFIG_HPFS_FS is not set | ||
733 | # CONFIG_QNX4FS_FS is not set | ||
734 | # CONFIG_SYSV_FS is not set | ||
735 | # CONFIG_UFS_FS is not set | ||
736 | |||
737 | # | ||
738 | # Network File Systems | ||
739 | # | ||
740 | CONFIG_NFS_FS=y | ||
741 | CONFIG_NFS_V3=y | ||
742 | # CONFIG_NFS_V3_ACL is not set | ||
743 | CONFIG_NFS_V4=y | ||
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 | ||
751 | CONFIG_LOCKD=y | ||
752 | CONFIG_LOCKD_V4=y | ||
753 | CONFIG_EXPORTFS=y | ||
754 | CONFIG_NFS_COMMON=y | ||
755 | CONFIG_SUNRPC=y | ||
756 | CONFIG_SUNRPC_GSS=y | ||
757 | CONFIG_RPCSEC_GSS_KRB5=y | ||
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 | ||
766 | # CONFIG_CODA_FS is not set | ||
767 | # CONFIG_AFS_FS is not set | ||
768 | # CONFIG_9P_FS is not set | ||
769 | |||
770 | # | ||
771 | # Partition Types | ||
772 | # | ||
773 | # CONFIG_PARTITION_ADVANCED is not set | ||
774 | CONFIG_MSDOS_PARTITION=y | ||
775 | |||
776 | # | ||
777 | # Native Language Support | ||
778 | # | ||
779 | CONFIG_NLS=y | ||
780 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
781 | CONFIG_NLS_CODEPAGE_437=y | ||
782 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
783 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
784 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
785 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
786 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
787 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
788 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
789 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
790 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
791 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
792 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
793 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
794 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
795 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
796 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
797 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
798 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
799 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
800 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
801 | # CONFIG_NLS_ISO8859_8 is not set | ||
802 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
803 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
804 | # CONFIG_NLS_ASCII is not set | ||
805 | # CONFIG_NLS_ISO8859_1 is not set | ||
806 | # CONFIG_NLS_ISO8859_2 is not set | ||
807 | # CONFIG_NLS_ISO8859_3 is not set | ||
808 | # CONFIG_NLS_ISO8859_4 is not set | ||
809 | # CONFIG_NLS_ISO8859_5 is not set | ||
810 | # CONFIG_NLS_ISO8859_6 is not set | ||
811 | # CONFIG_NLS_ISO8859_7 is not set | ||
812 | # CONFIG_NLS_ISO8859_9 is not set | ||
813 | # CONFIG_NLS_ISO8859_13 is not set | ||
814 | # CONFIG_NLS_ISO8859_14 is not set | ||
815 | # CONFIG_NLS_ISO8859_15 is not set | ||
816 | # CONFIG_NLS_KOI8_R is not set | ||
817 | # CONFIG_NLS_KOI8_U is not set | ||
818 | # CONFIG_NLS_UTF8 is not set | ||
819 | |||
820 | # | ||
821 | # Profiling support | ||
822 | # | ||
823 | # CONFIG_PROFILING is not set | ||
824 | |||
825 | # | ||
826 | # Kernel hacking | ||
827 | # | ||
828 | CONFIG_PRINTK_TIME=y | ||
829 | CONFIG_DEBUG_KERNEL=y | ||
830 | # CONFIG_MAGIC_SYSRQ is not set | ||
831 | CONFIG_LOG_BUF_SHIFT=14 | ||
832 | CONFIG_DETECT_SOFTLOCKUP=y | ||
833 | # CONFIG_SCHEDSTATS is not set | ||
834 | # CONFIG_DEBUG_SLAB is not set | ||
835 | CONFIG_DEBUG_PREEMPT=y | ||
836 | # CONFIG_DEBUG_SPINLOCK is not set | ||
837 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
838 | # CONFIG_DEBUG_KOBJECT is not set | ||
839 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
840 | CONFIG_DEBUG_INFO=y | ||
841 | # CONFIG_DEBUG_FS is not set | ||
842 | CONFIG_FRAME_POINTER=y | ||
843 | CONFIG_DEBUG_USER=y | ||
844 | CONFIG_DEBUG_WAITQ=y | ||
845 | CONFIG_DEBUG_ERRORS=y | ||
846 | CONFIG_DEBUG_LL=y | ||
847 | # CONFIG_DEBUG_ICEDCC is not set | ||
848 | # CONFIG_DEBUG_CLPS711X_UART2 is not set | ||
849 | |||
850 | # | ||
851 | # Security options | ||
852 | # | ||
853 | # CONFIG_KEYS is not set | ||
854 | # CONFIG_SECURITY is not set | ||
855 | |||
856 | # | ||
857 | # Cryptographic options | ||
858 | # | ||
859 | CONFIG_CRYPTO=y | ||
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 | |||
885 | # | ||
886 | # Hardware crypto devices | ||
887 | # | ||
888 | |||
889 | # | ||
890 | # Library routines | ||
891 | # | ||
892 | # CONFIG_CRC_CCITT is not set | ||
893 | # CONFIG_CRC16 is not set | ||
894 | CONFIG_CRC32=y | ||
895 | # CONFIG_LIBCRC32C is not set | ||
896 | CONFIG_ZLIB_INFLATE=m | ||
897 | CONFIG_ZLIB_DEFLATE=m | ||
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/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/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 | |||