diff options
author | Kumar Gala <galak@freescale.com> | 2005-06-21 20:15:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:23 -0400 |
commit | c91999bba3ae8b21d4a965f19bf127bac3e5f7f2 (patch) | |
tree | 47efc16ee86b909b2054b8be54d6727c9a6eec33 | |
parent | 5b37b700f7c491a9320f4e29472bbaf23dded8fd (diff) |
[PATCH] ppc32: Added preliminary support for the MPC8548 CDS board
Adds support for using the MPC8548 processor on the CDS reference board.
Currently all the major busses (PCI, PCI-X, PCI-Express, sRIO) and eTSEC3
and eTSEC4 are not supported.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/ppc/configs/mpc8548_cds_defconfig | 659 | ||||
-rw-r--r-- | arch/ppc/platforms/85xx/Kconfig | 10 | ||||
-rw-r--r-- | arch/ppc/platforms/85xx/Makefile | 1 | ||||
-rw-r--r-- | arch/ppc/platforms/85xx/mpc85xx_cds_common.c | 50 | ||||
-rw-r--r-- | arch/ppc/syslib/Makefile | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc85xx_setup.c | 6 | ||||
-rw-r--r-- | include/asm-ppc/mpc85xx.h | 2 |
7 files changed, 713 insertions, 16 deletions
diff --git a/arch/ppc/configs/mpc8548_cds_defconfig b/arch/ppc/configs/mpc8548_cds_defconfig new file mode 100644 index 000000000000..abe034f24b83 --- /dev/null +++ b/arch/ppc/configs/mpc8548_cds_defconfig | |||
@@ -0,0 +1,659 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc4 | ||
4 | # Tue May 24 22:36:27 2005 | ||
5 | # | ||
6 | CONFIG_MMU=y | ||
7 | CONFIG_GENERIC_HARDIRQS=y | ||
8 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
9 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
10 | CONFIG_HAVE_DEC_LOCK=y | ||
11 | CONFIG_PPC=y | ||
12 | CONFIG_PPC32=y | ||
13 | CONFIG_GENERIC_NVRAM=y | ||
14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
15 | |||
16 | # | ||
17 | # Code maturity level options | ||
18 | # | ||
19 | CONFIG_EXPERIMENTAL=y | ||
20 | CONFIG_CLEAN_COMPILE=y | ||
21 | CONFIG_BROKEN_ON_SMP=y | ||
22 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
23 | |||
24 | # | ||
25 | # General setup | ||
26 | # | ||
27 | CONFIG_LOCALVERSION="" | ||
28 | CONFIG_SWAP=y | ||
29 | CONFIG_SYSVIPC=y | ||
30 | # CONFIG_POSIX_MQUEUE is not set | ||
31 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
32 | CONFIG_SYSCTL=y | ||
33 | # CONFIG_AUDIT is not set | ||
34 | # CONFIG_HOTPLUG is not set | ||
35 | CONFIG_KOBJECT_UEVENT=y | ||
36 | # CONFIG_IKCONFIG is not set | ||
37 | CONFIG_EMBEDDED=y | ||
38 | # CONFIG_KALLSYMS is not set | ||
39 | CONFIG_PRINTK=y | ||
40 | CONFIG_BUG=y | ||
41 | CONFIG_BASE_FULL=y | ||
42 | CONFIG_FUTEX=y | ||
43 | # CONFIG_EPOLL is not set | ||
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
45 | CONFIG_SHMEM=y | ||
46 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
47 | CONFIG_CC_ALIGN_LABELS=0 | ||
48 | CONFIG_CC_ALIGN_LOOPS=0 | ||
49 | CONFIG_CC_ALIGN_JUMPS=0 | ||
50 | # CONFIG_TINY_SHMEM is not set | ||
51 | CONFIG_BASE_SMALL=0 | ||
52 | |||
53 | # | ||
54 | # Loadable module support | ||
55 | # | ||
56 | # CONFIG_MODULES is not set | ||
57 | |||
58 | # | ||
59 | # Processor | ||
60 | # | ||
61 | # CONFIG_6xx is not set | ||
62 | # CONFIG_40x is not set | ||
63 | # CONFIG_44x is not set | ||
64 | # CONFIG_POWER3 is not set | ||
65 | # CONFIG_POWER4 is not set | ||
66 | # CONFIG_8xx is not set | ||
67 | CONFIG_E500=y | ||
68 | CONFIG_BOOKE=y | ||
69 | CONFIG_FSL_BOOKE=y | ||
70 | # CONFIG_PHYS_64BIT is not set | ||
71 | CONFIG_SPE=y | ||
72 | CONFIG_MATH_EMULATION=y | ||
73 | # CONFIG_CPU_FREQ is not set | ||
74 | # CONFIG_PM is not set | ||
75 | CONFIG_85xx=y | ||
76 | CONFIG_PPC_INDIRECT_PCI_BE=y | ||
77 | |||
78 | # | ||
79 | # Freescale 85xx options | ||
80 | # | ||
81 | # CONFIG_MPC8540_ADS is not set | ||
82 | CONFIG_MPC8548_CDS=y | ||
83 | # CONFIG_MPC8555_CDS is not set | ||
84 | # CONFIG_MPC8560_ADS is not set | ||
85 | # CONFIG_SBC8560 is not set | ||
86 | # CONFIG_STX_GP3 is not set | ||
87 | CONFIG_MPC8548=y | ||
88 | |||
89 | # | ||
90 | # Platform options | ||
91 | # | ||
92 | # CONFIG_SMP is not set | ||
93 | # CONFIG_PREEMPT is not set | ||
94 | # CONFIG_HIGHMEM is not set | ||
95 | CONFIG_BINFMT_ELF=y | ||
96 | # CONFIG_BINFMT_MISC is not set | ||
97 | # CONFIG_CMDLINE_BOOL is not set | ||
98 | CONFIG_ISA_DMA_API=y | ||
99 | |||
100 | # | ||
101 | # Bus options | ||
102 | # | ||
103 | # CONFIG_PCI is not set | ||
104 | # CONFIG_PCI_DOMAINS is not set | ||
105 | |||
106 | # | ||
107 | # PCCARD (PCMCIA/CardBus) support | ||
108 | # | ||
109 | # CONFIG_PCCARD is not set | ||
110 | |||
111 | # | ||
112 | # Advanced setup | ||
113 | # | ||
114 | # CONFIG_ADVANCED_OPTIONS is not set | ||
115 | |||
116 | # | ||
117 | # Default settings for advanced configuration options are used | ||
118 | # | ||
119 | CONFIG_HIGHMEM_START=0xfe000000 | ||
120 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
121 | CONFIG_KERNEL_START=0xc0000000 | ||
122 | CONFIG_TASK_SIZE=0x80000000 | ||
123 | CONFIG_BOOT_LOAD=0x00800000 | ||
124 | |||
125 | # | ||
126 | # Device Drivers | ||
127 | # | ||
128 | |||
129 | # | ||
130 | # Generic Driver Options | ||
131 | # | ||
132 | CONFIG_STANDALONE=y | ||
133 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
134 | # CONFIG_FW_LOADER is not set | ||
135 | |||
136 | # | ||
137 | # Memory Technology Devices (MTD) | ||
138 | # | ||
139 | # CONFIG_MTD is not set | ||
140 | |||
141 | # | ||
142 | # Parallel port support | ||
143 | # | ||
144 | # CONFIG_PARPORT is not set | ||
145 | |||
146 | # | ||
147 | # Plug and Play support | ||
148 | # | ||
149 | |||
150 | # | ||
151 | # Block devices | ||
152 | # | ||
153 | # CONFIG_BLK_DEV_FD is not set | ||
154 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
155 | CONFIG_BLK_DEV_LOOP=y | ||
156 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
157 | # CONFIG_BLK_DEV_NBD is not set | ||
158 | CONFIG_BLK_DEV_RAM=y | ||
159 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
160 | CONFIG_BLK_DEV_RAM_SIZE=32768 | ||
161 | CONFIG_BLK_DEV_INITRD=y | ||
162 | CONFIG_INITRAMFS_SOURCE="" | ||
163 | # CONFIG_LBD is not set | ||
164 | # CONFIG_CDROM_PKTCDVD is not set | ||
165 | |||
166 | # | ||
167 | # IO Schedulers | ||
168 | # | ||
169 | CONFIG_IOSCHED_NOOP=y | ||
170 | CONFIG_IOSCHED_AS=y | ||
171 | CONFIG_IOSCHED_DEADLINE=y | ||
172 | CONFIG_IOSCHED_CFQ=y | ||
173 | # CONFIG_ATA_OVER_ETH is not set | ||
174 | |||
175 | # | ||
176 | # ATA/ATAPI/MFM/RLL support | ||
177 | # | ||
178 | # CONFIG_IDE is not set | ||
179 | |||
180 | # | ||
181 | # SCSI device support | ||
182 | # | ||
183 | # CONFIG_SCSI is not set | ||
184 | |||
185 | # | ||
186 | # Multi-device support (RAID and LVM) | ||
187 | # | ||
188 | # CONFIG_MD is not set | ||
189 | |||
190 | # | ||
191 | # Fusion MPT device support | ||
192 | # | ||
193 | |||
194 | # | ||
195 | # IEEE 1394 (FireWire) support | ||
196 | # | ||
197 | |||
198 | # | ||
199 | # I2O device support | ||
200 | # | ||
201 | |||
202 | # | ||
203 | # Macintosh device drivers | ||
204 | # | ||
205 | |||
206 | # | ||
207 | # Networking support | ||
208 | # | ||
209 | CONFIG_NET=y | ||
210 | |||
211 | # | ||
212 | # Networking options | ||
213 | # | ||
214 | CONFIG_PACKET=y | ||
215 | # CONFIG_PACKET_MMAP is not set | ||
216 | CONFIG_UNIX=y | ||
217 | # CONFIG_NET_KEY is not set | ||
218 | CONFIG_INET=y | ||
219 | CONFIG_IP_MULTICAST=y | ||
220 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
221 | CONFIG_IP_PNP=y | ||
222 | CONFIG_IP_PNP_DHCP=y | ||
223 | CONFIG_IP_PNP_BOOTP=y | ||
224 | # CONFIG_IP_PNP_RARP is not set | ||
225 | # CONFIG_NET_IPIP is not set | ||
226 | # CONFIG_NET_IPGRE is not set | ||
227 | # CONFIG_IP_MROUTE is not set | ||
228 | # CONFIG_ARPD is not set | ||
229 | CONFIG_SYN_COOKIES=y | ||
230 | # CONFIG_INET_AH is not set | ||
231 | # CONFIG_INET_ESP is not set | ||
232 | # CONFIG_INET_IPCOMP is not set | ||
233 | # CONFIG_INET_TUNNEL is not set | ||
234 | CONFIG_IP_TCPDIAG=y | ||
235 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
236 | # CONFIG_IPV6 is not set | ||
237 | # CONFIG_NETFILTER is not set | ||
238 | |||
239 | # | ||
240 | # SCTP Configuration (EXPERIMENTAL) | ||
241 | # | ||
242 | # CONFIG_IP_SCTP is not set | ||
243 | # CONFIG_ATM is not set | ||
244 | # CONFIG_BRIDGE is not set | ||
245 | # CONFIG_VLAN_8021Q is not set | ||
246 | # CONFIG_DECNET is not set | ||
247 | # CONFIG_LLC2 is not set | ||
248 | # CONFIG_IPX is not set | ||
249 | # CONFIG_ATALK is not set | ||
250 | # CONFIG_X25 is not set | ||
251 | # CONFIG_LAPB is not set | ||
252 | # CONFIG_NET_DIVERT is not set | ||
253 | # CONFIG_ECONET is not set | ||
254 | # CONFIG_WAN_ROUTER is not set | ||
255 | |||
256 | # | ||
257 | # QoS and/or fair queueing | ||
258 | # | ||
259 | # CONFIG_NET_SCHED is not set | ||
260 | # CONFIG_NET_CLS_ROUTE is not set | ||
261 | |||
262 | # | ||
263 | # Network testing | ||
264 | # | ||
265 | # CONFIG_NET_PKTGEN is not set | ||
266 | # CONFIG_NETPOLL is not set | ||
267 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
268 | # CONFIG_HAMRADIO is not set | ||
269 | # CONFIG_IRDA is not set | ||
270 | # CONFIG_BT is not set | ||
271 | CONFIG_NETDEVICES=y | ||
272 | # CONFIG_DUMMY is not set | ||
273 | # CONFIG_BONDING is not set | ||
274 | # CONFIG_EQUALIZER is not set | ||
275 | # CONFIG_TUN is not set | ||
276 | |||
277 | # | ||
278 | # Ethernet (10 or 100Mbit) | ||
279 | # | ||
280 | CONFIG_NET_ETHERNET=y | ||
281 | CONFIG_MII=y | ||
282 | |||
283 | # | ||
284 | # Ethernet (1000 Mbit) | ||
285 | # | ||
286 | CONFIG_GIANFAR=y | ||
287 | CONFIG_GFAR_NAPI=y | ||
288 | |||
289 | # | ||
290 | # Ethernet (10000 Mbit) | ||
291 | # | ||
292 | |||
293 | # | ||
294 | # Token Ring devices | ||
295 | # | ||
296 | |||
297 | # | ||
298 | # Wireless LAN (non-hamradio) | ||
299 | # | ||
300 | # CONFIG_NET_RADIO is not set | ||
301 | |||
302 | # | ||
303 | # Wan interfaces | ||
304 | # | ||
305 | # CONFIG_WAN is not set | ||
306 | # CONFIG_PPP is not set | ||
307 | # CONFIG_SLIP is not set | ||
308 | # CONFIG_SHAPER is not set | ||
309 | # CONFIG_NETCONSOLE is not set | ||
310 | |||
311 | # | ||
312 | # ISDN subsystem | ||
313 | # | ||
314 | # CONFIG_ISDN is not set | ||
315 | |||
316 | # | ||
317 | # Telephony Support | ||
318 | # | ||
319 | # CONFIG_PHONE is not set | ||
320 | |||
321 | # | ||
322 | # Input device support | ||
323 | # | ||
324 | CONFIG_INPUT=y | ||
325 | |||
326 | # | ||
327 | # Userland interfaces | ||
328 | # | ||
329 | # CONFIG_INPUT_MOUSEDEV is not set | ||
330 | # CONFIG_INPUT_JOYDEV is not set | ||
331 | # CONFIG_INPUT_TSDEV is not set | ||
332 | # CONFIG_INPUT_EVDEV is not set | ||
333 | # CONFIG_INPUT_EVBUG is not set | ||
334 | |||
335 | # | ||
336 | # Input Device Drivers | ||
337 | # | ||
338 | # CONFIG_INPUT_KEYBOARD is not set | ||
339 | # CONFIG_INPUT_MOUSE is not set | ||
340 | # CONFIG_INPUT_JOYSTICK is not set | ||
341 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
342 | # CONFIG_INPUT_MISC is not set | ||
343 | |||
344 | # | ||
345 | # Hardware I/O ports | ||
346 | # | ||
347 | # CONFIG_SERIO is not set | ||
348 | # CONFIG_GAMEPORT is not set | ||
349 | CONFIG_SOUND_GAMEPORT=y | ||
350 | |||
351 | # | ||
352 | # Character devices | ||
353 | # | ||
354 | # CONFIG_VT is not set | ||
355 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
356 | |||
357 | # | ||
358 | # Serial drivers | ||
359 | # | ||
360 | CONFIG_SERIAL_8250=y | ||
361 | CONFIG_SERIAL_8250_CONSOLE=y | ||
362 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
363 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
364 | |||
365 | # | ||
366 | # Non-8250 serial port support | ||
367 | # | ||
368 | CONFIG_SERIAL_CORE=y | ||
369 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
370 | CONFIG_UNIX98_PTYS=y | ||
371 | CONFIG_LEGACY_PTYS=y | ||
372 | CONFIG_LEGACY_PTY_COUNT=256 | ||
373 | |||
374 | # | ||
375 | # IPMI | ||
376 | # | ||
377 | # CONFIG_IPMI_HANDLER is not set | ||
378 | |||
379 | # | ||
380 | # Watchdog Cards | ||
381 | # | ||
382 | # CONFIG_WATCHDOG is not set | ||
383 | # CONFIG_NVRAM is not set | ||
384 | CONFIG_GEN_RTC=y | ||
385 | # CONFIG_GEN_RTC_X is not set | ||
386 | # CONFIG_DTLK is not set | ||
387 | # CONFIG_R3964 is not set | ||
388 | |||
389 | # | ||
390 | # Ftape, the floppy tape device driver | ||
391 | # | ||
392 | # CONFIG_AGP is not set | ||
393 | # CONFIG_DRM is not set | ||
394 | # CONFIG_RAW_DRIVER is not set | ||
395 | |||
396 | # | ||
397 | # TPM devices | ||
398 | # | ||
399 | |||
400 | # | ||
401 | # I2C support | ||
402 | # | ||
403 | CONFIG_I2C=y | ||
404 | CONFIG_I2C_CHARDEV=y | ||
405 | |||
406 | # | ||
407 | # I2C Algorithms | ||
408 | # | ||
409 | # CONFIG_I2C_ALGOBIT is not set | ||
410 | # CONFIG_I2C_ALGOPCF is not set | ||
411 | # CONFIG_I2C_ALGOPCA is not set | ||
412 | |||
413 | # | ||
414 | # I2C Hardware Bus support | ||
415 | # | ||
416 | # CONFIG_I2C_ISA is not set | ||
417 | CONFIG_I2C_MPC=y | ||
418 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
419 | # CONFIG_I2C_PCA_ISA is not set | ||
420 | |||
421 | # | ||
422 | # Hardware Sensors Chip support | ||
423 | # | ||
424 | # CONFIG_I2C_SENSOR is not set | ||
425 | # CONFIG_SENSORS_ADM1021 is not set | ||
426 | # CONFIG_SENSORS_ADM1025 is not set | ||
427 | # CONFIG_SENSORS_ADM1026 is not set | ||
428 | # CONFIG_SENSORS_ADM1031 is not set | ||
429 | # CONFIG_SENSORS_ASB100 is not set | ||
430 | # CONFIG_SENSORS_DS1621 is not set | ||
431 | # CONFIG_SENSORS_FSCHER is not set | ||
432 | # CONFIG_SENSORS_FSCPOS is not set | ||
433 | # CONFIG_SENSORS_GL518SM is not set | ||
434 | # CONFIG_SENSORS_GL520SM is not set | ||
435 | # CONFIG_SENSORS_IT87 is not set | ||
436 | # CONFIG_SENSORS_LM63 is not set | ||
437 | # CONFIG_SENSORS_LM75 is not set | ||
438 | # CONFIG_SENSORS_LM77 is not set | ||
439 | # CONFIG_SENSORS_LM78 is not set | ||
440 | # CONFIG_SENSORS_LM80 is not set | ||
441 | # CONFIG_SENSORS_LM83 is not set | ||
442 | # CONFIG_SENSORS_LM85 is not set | ||
443 | # CONFIG_SENSORS_LM87 is not set | ||
444 | # CONFIG_SENSORS_LM90 is not set | ||
445 | # CONFIG_SENSORS_LM92 is not set | ||
446 | # CONFIG_SENSORS_MAX1619 is not set | ||
447 | # CONFIG_SENSORS_PC87360 is not set | ||
448 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
449 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
450 | # CONFIG_SENSORS_W83781D is not set | ||
451 | # CONFIG_SENSORS_W83L785TS is not set | ||
452 | # CONFIG_SENSORS_W83627HF is not set | ||
453 | |||
454 | # | ||
455 | # Other I2C Chip support | ||
456 | # | ||
457 | # CONFIG_SENSORS_DS1337 is not set | ||
458 | # CONFIG_SENSORS_EEPROM is not set | ||
459 | # CONFIG_SENSORS_PCF8574 is not set | ||
460 | # CONFIG_SENSORS_PCF8591 is not set | ||
461 | # CONFIG_SENSORS_RTC8564 is not set | ||
462 | # CONFIG_SENSORS_M41T00 is not set | ||
463 | # CONFIG_I2C_DEBUG_CORE is not set | ||
464 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
465 | # CONFIG_I2C_DEBUG_BUS is not set | ||
466 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
467 | |||
468 | # | ||
469 | # Dallas's 1-wire bus | ||
470 | # | ||
471 | # CONFIG_W1 is not set | ||
472 | |||
473 | # | ||
474 | # Misc devices | ||
475 | # | ||
476 | |||
477 | # | ||
478 | # Multimedia devices | ||
479 | # | ||
480 | # CONFIG_VIDEO_DEV is not set | ||
481 | |||
482 | # | ||
483 | # Digital Video Broadcasting Devices | ||
484 | # | ||
485 | # CONFIG_DVB is not set | ||
486 | |||
487 | # | ||
488 | # Graphics support | ||
489 | # | ||
490 | # CONFIG_FB is not set | ||
491 | |||
492 | # | ||
493 | # Sound | ||
494 | # | ||
495 | # CONFIG_SOUND is not set | ||
496 | |||
497 | # | ||
498 | # USB support | ||
499 | # | ||
500 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
501 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
502 | |||
503 | # | ||
504 | # USB Gadget Support | ||
505 | # | ||
506 | # CONFIG_USB_GADGET is not set | ||
507 | |||
508 | # | ||
509 | # MMC/SD Card support | ||
510 | # | ||
511 | # CONFIG_MMC is not set | ||
512 | |||
513 | # | ||
514 | # InfiniBand support | ||
515 | # | ||
516 | # CONFIG_INFINIBAND is not set | ||
517 | |||
518 | # | ||
519 | # File systems | ||
520 | # | ||
521 | CONFIG_EXT2_FS=y | ||
522 | # CONFIG_EXT2_FS_XATTR is not set | ||
523 | CONFIG_EXT3_FS=y | ||
524 | CONFIG_EXT3_FS_XATTR=y | ||
525 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
526 | # CONFIG_EXT3_FS_SECURITY is not set | ||
527 | CONFIG_JBD=y | ||
528 | # CONFIG_JBD_DEBUG is not set | ||
529 | CONFIG_FS_MBCACHE=y | ||
530 | # CONFIG_REISERFS_FS is not set | ||
531 | # CONFIG_JFS_FS is not set | ||
532 | |||
533 | # | ||
534 | # XFS support | ||
535 | # | ||
536 | # CONFIG_XFS_FS is not set | ||
537 | # CONFIG_MINIX_FS is not set | ||
538 | # CONFIG_ROMFS_FS is not set | ||
539 | # CONFIG_QUOTA is not set | ||
540 | CONFIG_DNOTIFY=y | ||
541 | # CONFIG_AUTOFS_FS is not set | ||
542 | # CONFIG_AUTOFS4_FS is not set | ||
543 | |||
544 | # | ||
545 | # CD-ROM/DVD Filesystems | ||
546 | # | ||
547 | # CONFIG_ISO9660_FS is not set | ||
548 | # CONFIG_UDF_FS is not set | ||
549 | |||
550 | # | ||
551 | # DOS/FAT/NT Filesystems | ||
552 | # | ||
553 | # CONFIG_MSDOS_FS is not set | ||
554 | # CONFIG_VFAT_FS is not set | ||
555 | # CONFIG_NTFS_FS is not set | ||
556 | |||
557 | # | ||
558 | # Pseudo filesystems | ||
559 | # | ||
560 | CONFIG_PROC_FS=y | ||
561 | CONFIG_PROC_KCORE=y | ||
562 | CONFIG_SYSFS=y | ||
563 | # CONFIG_DEVFS_FS is not set | ||
564 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
565 | CONFIG_TMPFS=y | ||
566 | # CONFIG_TMPFS_XATTR is not set | ||
567 | # CONFIG_HUGETLB_PAGE is not set | ||
568 | CONFIG_RAMFS=y | ||
569 | |||
570 | # | ||
571 | # Miscellaneous filesystems | ||
572 | # | ||
573 | # CONFIG_ADFS_FS is not set | ||
574 | # CONFIG_AFFS_FS is not set | ||
575 | # CONFIG_HFS_FS is not set | ||
576 | # CONFIG_HFSPLUS_FS is not set | ||
577 | # CONFIG_BEFS_FS is not set | ||
578 | # CONFIG_BFS_FS is not set | ||
579 | # CONFIG_EFS_FS is not set | ||
580 | # CONFIG_CRAMFS is not set | ||
581 | # CONFIG_VXFS_FS is not set | ||
582 | # CONFIG_HPFS_FS is not set | ||
583 | # CONFIG_QNX4FS_FS is not set | ||
584 | # CONFIG_SYSV_FS is not set | ||
585 | # CONFIG_UFS_FS is not set | ||
586 | |||
587 | # | ||
588 | # Network File Systems | ||
589 | # | ||
590 | CONFIG_NFS_FS=y | ||
591 | # CONFIG_NFS_V3 is not set | ||
592 | # CONFIG_NFS_V4 is not set | ||
593 | # CONFIG_NFS_DIRECTIO is not set | ||
594 | # CONFIG_NFSD is not set | ||
595 | CONFIG_ROOT_NFS=y | ||
596 | CONFIG_LOCKD=y | ||
597 | CONFIG_SUNRPC=y | ||
598 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
599 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
600 | # CONFIG_SMB_FS is not set | ||
601 | # CONFIG_CIFS is not set | ||
602 | # CONFIG_NCP_FS is not set | ||
603 | # CONFIG_CODA_FS is not set | ||
604 | # CONFIG_AFS_FS is not set | ||
605 | |||
606 | # | ||
607 | # Partition Types | ||
608 | # | ||
609 | CONFIG_PARTITION_ADVANCED=y | ||
610 | # CONFIG_ACORN_PARTITION is not set | ||
611 | # CONFIG_OSF_PARTITION is not set | ||
612 | # CONFIG_AMIGA_PARTITION is not set | ||
613 | # CONFIG_ATARI_PARTITION is not set | ||
614 | # CONFIG_MAC_PARTITION is not set | ||
615 | # CONFIG_MSDOS_PARTITION is not set | ||
616 | # CONFIG_LDM_PARTITION is not set | ||
617 | # CONFIG_SGI_PARTITION is not set | ||
618 | # CONFIG_ULTRIX_PARTITION is not set | ||
619 | # CONFIG_SUN_PARTITION is not set | ||
620 | # CONFIG_EFI_PARTITION is not set | ||
621 | |||
622 | # | ||
623 | # Native Language Support | ||
624 | # | ||
625 | # CONFIG_NLS is not set | ||
626 | |||
627 | # | ||
628 | # Library routines | ||
629 | # | ||
630 | # CONFIG_CRC_CCITT is not set | ||
631 | CONFIG_CRC32=y | ||
632 | # CONFIG_LIBCRC32C is not set | ||
633 | |||
634 | # | ||
635 | # Profiling support | ||
636 | # | ||
637 | # CONFIG_PROFILING is not set | ||
638 | |||
639 | # | ||
640 | # Kernel hacking | ||
641 | # | ||
642 | # CONFIG_PRINTK_TIME is not set | ||
643 | # CONFIG_DEBUG_KERNEL is not set | ||
644 | CONFIG_LOG_BUF_SHIFT=14 | ||
645 | |||
646 | # | ||
647 | # Security options | ||
648 | # | ||
649 | # CONFIG_KEYS is not set | ||
650 | # CONFIG_SECURITY is not set | ||
651 | |||
652 | # | ||
653 | # Cryptographic options | ||
654 | # | ||
655 | # CONFIG_CRYPTO is not set | ||
656 | |||
657 | # | ||
658 | # Hardware crypto devices | ||
659 | # | ||
diff --git a/arch/ppc/platforms/85xx/Kconfig b/arch/ppc/platforms/85xx/Kconfig index ff92e38e7da1..c5bc2821d991 100644 --- a/arch/ppc/platforms/85xx/Kconfig +++ b/arch/ppc/platforms/85xx/Kconfig | |||
@@ -21,6 +21,11 @@ config MPC8540_ADS | |||
21 | help | 21 | help |
22 | This option enables support for the MPC 8540 ADS evaluation board. | 22 | This option enables support for the MPC 8540 ADS evaluation board. |
23 | 23 | ||
24 | config MPC8548_CDS | ||
25 | bool "Freescale MPC8548 CDS" | ||
26 | help | ||
27 | This option enablese support for the MPC8548 CDS evaluation board. | ||
28 | |||
24 | config MPC8555_CDS | 29 | config MPC8555_CDS |
25 | bool "Freescale MPC8555 CDS" | 30 | bool "Freescale MPC8555 CDS" |
26 | help | 31 | help |
@@ -53,6 +58,11 @@ config MPC8540 | |||
53 | depends on MPC8540_ADS | 58 | depends on MPC8540_ADS |
54 | default y | 59 | default y |
55 | 60 | ||
61 | config MPC8548 | ||
62 | bool | ||
63 | depends on MPC8548_CDS | ||
64 | default y | ||
65 | |||
56 | config MPC8555 | 66 | config MPC8555 |
57 | bool | 67 | bool |
58 | depends on MPC8555_CDS | 68 | depends on MPC8555_CDS |
diff --git a/arch/ppc/platforms/85xx/Makefile b/arch/ppc/platforms/85xx/Makefile index 854fbd298ba2..efdf813108f2 100644 --- a/arch/ppc/platforms/85xx/Makefile +++ b/arch/ppc/platforms/85xx/Makefile | |||
@@ -2,6 +2,7 @@ | |||
2 | # Makefile for the PowerPC 85xx linux kernel. | 2 | # Makefile for the PowerPC 85xx linux kernel. |
3 | # | 3 | # |
4 | obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads_common.o mpc8540_ads.o | 4 | obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads_common.o mpc8540_ads.o |
5 | obj-$(CONFIG_MPC8548_CDS) += mpc85xx_cds_common.o | ||
5 | obj-$(CONFIG_MPC8555_CDS) += mpc85xx_cds_common.o | 6 | obj-$(CONFIG_MPC8555_CDS) += mpc85xx_cds_common.o |
6 | obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads_common.o mpc8560_ads.o | 7 | obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads_common.o mpc8560_ads.o |
7 | obj-$(CONFIG_SBC8560) += sbc85xx.o sbc8560.o | 8 | obj-$(CONFIG_SBC8560) += sbc85xx.o sbc8560.o |
diff --git a/arch/ppc/platforms/85xx/mpc85xx_cds_common.c b/arch/ppc/platforms/85xx/mpc85xx_cds_common.c index e7cfa498568c..2d04bf599d2f 100644 --- a/arch/ppc/platforms/85xx/mpc85xx_cds_common.c +++ b/arch/ppc/platforms/85xx/mpc85xx_cds_common.c | |||
@@ -480,21 +480,47 @@ mpc85xx_cds_setup_arch(void) | |||
480 | 480 | ||
481 | /* setup the board related information for the enet controllers */ | 481 | /* setup the board related information for the enet controllers */ |
482 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_TSEC1); | 482 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_TSEC1); |
483 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; | 483 | if (pdata) { |
484 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; | 484 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; |
485 | pdata->phyid = 0; | 485 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; |
486 | /* fixup phy address */ | 486 | pdata->phyid = 0; |
487 | pdata->phy_reg_addr += binfo->bi_immr_base; | 487 | /* fixup phy address */ |
488 | memcpy(pdata->mac_addr, binfo->bi_enetaddr, 6); | 488 | pdata->phy_reg_addr += binfo->bi_immr_base; |
489 | memcpy(pdata->mac_addr, binfo->bi_enetaddr, 6); | ||
490 | } | ||
489 | 491 | ||
490 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_TSEC2); | 492 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_TSEC2); |
491 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; | 493 | if (pdata) { |
492 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; | 494 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; |
493 | pdata->phyid = 1; | 495 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; |
494 | /* fixup phy address */ | 496 | pdata->phyid = 1; |
495 | pdata->phy_reg_addr += binfo->bi_immr_base; | 497 | /* fixup phy address */ |
496 | memcpy(pdata->mac_addr, binfo->bi_enet1addr, 6); | 498 | pdata->phy_reg_addr += binfo->bi_immr_base; |
499 | memcpy(pdata->mac_addr, binfo->bi_enet1addr, 6); | ||
500 | } | ||
501 | |||
502 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_eTSEC1); | ||
503 | if (pdata) { | ||
504 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; | ||
505 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; | ||
506 | pdata->phyid = 0; | ||
507 | /* fixup phy address */ | ||
508 | pdata->phy_reg_addr += binfo->bi_immr_base; | ||
509 | memcpy(pdata->mac_addr, binfo->bi_enetaddr, 6); | ||
510 | } | ||
511 | |||
512 | pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_eTSEC2); | ||
513 | if (pdata) { | ||
514 | pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR; | ||
515 | pdata->interruptPHY = MPC85xx_IRQ_EXT5; | ||
516 | pdata->phyid = 1; | ||
517 | /* fixup phy address */ | ||
518 | pdata->phy_reg_addr += binfo->bi_immr_base; | ||
519 | memcpy(pdata->mac_addr, binfo->bi_enet1addr, 6); | ||
520 | } | ||
497 | 521 | ||
522 | ppc_sys_device_remove(MPC85xx_eTSEC3); | ||
523 | ppc_sys_device_remove(MPC85xx_eTSEC4); | ||
498 | 524 | ||
499 | #ifdef CONFIG_BLK_DEV_INITRD | 525 | #ifdef CONFIG_BLK_DEV_INITRD |
500 | if (initrd_start) | 526 | if (initrd_start) |
diff --git a/arch/ppc/syslib/Makefile b/arch/ppc/syslib/Makefile index 96acf85800d4..6e7ecbc59aac 100644 --- a/arch/ppc/syslib/Makefile +++ b/arch/ppc/syslib/Makefile | |||
@@ -107,6 +107,7 @@ obj-$(CONFIG_83xx) += ipic.o ppc83xx_setup.o ppc_sys.o \ | |||
107 | ifeq ($(CONFIG_83xx),y) | 107 | ifeq ($(CONFIG_83xx),y) |
108 | obj-$(CONFIG_PCI) += indirect_pci.o pci_auto.o | 108 | obj-$(CONFIG_PCI) += indirect_pci.o pci_auto.o |
109 | endif | 109 | endif |
110 | obj-$(CONFIG_MPC8548_CDS) += todc_time.o | ||
110 | obj-$(CONFIG_MPC8555_CDS) += todc_time.o | 111 | obj-$(CONFIG_MPC8555_CDS) += todc_time.o |
111 | obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \ | 112 | obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \ |
112 | mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o | 113 | mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o |
diff --git a/arch/ppc/syslib/ppc85xx_setup.c b/arch/ppc/syslib/ppc85xx_setup.c index f3277f469e78..455473f589d1 100644 --- a/arch/ppc/syslib/ppc85xx_setup.c +++ b/arch/ppc/syslib/ppc85xx_setup.c | |||
@@ -133,7 +133,7 @@ mpc85xx_halt(void) | |||
133 | 133 | ||
134 | #ifdef CONFIG_PCI | 134 | #ifdef CONFIG_PCI |
135 | 135 | ||
136 | #if defined(CONFIG_MPC8555_CDS) | 136 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
137 | extern void mpc85xx_cds_enable_via(struct pci_controller *hose); | 137 | extern void mpc85xx_cds_enable_via(struct pci_controller *hose); |
138 | extern void mpc85xx_cds_fixup_via(struct pci_controller *hose); | 138 | extern void mpc85xx_cds_fixup_via(struct pci_controller *hose); |
139 | #endif | 139 | #endif |
@@ -308,14 +308,14 @@ mpc85xx_setup_hose(void) | |||
308 | 308 | ||
309 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; | 309 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; |
310 | 310 | ||
311 | #if defined(CONFIG_MPC8555_CDS) | 311 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
312 | /* Pre pciauto_bus_scan VIA init */ | 312 | /* Pre pciauto_bus_scan VIA init */ |
313 | mpc85xx_cds_enable_via(hose_a); | 313 | mpc85xx_cds_enable_via(hose_a); |
314 | #endif | 314 | #endif |
315 | 315 | ||
316 | hose_a->last_busno = pciauto_bus_scan(hose_a, hose_a->first_busno); | 316 | hose_a->last_busno = pciauto_bus_scan(hose_a, hose_a->first_busno); |
317 | 317 | ||
318 | #if defined(CONFIG_MPC8555_CDS) | 318 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
319 | /* Post pciauto_bus_scan VIA fixup */ | 319 | /* Post pciauto_bus_scan VIA fixup */ |
320 | mpc85xx_cds_fixup_via(hose_a); | 320 | mpc85xx_cds_fixup_via(hose_a); |
321 | #endif | 321 | #endif |
diff --git a/include/asm-ppc/mpc85xx.h b/include/asm-ppc/mpc85xx.h index 51b61d3305f7..95cc22da8075 100644 --- a/include/asm-ppc/mpc85xx.h +++ b/include/asm-ppc/mpc85xx.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #ifdef CONFIG_MPC8540_ADS | 25 | #ifdef CONFIG_MPC8540_ADS |
26 | #include <platforms/85xx/mpc8540_ads.h> | 26 | #include <platforms/85xx/mpc8540_ads.h> |
27 | #endif | 27 | #endif |
28 | #ifdef CONFIG_MPC8555_CDS | 28 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
29 | #include <platforms/85xx/mpc8555_cds.h> | 29 | #include <platforms/85xx/mpc8555_cds.h> |
30 | #endif | 30 | #endif |
31 | #ifdef CONFIG_MPC8560_ADS | 31 | #ifdef CONFIG_MPC8560_ADS |