about ppc8260 mcc hdlc driver
hello every one: I am programming a HDLC driver for ppc8260 using MCC2 , But if I enable the TDM, the board will die. can anyone help me ? or give me some example source ? thanks ! wangdq wangdq at gongye.com.cn ??2005-06-27
mpc8540 SK board FEC work now! (Thanks for Andy Fleming)
Hi Andy: Thanks for your help , my board's all eth ports works now , according the file you give out: arch/ppc/ platforms/85xx/mpc8540_ads.c , I modified the TSEC ID from 0,1 to 4,5 , and modified the TFEC interrupt source from 5 to 7 , after these modification , my board can work. Thanks a lot! KylongMu On Jul 26, 2005, at 01:02, KylongMu wrote: eth0 and eth1 not work, they are giga ethernet , but eth2 work well , I know all of them are drived under same driver drivers/net/gianfar* , and I checked the 8540 datasheet , because the MAC is integrated , the only deferent is the PHY , the 2.4.18 kernel come with my board is work well at all eth port , so I'm sure the hardware is OK On Jul 27, 2005, at 02:26, Andy Fleming wrote: The manual says the PHY addresses for TSEC 1 and TSEC 2 are: TSEC1: 4 TSEC2: 5 The 8540 ADS has this configuration: TSEC1: 0 TSEC2: 1 The correct solution would be to make a new board file for the SK board, and properly configure everything. However, if you insist on using the 8540 ADS config for this, you will need to change arch/ppc/ platforms/85xx/mpc8540_ads.c so that TSEC1 and TSEC2 have their phyid platform data fields assigned to be: TSEC1: 4 TSEC2: 5
Porting Linux On MPC8266 custom board
Hi Alex, Thanks a lot for your reply. I have been able to procedd further and now I am facing problem in mounting root file system. As suggested by you in earlier mail about the following :- 1. linux/init/main.c (which contains the following code #endif #ifdef CONFIG_MTD { mtdblock, 0x1f00 }, #endif { NULL, 0 } }; ) I am not able to find the above mention code snippet in the linux/init/main.c. I am using Linux Kerne 2.4.24 which came with eldk. Does that mean that i have to deifne CONFIG_MTD myself as i am trying to JFFS2 file system ? The output captured on the hyperterminal is as following :- bootm 0200 ## Booting image at 0200 ... Image Name: 2.4.24 MPC8260ADS Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:714527 Bytes = 697.8 kB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.24-pre2 (satyam at pmcserver) (gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #13 Tue Jul 19 12:55:18 IST 2005 On node 0 totalpages: 32768 zone(0): 32768 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,115200 root=/dev/ram Warning: real time clock seems stuck! Calibrating delay loop... 131.89 BogoMIPS Memory: 127816k available (1232k kernel code, 408k data, 64k init, 0k highmem) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. Inside Chr_dev_init i2c-core.o: i2c core module version 2.6.1 (20010830) i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830) CPM UART driver version 0.01 ttyS0 on SMC1 at 0x, BRG7 ttyS1 on SMC2 at 0x0040, BRG8 ttyS2 on SCC1 at 0x8000, BRG1 ttyS3 on SCC2 at 0x8100, BRG2 Before return statement Pty initialisation is complete End of tty_init After tty_init Before misc_init Inside misc_init b4 create_proc_read_entry Inside misc_init after create_proc_read_entry End of misc_init before return 0 After misc_init End of Chr_dev_init b4 return statement Inside rd_init RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) ip_conntrack version 2.1 (1024 buckets, 8192 max) - 292 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 * VFS:test name = /dev/root VFS:fs_name = jffs2 VFS:root name = 01:00 VFS:tried fs_name = jffs2 err = -22 Kernel panic: VFS: Unable to mount root fs on 01:00 0Rebooting in 180 seconds.. Thanks and Regards, Apoorv Sangal On 7/7/05, Alex Zeffertt ajz at cambridgebroadband.com wrote: Apoorv, You need to look in two places: 1. linux/init/main.c (which contains the following code #endif #ifdef CONFIG_MTD { mtdblock, 0x1f00 }, #endif { NULL, 0 } }; ) and 2. http://www.denx.de/twiki/bin/view/DULG/LinuxKernelArgs It looks to me that you're trying to use an mtdblock device for your root filesystem. For this to work you need CONFIG_MTD defined and - obviously - a root file system image in the appropriate place in your flash. It also appears that you are losing output shortly after the ttyS0 drivers are created. Maybe the problem is that your serial console program (e.g. minicom) is not configured for 11520 .. or for some reason the driver is selecting another rate. Strangely, on my 82xx board I don't need the console argument on the kernel command line, it just automatically uses ttyS0 at 9600. Probably this is because it detects u-boot is also using this, but I don't know. Alex On Thu, 7 Jul 2005 09:48:53 +0530 apoorv sangal apoorvsangal at gmail.com wrote: Hi All, I am porting Linux on MPC8266 custom board, after getting in to Linux the system seems to be struck at a point. Saved Environment variable:- bootargs console=ttyS0,11520 root=1f00 and downloaded the Kernel image at address 0x0200 in the RAM. From the u-boot
Porting Linux On MPC8266 custom board
On Wed, 27 Jul 2005 11:46:05 +0530 apoorv sangal apoorvsangal at gmail.com wrote: Hi Alex, Thanks a lot for your reply. I have been able to procedd further and now I am facing problem in mounting root file system. As suggested by you in earlier mail about the following :- 1. linux/init/main.c (which contains the following code #endif #ifdef CONFIG_MTD { mtdblock, 0x1f00 }, #endif { NULL, 0 } }; ) I am not able to find the above mention code snippet in the linux/init/main.c. I am using Linux Kerne 2.4.24 which came with eldk. Does that mean that i have to deifne CONFIG_MTD myself as i am trying to JFFS2 file system ? The code is definitely in there! You need to define CONFIG_MTD using make menuconfig (make sure you define it as kernel resident not as a module). If you are new to all this read the README in the kernel source directory first. Alex
FEC-trouble with MPC5200 CRV400 M08A
Hi everybody, we had a very fine system with the old Rev CBV400 2LR25. We can boot over ethernet and do the transfer without any problems. No we have the CRV400 M08A on the board. We just adapted the registers tfifo and rfifo to 0x0F04 and we use now the BAPIV2.2. We use the elinos-kernel 2.4.25 with the new bestcom-files. We copied them into the directory bestcom. But in the most cases the board does not boot over ethernet. We see sig4 or sig11 when linux starts init. When we boot from flash we can see that a ping to the board with heavy loads causes error, especialy when the board sends a ping to the server simultaneous. There is mostly one false nibble in the data sections, mostly at the borders of an ethernet-packet. The error might a little rarer when using BAPI V2.2 instead of BAPI 2.1. Any ideas? Thanks for Your help Ulrich Kunkel -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050727/83863f7e/attachment.htm
[PATCH][5/5] RapidIO support: net driver over messaging
Hi Matt, Two questions: A. How can a node (not the host) know who is in the rionet to broadcast to them? B. How do you emulate broadcasting to all the mailboxes, in multi mbox systems? Is this done by the node getting the broadcast in MB 0 and forwarding it to the other MBs? Regards, Hillel
[PATCH] Support for AMCC Yosemite 440EP Eval Board
This patch adds support for the new AMCC Yosemite 440EP Eval Board. I tested it on the both Bamboo and Yosemite boards using the 2.6.12 kernel. This patch has three dependencies: 2005-04-07 Wade Farnsworth's PPC440EP SoC and Bamboo board support 2005-07-20 My fix invalid function name usb_hcd_put in ohci-ppc-soc.c 2005-07-27 My Support 440EP On-Chip OHCI USB Host Controller http://patchwork.ozlabs.org/linuxppc/patch?id=1311 http://patchwork.ozlabs.org/linuxppc/patch?id=1803 http://patchwork.ozlabs.org/linuxppc/patch?id=1855 Comments are welcome. Signed-off-by: John Otken jotken at softadvances.com diff -uprN c/arch/ppc/configs/yosemite_defconfig d/arch/ppc/configs/yosemite_defconfig --- c/arch/ppc/configs/yosemite_defconfig 1969-12-31 17:00:00.0 -0700 +++ d/arch/ppc/configs/yosemite_defconfig 2005-07-26 09:49:51.0 -0500 @@ -0,0 +1,874 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.12 +# Wed Jul 13 20:59:13 2005 +# +CONFIG_MMU=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_HAVE_DEC_LOCK=y +CONFIG_PPC=y +CONFIG_PPC32=y +CONFIG_GENERIC_NVRAM=y +CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y +CONFIG_CLEAN_COMPILE=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 + +# +# General setup +# +CONFIG_LOCALVERSION= +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_BSD_PROCESS_ACCT is not set +CONFIG_SYSCTL=y +# CONFIG_AUDIT is not set +# CONFIG_HOTPLUG is not set +CONFIG_KOBJECT_UEVENT=y +# CONFIG_IKCONFIG is not set +CONFIG_EMBEDDED=y +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SHMEM=y +CONFIG_CC_ALIGN_FUNCTIONS=0 +CONFIG_CC_ALIGN_LABELS=0 +CONFIG_CC_ALIGN_LOOPS=0 +CONFIG_CC_ALIGN_JUMPS=0 +# CONFIG_TINY_SHMEM is not set +CONFIG_BASE_SMALL=0 + +# +# Loadable module support +# +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_OBSOLETE_MODPARM=y +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_KMOD=y + +# +# Processor +# +# CONFIG_6xx is not set +# CONFIG_40x is not set +CONFIG_44x=y +# CONFIG_POWER3 is not set +# CONFIG_POWER4 is not set +# CONFIG_8xx is not set +# CONFIG_E500 is not set +CONFIG_PPC_FPU=y +CONFIG_BOOKE=y +CONFIG_PTE_64BIT=y +CONFIG_PHYS_64BIT=y +# CONFIG_MATH_EMULATION is not set +# CONFIG_CPU_FREQ is not set +CONFIG_4xx=y + +# +# IBM 4xx options +# +# CONFIG_BAMBOO is not set +# CONFIG_EBONY is not set +# CONFIG_LUAN is not set +# CONFIG_OCOTEA is not set +# CONFIG_YELLOWSTONE is not set +CONFIG_YOSEMITE=y +CONFIG_440EP=y +CONFIG_440_FPU=y +CONFIG_IBM440EP_ERR42=y +CONFIG_IBM_OCP=y +# CONFIG_PPC4xx_DMA is not set +CONFIG_PPC_GEN550=y +# CONFIG_PM is not set +CONFIG_NOT_COHERENT_CACHE=y + +# +# Platform options +# +# CONFIG_PC_KEYBOARD is not set +# CONFIG_SMP is not set +# CONFIG_PREEMPT is not set +# CONFIG_HIGHMEM is not set +CONFIG_BINFMT_ELF=y +# CONFIG_BINFMT_MISC is not set +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE=ip=on root=/dev/ram rw ramdisk=49152 +CONFIG_ISA_DMA_API=y + +# +# Bus options +# +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +# CONFIG_PCI_LEGACY_PROC is not set +# CONFIG_PCI_NAMES is not set +# CONFIG_PCI_DEBUG is not set + +# +# PCCARD (PCMCIA/CardBus) support +# +# CONFIG_PCCARD is not set + +# +# Advanced setup +# +# CONFIG_ADVANCED_OPTIONS is not set + +# +# Default settings for advanced configuration options are used +# +CONFIG_HIGHMEM_START=0xfe00 +CONFIG_LOWMEM_SIZE=0x3000 +CONFIG_KERNEL_START=0xc000 +CONFIG_TASK_SIZE=0x8000 +CONFIG_CONSISTENT_START=0xff10 +CONFIG_CONSISTENT_SIZE=0x0020 +CONFIG_BOOT_LOAD=0x0100 + +# +# Device Drivers +# + +# +# Generic Driver Options +# +# CONFIG_STANDALONE is not set +CONFIG_PREVENT_FIRMWARE_BUILD=y +# CONFIG_FW_LOADER is not set +# CONFIG_DEBUG_DRIVER is not set + +# +# Memory Technology Devices (MTD) +# +# CONFIG_MTD is not set + +# +# Parallel port support +# +# CONFIG_PARPORT is not set + +# +# Plug and Play support +# + +# +# Block devices +# +# CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +# CONFIG_BLK_DEV_COW_COMMON is not set +# CONFIG_BLK_DEV_LOOP is not set +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE= +# CONFIG_LBD is not set +# CONFIG_CDROM_PKTCDVD is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_AS=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_ATA_OVER_ETH is not set + +# +# ATA/ATAPI/MFM/RLL
[PATCH] Support for AMCC Yosemite 440EP Eval Board
Hi John, On Wednesday 27 July 2005 13:58, John Otken wrote: This patch adds support for the new AMCC Yosemite 440EP Eval Board. I tested it on the both Bamboo and Yosemite boards using the 2.6.12 kernel. How about a patch against a more recent kernel? This patch has three dependencies: 2005-04-07 Wade Farnsworth's PPC440EP SoC and Bamboo board support Please use the patches Wade sent yesterday to this list. 2005-07-20 My fix invalid function name usb_hcd_put in ohci-ppc-soc.c 2005-07-27 My Support 440EP On-Chip OHCI USB Host Controller http://patchwork.ozlabs.org/linuxppc/patch?id=1311 http://patchwork.ozlabs.org/linuxppc/patch?id=1803 http://patchwork.ozlabs.org/linuxppc/patch?id=1855 Comments are welcome. OK, here we go... snip diff -uprN c/arch/ppc/platforms/4xx/bamboo.c d/arch/ppc/platforms/4xx/bamboo.c --- c/arch/ppc/platforms/4xx/bamboo.c 2005-07-25 06:34:52.0 -0500 +++ d/arch/ppc/platforms/4xx/bamboo.c 2005-07-26 10:31:37.0 -0500 @@ -59,6 +59,20 @@ */ #include ../../../../drivers/net/ibm_emac/ibm_emac_phy.h +#if defined(CONFIG_BAMBOO) +static const int bamboo = 1; +static const char cpu_name[] = {440EP}; +static const char brd_name[] = {Bamboo}; +#elif defined(CONFIG_YELLOWSTONE) +static const int bamboo = 0; +static const char cpu_name[] = {440GR}; +static const char brd_name[] = {Yellowstone}; +#else +static const int bamboo = 0; +static const char cpu_name[] = {440EP}; +static const char brd_name[] = {Yosemite}; +#endif + Hmmm. You seem to include not only the Yosemite but also the Yellowstone with a different processor type (440GR) into the bamboo platform file. I would prefer seperate platform files for the different boards, especially since the differences are not marginal. snip diff -uprN c/arch/ppc/platforms/4xx/Makefile d/arch/ppc/platforms/4xx/Makefile --- c/arch/ppc/platforms/4xx/Makefile 2005-07-24 16:14:36.0 -0500 +++ d/arch/ppc/platforms/4xx/Makefile 2005-07-26 10:51:35.0 -0500 @@ -15,6 +15,7 @@ obj-$(CONFIG_REDWOOD_6)+= redwood6.o obj-$(CONFIG_SYCAMORE) += sycamore.o obj-$(CONFIG_WALNUT) += walnut.o obj-$(CONFIG_XILINX_ML300) += xilinx_ml300.o +obj-$(CONFIG_YOSEMITE) += bamboo.o Please see above. Best regards, Stefan
custom ads8272 board PCI interrupt no response
Hi all, A PCI interrupt probelm confused me when porting 2.6.13-rc3 on a custom 8248 board. There was a Gb ethernet RTL8110S on board with IDSEL AD25 and IRQ3. So I made some changes as follows: --- linux-2.6.13-rc3/arch/ppc/platforms/pq2ads.h +++ linux-2.6.13-rc3-sam/arch/ppc/platforms/pq2ads.h @@ -74,11 +78,11 @@ -#define PCI_INT_TO_SIU SIU_INT_IRQ2 +#define PCI_INT_TO_SIU SIU_INT_IRQ3 --- linux-2.6.13-rc3/arch/ppc/syslib/m82xx_pci.c +++ linux-2.6.13-rc3-sam/arch/ppc/syslib/m82xx_pci.c @@ -60,12 +60,20 @@ * A B C D */ { +#if 0 { PIRQA, PIRQB, PIRQC, PIRQD },/* IDSEL 22 - PCI slot 0 */ { PIRQD, PIRQA, PIRQB, PIRQC }, /* IDSEL 23 - PCI slot 1 */ { PIRQC, PIRQD, PIRQA, PIRQB }, /* IDSEL 24 - PCI slot 2 */ +#else + {22, 22, 22, 22},/* IDSEL 22/IRQ4-PCI slot 0-USB */ + {23, 23, 23, 23},/* IDSEL 23/IRQ5-PCI slot 1-IDE */ + {24, 24, 0, 0},/* IDSEL 24 - PCI slot # - NULL */ + {25, 25, 25, 25},/* IDSEL 25/IRQ3-PCI slot 2- Gb */ + +#endif }; - const long min_idsel = 22, max_idsel = 24, irqs_per_slot = 4; + const long min_idsel = 22, max_idsel = 25, irqs_per_slot = 4; Then got a interrupt map: # cat /proc/interrupts CPU0 21: 0 CPM2 SIU LevelPQ2 PCI cascade 25: 0 CPM2 SIU Leveleth0 40:14 CPM2 SIU Levelcpm_uart BAD:2 Gb interrupt remained unchangable in the whole test process. I could ping target itself but not for outside machine. So I suspect this result was due to PCI interrupt setting but don't know where the probelm is. Any idea? Thanks in advance, Sam ___ G??? http://cn.mail.yahoo.com/?id=77071
[PATCH][5/5] RapidIO support: net driver over messaging
On Wed, Jul 27, 2005 at 01:36:15PM +0300, Avni Hillel-R58467 wrote: Hi Matt, Two questions: A. How can a node (not the host) know who is in the rionet to broadcast to them? All nodes in the rionet are flagged in the active peer list. There is an active peer list kept for the rionet instance on _each node_. There is no distinction as to whether a node was the winning enumerating host or is just another processing element that found devices in the system via passing discovery. The only inherently significant about a host in RapidIO is that it participates in enumeration. After the system is enumerated it's no longer special (unless your particular system application designates the hosts have some special network-wide ownership of resources or something). Broadcast works the same way on all nodes by sending the same packet to every node in the active peer list. B. How do you emulate broadcasting to all the mailboxes, in multi mbox systems? Is this done by the node getting the broadcast in MB 0 and forwarding it to the other MBs? rionet doesn't handle multiple mailboxes yet. However, it becomes tricky because we don't want to bridge separate Ethernet networks by policy in the driver. If two mailboxes are part of separate rio device trees, then it doesn't make sense to send broadcasts out on both mailboxes. It needs some thought and also docs on how new silicon might be implementing queues in new mailboxes. With RIO, there's so much left to be implementation specific in the silicon. It did not make sense to make assumptions and try to handle multiple mailboxes. If you have a multi mbox system it would help to have a description so we can work to support it. -Matt
[PATCH 00/14] ppc32: Remove board ports that are no longer maintained
The following board ports are no longer maintained or have become obsolete: adir ash beech cedar ep405 k2 mcpn765 menf1 oak pcore rainier redwood sm850 spd823ts We are there for removing support for them. - Kumar
[PATCH 01/14] ppc32: Remove board support for ADIR
Support for the ADIR board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 9af0e382541b47e24af0f14624585132166dcd08 tree 84b02032e1dd4503220500214e53e8246e60508f parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:29:44 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:29:44 -0500 arch/ppc/Kconfig|3 arch/ppc/configs/adir_defconfig | 805 --- arch/ppc/platforms/Makefile |1 arch/ppc/platforms/adir.h | 95 - arch/ppc/platforms/adir_pci.c | 247 arch/ppc/platforms/adir_pic.c | 130 -- arch/ppc/platforms/adir_setup.c | 210 -- arch/ppc/syslib/Makefile|2 8 files changed, 0 insertions(+), 1493 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -637,9 +637,6 @@ config SANDPOINT config RADSTONE_PPC7D bool Radstone Technology PPC7D board -config ADIR - bool SBS-Adirondack - config K2 bool SBS-K2 diff --git a/arch/ppc/configs/adir_defconfig b/arch/ppc/configs/adir_defconfig deleted file mode 100644 --- a/arch/ppc/configs/adir_defconfig +++ /dev/null @@ -1,805 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_EMBEDDED is not set -CONFIG_FUTEX=y -CONFIG_EPOLL=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set - -# -# IBM 4xx options -# -# CONFIG_8260 is not set -CONFIG_GENERIC_ISA_DMA=y -CONFIG_PPC_STD_MMU=y -# CONFIG_PPC_MULTIPLATFORM is not set -# CONFIG_APUS is not set -# CONFIG_WILLOW_2 is not set -# CONFIG_PCORE is not set -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -# CONFIG_LOPEC is not set -# CONFIG_MCPN765 is not set -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -CONFIG_ADIR=y -# CONFIG_K2 is not set -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_ALTIVEC is not set -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -CONFIG_PCI_LEGACY_PROC=y -# CONFIG_PCI_NAMES is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -CONFIG_PARPORT=y -CONFIG_PARPORT_PC=y -CONFIG_PARPORT_PC_CML1=y -# CONFIG_PARPORT_SERIAL is not set -CONFIG_PARPORT_PC_FIFO=y -CONFIG_PARPORT_PC_SUPERIO=y -# CONFIG_PARPORT_OTHER is not set -CONFIG_PARPORT_1284=y -# CONFIG_PPC601_SYNC_FIX is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=ip=on - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0080 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -CONFIG_BLK_DEV_FD=y -# CONFIG_PARIDE is not set -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -CONFIG_BLK_DEV_LOOP=y -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -CONFIG_SCSI=y - -# -# SCSI support type (disk, tape, CD-ROM) -# -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_ST=y -# CONFIG_CHR_DEV_OSST is not set -CONFIG_BLK_DEV_SR=y -CONFIG_BLK_DEV_SR_VENDOR=y -CONFIG_CHR_DEV_SG=y - -# -# Some SCSI devices (e.g. CD jukebox) support multiple LUNs -# -# CONFIG_SCSI_MULTI_LUN is not set -# CONFIG_SCSI_REPORT_LUNS is not set -CONFIG_SCSI_CONSTANTS=y -# CONFIG_SCSI_LOGGING is not set - -# -# SCSI low-level drivers -# -# CONFIG_BLK_DEV_3W__RAID is not set -# CONFIG_SCSI_ACARD is not set -# CONFIG_SCSI_AACRAID is not set -# CONFIG_SCSI_AIC7XXX is not set -# CONFIG_SCSI_AIC7XXX_OLD is not set -# CONFIG_SCSI_AIC79XX
[PATCH 02/14] ppc32: Remove board support for ASH
Support for the ASH board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 7bf377b671252a945486325f3b3fdb7b53d19272 tree 0291b7debdec53173af884dced36e6fd23f0feac parent 9af0e382541b47e24af0f14624585132166dcd08 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:49:12 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:49:12 -0500 arch/ppc/boot/simple/embed_config.c |2 arch/ppc/configs/ash_defconfig | 666 --- arch/ppc/platforms/4xx/Kconfig |5 arch/ppc/platforms/4xx/Makefile |1 arch/ppc/platforms/4xx/ash.c| 250 - arch/ppc/platforms/4xx/ash.h| 83 arch/ppc/syslib/ppc4xx_setup.c |2 include/asm-ppc/ibm4xx.h|4 8 files changed, 2 insertions(+), 1011 deletions(-) diff --git a/arch/ppc/boot/simple/embed_config.c b/arch/ppc/boot/simple/embed_config.c --- a/arch/ppc/boot/simple/embed_config.c +++ b/arch/ppc/boot/simple/embed_config.c @@ -784,7 +784,7 @@ embed_config(bd_t ** bdp) #ifdef CONFIG_IBM_OPENBIOS /* This could possibly work for all treeboot roms. */ -#if defined(CONFIG_ASH) || defined(CONFIG_BEECH) || defined(CONFIG_BUBINGA) +#if defined(CONFIG_BEECH) || defined(CONFIG_BUBINGA) #define BOARD_INFO_VECTOR 0xFFF80B50 /* openbios 1.19 moved this vector down - armin */ #else #define BOARD_INFO_VECTOR 0xFFFE0B50 diff --git a/arch/ppc/configs/ash_defconfig b/arch/ppc/configs/ash_defconfig deleted file mode 100644 --- a/arch/ppc/configs/ash_defconfig +++ /dev/null @@ -1,666 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_GENERIC_NVRAM=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_CLEAN_COMPILE=y -CONFIG_STANDALONE=y -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_HOTPLUG is not set -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -# CONFIG_KALLSYMS is not set -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Processor -# -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -CONFIG_ASH=y -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -# CONFIG_EVB405EP is not set -# CONFIG_OAK is not set -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_WALNUT is not set -CONFIG_NP405H=y -CONFIG_IBM405_ERR77=y -CONFIG_IBM405_ERR51=y -CONFIG_IBM_OCP=y -CONFIG_PPC_OCP=y -CONFIG_IBM_OPENBIOS=y -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -CONFIG_NOT_COHERENT_CACHE=y - -# -# Platform options -# -# CONFIG_PC_KEYBOARD is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_HIGHMEM is not set -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=ip=on - -# -# Bus options -# -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -CONFIG_PCI_LEGACY_PROC=y -# CONFIG_PCI_NAMES is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Device Drivers -# - -# -# Generic Driver Options -# - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Plug and Play support -# - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -CONFIG_BLK_DEV_LOOP=y -# CONFIG_BLK_DEV_CRYPTOLOOP is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_CARMEL is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y -# CONFIG_LBD is not set - -# -# ATA/ATAPI/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI device support -# -# CONFIG_SCSI is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# Fusion MPT device support -# -# CONFIG_FUSION is not set - -# -# IEEE 1394 (FireWire) support -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -#
[PATCH 03/14] ppc32: Remove board support for BEECH
Support for the BEECH board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit d705b7bbc49cc238c742ce9a89fbece65e0ab9c2 tree 1444a20ce48fcefae3267a93ec90701f7704de84 parent 7bf377b671252a945486325f3b3fdb7b53d19272 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:51:48 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:51:48 -0500 arch/ppc/boot/simple/embed_config.c | 19 - arch/ppc/configs/beech_defconfig| 615 --- 2 files changed, 1 insertions(+), 633 deletions(-) diff --git a/arch/ppc/boot/simple/embed_config.c b/arch/ppc/boot/simple/embed_config.c --- a/arch/ppc/boot/simple/embed_config.c +++ b/arch/ppc/boot/simple/embed_config.c @@ -784,28 +784,12 @@ embed_config(bd_t ** bdp) #ifdef CONFIG_IBM_OPENBIOS /* This could possibly work for all treeboot roms. */ -#if defined(CONFIG_BEECH) || defined(CONFIG_BUBINGA) +#if defined(CONFIG_BUBINGA) #define BOARD_INFO_VECTOR 0xFFF80B50 /* openbios 1.19 moved this vector down - armin */ #else #define BOARD_INFO_VECTOR 0xFFFE0B50 #endif -#ifdef CONFIG_BEECH -static void -get_board_info(bd_t **bdp) -{ - typedef void (*PFV)(bd_t *bd); - ((PFV)(*(unsigned long *)BOARD_INFO_VECTOR))(*bdp); - return; -} - -void -embed_config(bd_t **bdp) -{ -*bdp = bdinfo; - get_board_info(bdp); -} -#else /* !CONFIG_BEECH */ void embed_config(bd_t **bdp) { @@ -860,7 +844,6 @@ embed_config(bd_t **bdp) #endif timebase_period_ns = 10 / bd-bi_tbfreq; } -#endif /* CONFIG_BEECH */ #endif /* CONFIG_IBM_OPENBIOS */ #ifdef CONFIG_EP405 diff --git a/arch/ppc/configs/beech_defconfig b/arch/ppc/configs/beech_defconfig deleted file mode 100644 --- a/arch/ppc/configs/beech_defconfig +++ /dev/null @@ -1,615 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_CLEAN_COMPILE=y -# CONFIG_STANDALONE is not set -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -# CONFIG_KALLSYMS is not set -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -CONFIG_MODVERSIONS=y -CONFIG_KMOD=y - -# -# Processor -# -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -# CONFIG_ASH is not set -CONFIG_BEECH=y -# CONFIG_CEDAR is not set -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -# CONFIG_OAK is not set -# CONFIG_REDWOOD_4 is not set -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_TIVO is not set -# CONFIG_WALNUT is not set -CONFIG_IBM405_ERR77=y -CONFIG_IBM405_ERR51=y -CONFIG_IBM_OCP=y -CONFIG_IBM_OPENBIOS=y -CONFIG_405_DMA=y -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -CONFIG_NOT_COHERENT_CACHE=y - -# -# Platform options -# -# CONFIG_PC_KEYBOARD is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_HIGHMEM is not set -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Bus options -# -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Generic Driver Options -# - -# -# Memory Technology Devices (MTD) -# -CONFIG_MTD=y -# CONFIG_MTD_DEBUG is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_CMDLINE_PARTS is not set - -# -# User Modules And Translation Layers -# -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set - -# -# RAM/ROM/Flash chip drivers -# -CONFIG_MTD_CFI=y -CONFIG_MTD_JEDECPROBE=y -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -# CONFIG_MTD_CFI_INTELEXT is not set -CONFIG_MTD_CFI_AMDSTD=y -# CONFIG_MTD_CFI_STAA is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set -#
[PATCH 04/14] ppc32: Remove defconfig for CEDAR
Support for the CEDAR board no longer exists, removing the defconfig for it Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit e5e908e00ead5df5ff84495b79601a2519ed35bd tree d994f4efffa0fe4e3bfeae2529c9b90a790ffee1 parent d705b7bbc49cc238c742ce9a89fbece65e0ab9c2 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:53:19 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 14:53:19 -0500 arch/ppc/configs/cedar_defconfig | 534 -- 1 files changed, 0 insertions(+), 534 deletions(-) diff --git a/arch/ppc/configs/cedar_defconfig b/arch/ppc/configs/cedar_defconfig deleted file mode 100644 --- a/arch/ppc/configs/cedar_defconfig +++ /dev/null @@ -1,534 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -# CONFIG_ASH is not set -# CONFIG_BEECH is not set -CONFIG_CEDAR=y -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -# CONFIG_OAK is not set -# CONFIG_REDWOOD_4 is not set -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_TIVO is not set -# CONFIG_WALNUT is not set -CONFIG_IBM405_ERR77=y -CONFIG_IBM405_ERR51=y -CONFIG_IBM_OCP=y -CONFIG_NP405L=y -CONFIG_BIOS_FIXUP=y -CONFIG_IBM_OPENBIOS=y -# CONFIG_405_DMA is not set -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -CONFIG_NOT_COHERENT_CACHE=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_PC_KEYBOARD is not set -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -CONFIG_BLK_DEV_LOOP=y -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# - -# -# I2O device support -# - -# -# Networking support -# -CONFIG_NET=y - -# -# Networking options -# -# CONFIG_PACKET is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_NETFILTER is not set -CONFIG_UNIX=y -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -CONFIG_IP_PNP_RARP=y -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_INET_ECN is not set -CONFIG_SYN_COOKIES=y -# CONFIG_INET_AH is not set -# CONFIG_INET_ESP is not set -# CONFIG_INET_IPCOMP is not set -# CONFIG_IPV6 is not set -# CONFIG_XFRM_USER is not set - -# -# SCTP Configuration (EXPERIMENTAL) -# -CONFIG_IPV6_SCTP__=y -# CONFIG_IP_SCTP is not set -# CONFIG_ATM is not set -# CONFIG_VLAN_8021Q is not set -# CONFIG_LLC is not set -# CONFIG_DECNET is not set -# CONFIG_BRIDGE is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set -# CONFIG_NET_HW_FLOWCONTROL is not set - -# -# QoS and/or fair queueing -# -# CONFIG_NET_SCHED is not set - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set -# CONFIG_BONDING is not set -# CONFIG_EQUALIZER is not set -# CONFIG_TUN is not set -# CONFIG_ETHERTAP is not set - -# -# Ethernet (10 or 100Mbit) -# -# CONFIG_NET_ETHERNET is not set - -# -# Ethernet (1000 Mbit) -# - -# -# Ethernet (1 Mbit) -# -#
[PATCH 05/14] ppc32: Remove board support for K2
Support for the K2 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 5171febe851e0c969b72cee66eb717563a2e8084 tree 8fa61d2c6308b3966b8fc4c4a5e2123effe2d988 parent e5e908e00ead5df5ff84495b79601a2519ed35bd author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:35:19 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:35:19 -0500 arch/ppc/Kconfig |9 - arch/ppc/boot/simple/Makefile |4 arch/ppc/configs/k2_defconfig | 680 - arch/ppc/platforms/Makefile |1 arch/ppc/platforms/k2.c | 613 - arch/ppc/platforms/k2.h | 82 - arch/ppc/syslib/Makefile |2 7 files changed, 1 insertions(+), 1390 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -637,9 +637,6 @@ config SANDPOINT config RADSTONE_PPC7D bool Radstone Technology PPC7D board -config K2 - bool SBS-K2 - config PAL4 bool SBS-Palomar4 @@ -793,7 +790,7 @@ config PPC_OF config PPC_GEN550 bool depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || \ - PRPMC750 || K2 || PRPMC800 || LOPEC || \ + PRPMC750 || PRPMC800 || LOPEC || \ (EV64260 !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D || \ 83xx default y @@ -874,10 +871,6 @@ config MPC10X_OPENPIC config MPC10X_STORE_GATHERING bool Enable MPC10x store gathering depends on MPC10X_BRIDGE - -config CPC710_DATA_GATHERING - bool Enable CPC710 data gathering - depends on K2 config HARRIER_STORE_GATHERING bool Enable Harrier store gathering diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile +++ b/arch/ppc/boot/simple/Makefile @@ -90,10 +90,6 @@ zimageinitrd-$(CONFIG_OCOTEA):= zImage zimageinitrd-$(CONFIG_GEMINI) := zImage.initrd-STRIPELF end-$(CONFIG_GEMINI) := gemini - extra.o-$(CONFIG_K2) := prepmap.o - end-$(CONFIG_K2) := k2 - cacheflag-$(CONFIG_K2) := -include $(clear_L2_L3) - extra.o-$(CONFIG_KATANA) := misc-katana.o end-$(CONFIG_KATANA) := katana cacheflag-$(CONFIG_KATANA) := -include $(clear_L2_L3) diff --git a/arch/ppc/configs/k2_defconfig b/arch/ppc/configs/k2_defconfig deleted file mode 100644 --- a/arch/ppc/configs/k2_defconfig +++ /dev/null @@ -1,680 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_GENERIC_NVRAM=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_CLEAN_COMPILE=y -CONFIG_STANDALONE=y -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -# CONFIG_AUDIT is not set -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_HOTPLUG is not set -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -CONFIG_KALLSYMS=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Processor -# -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -# CONFIG_ALTIVEC is not set -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set -CONFIG_PPC_STD_MMU=y - -# -# Platform options -# -# CONFIG_PPC_MULTIPLATFORM is not set -# CONFIG_APUS is not set -# CONFIG_WILLOW is not set -# CONFIG_PCORE is not set -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -# CONFIG_LOPEC is not set -# CONFIG_MCPN765 is not set -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -# CONFIG_ADIR is not set -CONFIG_K2=y -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -# CONFIG_EST8260 is not set -# CONFIG_SBS8260 is not set -# CONFIG_RPX6 is not set -# CONFIG_TQM8260 is not set -CONFIG_PPC_GEN550=y -# CONFIG_CPC710_DATA_GATHERING is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_HIGHMEM is not set -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=ip=on - -# -# Bus options -# -CONFIG_GENERIC_ISA_DMA=y -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -# CONFIG_PCI_LEGACY_PROC is not set -# CONFIG_PCI_NAMES is not set - -# -# Advanced setup -#
[PATCH 06/14] ppc32: Remove board support for MCPN765
Support for the MCPN765 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit f53cc898e2223283215cdcccb8d7218ebf51d2fa tree b5665c25b3f9074e8f69a825baec5b0c7c77e447 parent 5171febe851e0c969b72cee66eb717563a2e8084 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:38:49 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:38:49 -0500 arch/ppc/Kconfig |5 arch/ppc/boot/simple/Makefile |2 arch/ppc/configs/mcpn765_defconfig | 579 arch/ppc/platforms/Makefile|1 arch/ppc/platforms/mcpn765.c | 527 - arch/ppc/platforms/mcpn765.h | 122 arch/ppc/syslib/Makefile |2 include/asm-ppc/serial.h |2 8 files changed, 2 insertions(+), 1238 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -613,9 +613,6 @@ config EV64260 config LOPEC bool Motorola-LoPEC -config MCPN765 - bool Motorola-MCPN765 - config MVME5100 bool Motorola-MVME5100 @@ -789,7 +786,7 @@ config PPC_OF config PPC_GEN550 bool - depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || \ + depends on SANDPOINT || SPRUCE || PPLUS || PCORE || \ PRPMC750 || PRPMC800 || LOPEC || \ (EV64260 !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D || \ 83xx diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile +++ b/arch/ppc/boot/simple/Makefile @@ -100,7 +100,7 @@ zimageinitrd-$(CONFIG_GEMINI) := zImage # kconfig 'feature', only one of these will ever be 'y' at a time. # The rest will be unset. -motorola := $(CONFIG_MCPN765)$(CONFIG_MVME5100)$(CONFIG_PRPMC750) \ +motorola := $(CONFIG_MVME5100)$(CONFIG_PRPMC750) \ $(CONFIG_PRPMC800)$(CONFIG_LOPEC)$(CONFIG_PPLUS) motorola := $(strip $(motorola)) pcore := $(CONFIG_PCORE)$(CONFIG_POWERPMC250) diff --git a/arch/ppc/configs/mcpn765_defconfig b/arch/ppc/configs/mcpn765_defconfig deleted file mode 100644 --- a/arch/ppc/configs/mcpn765_defconfig +++ /dev/null @@ -1,579 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_GENERIC_NVRAM=y - -# -# Code maturity level options -# -# CONFIG_EXPERIMENTAL is not set -CONFIG_CLEAN_COMPILE=y -CONFIG_STANDALONE=y -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_HOTPLUG is not set -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -CONFIG_KALLSYMS=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -# CONFIG_MODULE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_KMOD is not set - -# -# Processor -# -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -CONFIG_ALTIVEC=y -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set -CONFIG_PPC_STD_MMU=y - -# -# Platform options -# -# CONFIG_PPC_MULTIPLATFORM is not set -# CONFIG_APUS is not set -# CONFIG_WILLOW is not set -# CONFIG_PCORE is not set -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -# CONFIG_LOPEC is not set -CONFIG_MCPN765=y -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -# CONFIG_ADIR is not set -# CONFIG_K2 is not set -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -# CONFIG_EST8260 is not set -# CONFIG_SBS8260 is not set -# CONFIG_RPX6 is not set -# CONFIG_TQM8260 is not set -CONFIG_PPC_GEN550=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -CONFIG_HIGHMEM=y -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=ip=on - -# -# Bus options -# -CONFIG_GENERIC_ISA_DMA=y -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -# CONFIG_PCI_LEGACY_PROC is not set -# CONFIG_PCI_NAMES is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0080 - -# -# Device Drivers -# - -# -# Generic Driver Options -# - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Plug and Play support -# - -# -# Block devices -# -# CONFIG_BLK_DEV_FD
[PATCH 07/14] ppc32: Remove board support for MENF1
Support for the MENF1 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 9762d809e90f09f4507b7415fe1853c0fcc92ccb tree 0989867e7a6ae6f89ebbe57cc73318aa03c23433 parent f53cc898e2223283215cdcccb8d7218ebf51d2fa author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:41:25 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:41:25 -0500 arch/ppc/configs/menf1_defconfig | 621 -- arch/ppc/platforms/Makefile |1 arch/ppc/syslib/Makefile |2 3 files changed, 0 insertions(+), 624 deletions(-) diff --git a/arch/ppc/configs/menf1_defconfig b/arch/ppc/configs/menf1_defconfig deleted file mode 100644 --- a/arch/ppc/configs/menf1_defconfig +++ /dev/null @@ -1,621 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_EMBEDDED is not set -CONFIG_FUTEX=y -CONFIG_EPOLL=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set - -# -# IBM 4xx options -# -# CONFIG_8260 is not set -CONFIG_GENERIC_ISA_DMA=y -CONFIG_PPC_STD_MMU=y -# CONFIG_PPC_MULTIPLATFORM is not set -# CONFIG_APUS is not set -# CONFIG_WILLOW_2 is not set -# CONFIG_PCORE is not set -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -CONFIG_MENF1=y -# CONFIG_LOPEC is not set -# CONFIG_MCPN765 is not set -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -# CONFIG_ADIR is not set -# CONFIG_K2 is not set -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -CONFIG_MPC10X_STORE_GATHERING=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_ALTIVEC is not set -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_PCI_LEGACY_PROC is not set -# CONFIG_PCI_NAMES is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -# CONFIG_PPC601_SYNC_FIX is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=ip=on - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0080 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_BLK_DEV_INITRD is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -CONFIG_IDE=y - -# -# IDE, ATA and ATAPI Block devices -# -CONFIG_BLK_DEV_IDE=y - -# -# Please see Documentation/ide.txt for help/info on IDE drives -# -# CONFIG_BLK_DEV_HD is not set -CONFIG_BLK_DEV_IDEDISK=y -# CONFIG_IDEDISK_MULTI_MODE is not set -# CONFIG_IDEDISK_STROKE is not set -CONFIG_BLK_DEV_IDECD=y -# CONFIG_BLK_DEV_IDEFLOPPY is not set -# CONFIG_IDE_TASK_IOCTL is not set - -# -# IDE chipset support/bugfixes -# -# CONFIG_BLK_DEV_IDEPCI is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# - -# -# IEEE 1394 (FireWire) support (EXPERIMENTAL) -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -# CONFIG_I2O is not set - -# -# Networking support -# -CONFIG_NET=y - -# -# Networking options -# -CONFIG_PACKET=y -# CONFIG_PACKET_MMAP is not set -# CONFIG_NETLINK_DEV is not set -CONFIG_NETFILTER=y -# CONFIG_NETFILTER_DEBUG is not set -CONFIG_UNIX=y -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -# CONFIG_IP_PNP_BOOTP is not set -# CONFIG_IP_PNP_RARP is not set -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_INET_ECN is not set -# CONFIG_SYN_COOKIES is not set -# CONFIG_INET_AH is not
[PATCH 08/14] ppc32: Remove board support for OAK
Support for the OAK board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit e36f8d751bbac7114de804eae35a8013a3dd45ce tree ee9cd737022b32aca08fc2fb30e6dcf41dd2c4f7 parent 9762d809e90f09f4507b7415fe1853c0fcc92ccb author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:47:55 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:47:55 -0500 arch/ppc/configs/oak_defconfig | 485 arch/ppc/platforms/4xx/Kconfig |6 arch/ppc/platforms/4xx/Makefile|1 arch/ppc/platforms/4xx/oak.c | 255 --- arch/ppc/platforms/4xx/oak.h | 96 --- arch/ppc/platforms/4xx/oak_setup.h | 50 include/asm-ppc/ibm4xx.h |4 7 files changed, 1 insertions(+), 896 deletions(-) diff --git a/arch/ppc/configs/oak_defconfig b/arch/ppc/configs/oak_defconfig deleted file mode 100644 --- a/arch/ppc/configs/oak_defconfig +++ /dev/null @@ -1,485 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -# CONFIG_ASH is not set -# CONFIG_BEECH is not set -# CONFIG_CEDAR is not set -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -CONFIG_OAK=y -# CONFIG_REDWOOD_4 is not set -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_TIVO is not set -# CONFIG_WALNUT is not set -CONFIG_IBM405_ERR51=y -CONFIG_403GCX=y -# CONFIG_405_DMA is not set -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -CONFIG_NOT_COHERENT_CACHE=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_PC_KEYBOARD is not set -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -CONFIG_BLK_DEV_LOOP=y -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# - -# -# I2O device support -# - -# -# Networking support -# -CONFIG_NET=y - -# -# Networking options -# -# CONFIG_PACKET is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_NETFILTER is not set -CONFIG_UNIX=y -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_PNP=y -# CONFIG_IP_PNP_DHCP is not set -CONFIG_IP_PNP_BOOTP=y -CONFIG_IP_PNP_RARP=y -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_INET_ECN is not set -CONFIG_SYN_COOKIES=y -# CONFIG_INET_AH is not set -# CONFIG_INET_ESP is not set -# CONFIG_INET_IPCOMP is not set -# CONFIG_IPV6 is not set -# CONFIG_XFRM_USER is not set - -# -# SCTP Configuration (EXPERIMENTAL) -# -CONFIG_IPV6_SCTP__=y -# CONFIG_IP_SCTP is not set -# CONFIG_ATM is not set -# CONFIG_VLAN_8021Q is not set -# CONFIG_LLC is not set -# CONFIG_DECNET is not set -# CONFIG_BRIDGE is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set -# CONFIG_NET_HW_FLOWCONTROL is not set - -# -# QoS and/or fair queueing -# -# CONFIG_NET_SCHED is not set - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set -# CONFIG_BONDING is not set -#
[PATCH 09/14] ppc32: Remove board support for RAINIER
Support for the RAINIER board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 82101a77550f5cd9c35efe787c5eaa8f82672c36 tree 1da0a285c77011aeed199a293fdbab7fdea4631f parent e36f8d751bbac7114de804eae35a8013a3dd45ce author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:51:50 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 15:51:50 -0500 arch/ppc/boot/simple/embed_config.c | 36 -- arch/ppc/configs/rainier_defconfig | 599 --- 2 files changed, 0 insertions(+), 635 deletions(-) diff --git a/arch/ppc/boot/simple/embed_config.c b/arch/ppc/boot/simple/embed_config.c --- a/arch/ppc/boot/simple/embed_config.c +++ b/arch/ppc/boot/simple/embed_config.c @@ -926,39 +926,3 @@ embed_config(bd_t **bdp) #endif } #endif - -#ifdef CONFIG_RAINIER -/* Rainier uses vxworks bootrom */ -void -embed_config(bd_t **bdp) -{ - u_char *cp; - int i; - bd_t*bd; - - bd = bdinfo; - *bdp = bd; - - for(i=0;i8192;i+=32) { - __asm__(dccci 0,%0 :: r (i)); - } - __asm__(iccci 0,0); - __asm__(sync;isync); - - /* init ram for parity */ - memset(0, 0,0x40); /* Lo memory */ - - - bd-bi_memsize = (32 * 1024 * 1024) ; - bd-bi_intfreq = 13300; //the internal clock is 133 MHz - bd-bi_busfreq = 1; - bd-bi_pci_busfreq= 3300; - - cp = (u_char *)def_enet_addr; - for (i=0; i6; i++) { - bd-bi_enetaddr[i] = *cp++; - } - -} -#endif - diff --git a/arch/ppc/configs/rainier_defconfig b/arch/ppc/configs/rainier_defconfig deleted file mode 100644 --- a/arch/ppc/configs/rainier_defconfig +++ /dev/null @@ -1,599 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -# CONFIG_MODULE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -CONFIG_MODVERSIONS=y -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -# CONFIG_ASH is not set -# CONFIG_BEECH is not set -# CONFIG_CEDAR is not set -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -# CONFIG_OAK is not set -# CONFIG_REDWOOD_4 is not set -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_TIVO is not set -CONFIG_WALNUT=y -CONFIG_IBM405_ERR77=y -CONFIG_IBM405_ERR51=y -CONFIG_IBM_OCP=y -CONFIG_BIOS_FIXUP=y -CONFIG_405GP=y -CONFIG_IBM_OPENBIOS=y -CONFIG_405_DMA=y -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -CONFIG_NOT_COHERENT_CACHE=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -# CONFIG_PC_KEYBOARD is not set -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_PCI_LEGACY_PROC is not set -CONFIG_PCI_NAMES=y -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_NBD=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# - -# -# IEEE 1394 (FireWire) support (EXPERIMENTAL) -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -# CONFIG_I2O is not set - -# -# Networking support -# -CONFIG_NET=y - -# -# Networking options -# -CONFIG_PACKET=y -# CONFIG_PACKET_MMAP is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_NETFILTER is not set -CONFIG_UNIX=y -# CONFIG_NET_KEY is not set
[PATCH 10/14] ppc32: Remove board support for REDWOOD
Support for the REDWOOD board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 7dbed1f92ee7eeaee439e82f7dae6e43c410ef22 tree 9cdb6db7eedd12a58007466e3193800c46a414ba parent 82101a77550f5cd9c35efe787c5eaa8f82672c36 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:00:04 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:00:04 -0500 arch/ppc/boot/simple/Makefile |2 arch/ppc/boot/simple/head.S|9 - arch/ppc/configs/redwood_defconfig | 540 include/asm-ppc/ibm4xx.h |4 4 files changed, 0 insertions(+), 555 deletions(-) diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile +++ b/arch/ppc/boot/simple/Makefile @@ -148,8 +148,6 @@ zimageinitrd-$(CONFIG_LITE5200) := zIma # This is a treeboot that needs init functions until the # boot rom is sorted out (i.e. this is short lived) -extra-aflags-$(CONFIG_REDWOOD_4) := -Wa,-m405 -extra.o-$(CONFIG_REDWOOD_4):= rw4/rw4_init.o rw4/rw4_init_brd.o EXTRA_AFLAGS := $(extra-aflags-y) # head.o needs to get the cacheflags defined. AFLAGS_head.o += $(cacheflag-y) diff --git a/arch/ppc/boot/simple/head.S b/arch/ppc/boot/simple/head.S --- a/arch/ppc/boot/simple/head.S +++ b/arch/ppc/boot/simple/head.S @@ -120,15 +120,6 @@ haveOF: mtspr SPRN_DER,r4 #endif -#ifdef CONFIG_REDWOOD_4 - /* All of this Redwood 4 stuff will soon disappear when the -* boot rom is straightened out. -*/ - mr r29, r3 /* Easier than changing the other code */ - bl HdwInit - mr r3, r29 -#endif - #if defined(CONFIG_MBX) || defined(CONFIG_RPX8260) || defined(CONFIG_PPC_PREP) mr r4,r29 /* put the board info pointer where the relocate * routine will find it diff --git a/arch/ppc/configs/redwood_defconfig b/arch/ppc/configs/redwood_defconfig deleted file mode 100644 --- a/arch/ppc/configs/redwood_defconfig +++ /dev/null @@ -1,540 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_CLEAN_COMPILE=y -# CONFIG_STANDALONE is not set -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -# CONFIG_KALLSYMS is not set -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y - -# -# Loadable module support -# -CONFIG_MODULES=y -# CONFIG_MODULE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Processor -# -# CONFIG_6xx is not set -CONFIG_40x=y -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -# CONFIG_MATH_EMULATION is not set -# CONFIG_CPU_FREQ is not set -CONFIG_4xx=y - -# -# IBM 4xx options -# -# CONFIG_ASH is not set -# CONFIG_BEECH is not set -# CONFIG_CEDAR is not set -# CONFIG_CPCI405 is not set -# CONFIG_EP405 is not set -# CONFIG_OAK is not set -CONFIG_REDWOOD_4=y -# CONFIG_REDWOOD_5 is not set -# CONFIG_REDWOOD_6 is not set -# CONFIG_SYCAMORE is not set -# CONFIG_TIVO is not set -# CONFIG_WALNUT is not set -CONFIG_IBM405_ERR77=y -CONFIG_IBM405_ERR51=y -CONFIG_IBM_OCP=y -CONFIG_STB03xxx=y -CONFIG_IBM_OPENBIOS=y -# CONFIG_405_DMA is not set -# CONFIG_PM is not set -CONFIG_UART0_TTYS0=y -# CONFIG_UART0_TTYS1 is not set -# CONFIG_SERIAL_SICC is not set -CONFIG_NOT_COHERENT_CACHE=y - -# -# Platform options -# -# CONFIG_PC_KEYBOARD is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_HIGHMEM is not set -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Bus options -# -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Generic Driver Options -# - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -CONFIG_BLK_DEV_LOOP=y -# CONFIG_BLK_DEV_CRYPTOLOOP is not set -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_INITRD=y -# CONFIG_LBD is not set - -# -# Multi-device support (RAID and LVM) -#
[PATCH 11/14] ppc32: Remove board support for SM850
Support for the SM850 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit b20e13cbb1c931860275b37d9bf7934974be6309 tree 17ece4e6a04e48ac5e976ed7e63691b6fd8c97ac parent 7dbed1f92ee7eeaee439e82f7dae6e43c410ef22 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:02:49 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:02:49 -0500 arch/ppc/Kconfig | 17 - arch/ppc/configs/SM850_defconfig | 522 -- arch/ppc/platforms/tqm8xx.h | 23 -- 3 files changed, 1 insertions(+), 561 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -355,13 +355,6 @@ config RPXLITE End of life: - URL: http://www.speech-design.de/ - SM850: - Service Module (based on TQM850L) - Manufacturer: Dependable Computer Systems, http://www.decomsys.com/ - Date of Release: end 2000 (?) - End of life: mid 2001 (?) - URL: http://www.tz-mikroelektronik.de/ServiceModule/index.html - HERMES: Hermes-Pro ISDN/LAN router with integrated 8 x hub Manufacturer: Multidata Gesellschaft fur Datentechnik und Informatik @@ -486,14 +479,6 @@ config IVML24 from Speech Design, released March 2001. The manufacturer's website is at http://www.speech-design.de/. -config SM850 - bool SM850 - help - Say Y here to support the Service Module 850 from Dependable - Computer Systems, an SBC based on the TQM850L module by TQ - Components. This board is no longer in production. The - manufacturer's website is at http://www.decomsys.com/. - config HERMES_PRO bool HERMES @@ -712,7 +697,7 @@ config PQ2ADS config TQM8xxL bool - depends on 8xx (TQM823L || TQM850L || FPS850L || TQM855L || TQM860L || SM850) + depends on 8xx (TQM823L || TQM850L || FPS850L || TQM855L || TQM860L) default y config EMBEDDEDBOOT diff --git a/arch/ppc/configs/SM850_defconfig b/arch/ppc/configs/SM850_defconfig deleted file mode 100644 --- a/arch/ppc/configs/SM850_defconfig +++ /dev/null @@ -1,522 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -# CONFIG_6xx is not set -# CONFIG_40x is not set -# CONFIG_POWER3 is not set -CONFIG_8xx=y - -# -# IBM 4xx options -# -CONFIG_EMBEDDEDBOOT=y -CONFIG_SERIAL_CONSOLE=y -CONFIG_NOT_COHERENT_CACHE=y -# CONFIG_RPXLITE is not set -# CONFIG_RPXCLASSIC is not set -# CONFIG_BSEIP is not set -# CONFIG_FADS is not set -# CONFIG_TQM823L is not set -# CONFIG_TQM850L is not set -# CONFIG_TQM855L is not set -# CONFIG_TQM860L is not set -# CONFIG_FPS850L is not set -# CONFIG_SPD823TS is not set -# CONFIG_IVMS8 is not set -# CONFIG_IVML24 is not set -CONFIG_SM850=y -# CONFIG_HERMES_PRO is not set -# CONFIG_IP860 is not set -# CONFIG_LWMON is not set -# CONFIG_PCU_E is not set -# CONFIG_CCM is not set -# CONFIG_LANTEC is not set -# CONFIG_MBX is not set -# CONFIG_WINCEPT is not set -CONFIG_TQM8xxL=y -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -CONFIG_MATH_EMULATION=y -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_PCI_QSPAN is not set -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE=console=ttyCPM1 - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_BLK_DEV_INITRD is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -# CONFIG_SCSI is
[PATCH 12/14] ppc32: Remove board support for SPD823TS
Support for the SPD823TS board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 16f6a37ad9d92a4dbb9ac12dfc5e713480a7c9d0 tree 1b6b9cdd190c8eb590596c7b0decc5c00f5dfe9b parent b20e13cbb1c931860275b37d9bf7934974be6309 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:06:08 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 16:06:08 -0500 arch/ppc/Kconfig| 15 - arch/ppc/configs/SPD823TS_defconfig | 520 --- arch/ppc/platforms/spd8xx.h | 92 -- include/asm-ppc/mpc8xx.h|4 4 files changed, 0 insertions(+), 631 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -331,14 +331,6 @@ config RPXLITE End of life: end 2000 ? URL: see TQM850L - SPD823TS: - MPC823 based board used in the Tele Server product - Manufacturer: Speech Design, http://www.speech-design.de/ - Date of Release: Mid 2000 (?) - End of life: - - URL: http://www.speech-design.de/ - select English, then Teleteam Solutions, then TeleServer - IVMS8: MPC860 based board used in the Integrated Voice Mail System, Small Version (8 voice channels) @@ -457,13 +449,6 @@ config TQM860L config FPS850L bool FPS850L - -config SPD823TS - bool SPD823TS - help - Say Y here to support the Speech Design 823 Tele-Server from Speech - Design, released in 2000. The manufacturer's website is at - http://www.speech-design.de/. config IVMS8 bool IVMS8 diff --git a/arch/ppc/configs/SPD823TS_defconfig b/arch/ppc/configs/SPD823TS_defconfig deleted file mode 100644 --- a/arch/ppc/configs/SPD823TS_defconfig +++ /dev/null @@ -1,520 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -CONFIG_FUTEX=y -# CONFIG_EPOLL is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -# CONFIG_6xx is not set -# CONFIG_40x is not set -# CONFIG_POWER3 is not set -CONFIG_8xx=y - -# -# IBM 4xx options -# -CONFIG_EMBEDDEDBOOT=y -CONFIG_SERIAL_CONSOLE=y -CONFIG_NOT_COHERENT_CACHE=y -# CONFIG_RPXLITE is not set -# CONFIG_RPXCLASSIC is not set -# CONFIG_BSEIP is not set -# CONFIG_FADS is not set -# CONFIG_TQM823L is not set -# CONFIG_TQM850L is not set -# CONFIG_TQM855L is not set -# CONFIG_TQM860L is not set -# CONFIG_FPS850L is not set -CONFIG_SPD823TS=y -# CONFIG_IVMS8 is not set -# CONFIG_IVML24 is not set -# CONFIG_SM850 is not set -# CONFIG_HERMES_PRO is not set -# CONFIG_IP860 is not set -# CONFIG_LWMON is not set -# CONFIG_PCU_E is not set -# CONFIG_CCM is not set -# CONFIG_LANTEC is not set -# CONFIG_MBX is not set -# CONFIG_WINCEPT is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -CONFIG_MATH_EMULATION=y -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -# CONFIG_PCI is not set -# CONFIG_PCI_DOMAINS is not set -# CONFIG_PCI_QSPAN is not set -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set -# CONFIG_CMDLINE_BOOL is not set - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe00 -CONFIG_LOWMEM_SIZE=0x3000 -CONFIG_KERNEL_START=0xc000 -CONFIG_TASK_SIZE=0x8000 -CONFIG_BOOT_LOAD=0x0040 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CONFIG_PNP is not set - -# -# Block devices -# -# CONFIG_BLK_DEV_FD is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_BLK_DEV_INITRD is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# ATA/IDE/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# - -# -# I2O device support -# - -# -# Networking support -# -CONFIG_NET=y - -# -# Networking options -# -CONFIG_PACKET=y -# CONFIG_PACKET_MMAP is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_NETFILTER is not set -CONFIG_UNIX=y -# CONFIG_NET_KEY is not set -CONFIG_INET=y -# CONFIG_IP_MULTICAST is not set -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_PNP=y
[PATCH 13/14] ppc32: Remove board support for EP405
Support for the EP405 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 715aa4926267a11452ddd3f3abffc19bdefdcb88 tree 6c3d041e5bc4058993dcd2707eb2c5657acfaa41 parent 13046e6e40e2f14b30e9a159791eb330f7204bf4 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 22:19:05 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 22:19:05 -0500 arch/ppc/boot/simple/embed_config.c | 105 -- arch/ppc/configs/ep405_defconfig| 572 --- arch/ppc/platforms/4xx/Kconfig | 17 - arch/ppc/platforms/4xx/Makefile |1 arch/ppc/platforms/4xx/ep405.c | 197 arch/ppc/platforms/4xx/ep405.h | 54 --- include/asm-ppc/ibm4xx.h|4 7 files changed, 7 insertions(+), 943 deletions(-) diff --git a/arch/ppc/boot/simple/embed_config.c b/arch/ppc/boot/simple/embed_config.c --- a/arch/ppc/boot/simple/embed_config.c +++ b/arch/ppc/boot/simple/embed_config.c @@ -97,7 +97,7 @@ embed_config(bd_t **bdp) #endif /* CONFIG_MBX */ #if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) || \ - defined(CONFIG_RPX8260) || defined(CONFIG_EP405) + defined(CONFIG_RPX8260) /* Helper functions for Embedded Planet boards. */ /* Because I didn't find anything that would do this... @@ -217,7 +217,7 @@ rpx_cpuspeed(bd_t *bd, u_char *cp) } #endif -#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) || defined(CONFIG_EP405) +#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) static void rpx_memsize(bd_t *bd, u_char *cp) { @@ -233,25 +233,7 @@ rpx_memsize(bd_t *bd, u_char *cp) bd-bi_memsize = size * 1024 * 1024; } -#endif /* LITE || CLASSIC || EP405 */ -#if defined(CONFIG_EP405) -static void -rpx_nvramsize(bd_t *bd, u_char *cp) -{ - uintsize; - - size = 0; - - while (*cp != '\n') { - size *= 10; - size += (*cp) - '0'; - cp++; - } - - bd-bi_nvramsize = size * 1024; -} -#endif /* CONFIG_EP405 */ - +#endif /* LITE || CLASSIC */ #endif /* Embedded Planet boards */ #if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) @@ -845,84 +827,3 @@ embed_config(bd_t **bdp) timebase_period_ns = 10 / bd-bi_tbfreq; } #endif /* CONFIG_IBM_OPENBIOS */ - -#ifdef CONFIG_EP405 -#include linux/serial_reg.h - -void -embed_config(bd_t **bdp) -{ - u32 chcr0; - u_char *cp; - bd_t*bd; - - /* Different versions of the PlanetCore firmware vary in how - they set up the serial port - in particular whether they - use the internal or external serial clock for UART0. Make - sure the UART is in a known state. */ - /* FIXME: We should use the board's 11.0592MHz external serial - clock - it will be more accurate for serial rates. For - now, however the baud rates in ep405.h are for the internal - clock. */ - chcr0 = mfdcr(DCRN_CHCR0); - if ( (chcr0 0x1fff) != 0x103e ) { - mtdcr(DCRN_CHCR0, (chcr0 0xe000) | 0x103e); - /* The following tricks serial_init() into resetting the baud rate */ - writeb(0, UART0_IO_BASE + UART_LCR); - } - - /* We haven't seen actual problems with the EP405 leaving the -* EMAC running (as we have on Walnut). But the registers -* suggest it may not be left completely quiescent. Reset it -* just to be sure. */ - mtdcr(DCRN_MALCR(DCRN_MAL_BASE), MALCR_MMSR); /* 1st reset MAL */ - while (mfdcr(DCRN_MALCR(DCRN_MAL_BASE)) MALCR_MMSR) {}; /* wait for the reset */ - out_be32((unsigned *)EMAC0_BASE,0x2000);/* then reset EMAC */ - - bd = bdinfo; - *bdp = bd; -#if 1 - cp = (u_char *)0xFEE0; - for (;;) { - if (*cp == 'E') { - cp++; - if (*cp == 'A') { - cp += 2; - rpx_eth(bd, cp); - } -} - - if (*cp == 'D') { - cp++; - if (*cp == '1') { - cp += 2; - rpx_memsize(bd, cp); - } - } - - if (*cp == 'N') { - cp++; - if (*cp == 'V') { - cp += 2; - rpx_nvramsize(bd, cp); - } - } - while ((*cp != '\n') (*cp != 0xff)) - cp++; - - cp++; -
[PATCH 14/14] ppc32: Remove board support for PCORE
Support for the PCORE board is no longer maintained and thus being removed Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit a287e1a2f397c7c4aeba88169b413500bd642fcc tree 5fce3a854f01aa7889bc684d9e6a81386ce1e293 parent 715aa4926267a11452ddd3f3abffc19bdefdcb88 author Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 22:23:47 -0500 committer Kumar K. Gala kumar.gala at freescale.com Mon, 25 Jul 2005 22:23:47 -0500 arch/ppc/Kconfig |9 arch/ppc/boot/simple/Makefile|7 arch/ppc/configs/pcore_defconfig | 716 -- arch/ppc/platforms/Makefile |1 arch/ppc/platforms/pcore.c | 352 --- arch/ppc/platforms/pcore.h | 39 -- arch/ppc/syslib/Makefile |1 7 files changed, 3 insertions(+), 1122 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -548,9 +548,6 @@ config CPCI690 help Select CPCI690 if configuring a Force CPCI690 cPCI board. -config PCORE - bool Force-PowerCore - config POWERPMC250 bool Force-PowerPMC250 @@ -756,7 +753,7 @@ config PPC_OF config PPC_GEN550 bool - depends on SANDPOINT || SPRUCE || PPLUS || PCORE || \ + depends on SANDPOINT || SPRUCE || PPLUS || \ PRPMC750 || PRPMC800 || LOPEC || \ (EV64260 !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D || \ 83xx @@ -764,7 +761,7 @@ config PPC_GEN550 config FORCE bool - depends on 6xx (PCORE || POWERPMC250) + depends on 6xx POWERPMC250 default y config GT64260 @@ -827,7 +824,7 @@ config EPIC_SERIAL_MODE config MPC10X_BRIDGE bool - depends on PCORE || POWERPMC250 || LOPEC || SANDPOINT + depends on POWERPMC250 || LOPEC || SANDPOINT default y config MPC10X_OPENPIC diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile +++ b/arch/ppc/boot/simple/Makefile @@ -103,7 +103,6 @@ zimageinitrd-$(CONFIG_GEMINI) := zImage motorola := $(CONFIG_MVME5100)$(CONFIG_PRPMC750) \ $(CONFIG_PRPMC800)$(CONFIG_LOPEC)$(CONFIG_PPLUS) motorola := $(strip $(motorola)) -pcore := $(CONFIG_PCORE)$(CONFIG_POWERPMC250) zimage-$(motorola) := zImage-PPLUS zimageinitrd-$(motorola) := zImage.initrd-PPLUS @@ -112,12 +111,6 @@ zimageinitrd-$(motorola) := zImage.init # Overrides previous assingment extra.o-$(CONFIG_PPLUS) := prepmap.o extra.o-$(CONFIG_LOPEC) := mpc10x_memory.o - - zimage-$(pcore) := zImage-STRIPELF -zimageinitrd-$(pcore) := zImage.initrd-STRIPELF - extra.o-$(pcore) := chrpmap.o - end-$(pcore) := pcore - cacheflag-$(pcore) := -include $(clear_L2_L3) # Really only valid if CONFIG_6xx=y zimage-$(CONFIG_PPC_PREP):= zImage-PPLUS diff --git a/arch/ppc/configs/pcore_defconfig b/arch/ppc/configs/pcore_defconfig deleted file mode 100644 --- a/arch/ppc/configs/pcore_defconfig +++ /dev/null @@ -1,716 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_GENERIC_NVRAM=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_CLEAN_COMPILE=y -CONFIG_STANDALONE=y -CONFIG_BROKEN_ON_SMP=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_HOTPLUG is not set -# CONFIG_IKCONFIG is not set -CONFIG_EMBEDDED=y -CONFIG_KALLSYMS=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Processor -# -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_44x is not set -# CONFIG_POWER3 is not set -# CONFIG_POWER4 is not set -# CONFIG_8xx is not set -CONFIG_ALTIVEC=y -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set -CONFIG_PPC_STD_MMU=y - -# -# Platform options -# -# CONFIG_PPC_MULTIPLATFORM is not set -# CONFIG_APUS is not set -# CONFIG_WILLOW is not set -CONFIG_PCORE=y -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -# CONFIG_LOPEC is not set -# CONFIG_MCPN765 is not set -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -# CONFIG_ADIR is not set -# CONFIG_K2 is not set -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -# CONFIG_EST8260 is not set -# CONFIG_SBS8260 is not set -# CONFIG_RPX6 is not
[PATCH] ppc32: Mark boards that don't build as BROKEN
Marked APUS and GEMINI as BROKEN since they do not build at the platform level. We have requested that the maintainers of these boards/platforms fix them by the time 2.6.15 is released or we plan on concerning them unmaintained and thus removing them. Signed-off-by: Kumar Gala kumar.gala at freescale.com --- commit 08b693c5a82934788fdedbe5a6f9bc5fc67118e4 tree d9e1a5932246a8d376f14f5f6d62c601370a13f8 parent a287e1a2f397c7c4aeba88169b413500bd642fcc author Kumar K. Gala kumar.gala at freescale.com Wed, 27 Jul 2005 10:51:06 -0500 committer Kumar K. Gala kumar.gala at freescale.com Wed, 27 Jul 2005 10:51:06 -0500 arch/ppc/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -529,6 +529,7 @@ config PPC_MULTIPLATFORM config APUS bool Amiga-APUS + depends on BROKEN help Select APUS if configuring for a PowerUP Amiga. More information is available at: @@ -606,6 +607,7 @@ config PAL4 config GEMINI bool Synergy-Gemini + depends on BROKEN help Select Gemini if configuring for a Synergy Microsystems' Gemini series Single Board Computer. More information is available at:
[PATCH] Support for AMCC Yosemite 440EP Eval Board
On Wed, Jul 27, 2005 at 06:58:21AM -0500, John Otken wrote: This patch adds support for the new AMCC Yosemite 440EP Eval Board. I tested it on the both Bamboo and Yosemite boards using the 2.6.12 kernel. This patch has three dependencies: 2005-04-07 Wade Farnsworth's PPC440EP SoC and Bamboo board support Why this old one? Updated patch was posted yesterday. 2005-07-20 My fix invalid function name usb_hcd_put in ohci-ppc-soc.c 2005-07-27 My Support 440EP On-Chip OHCI USB Host Controller http://patchwork.ozlabs.org/linuxppc/patch?id=1311 http://patchwork.ozlabs.org/linuxppc/patch?id=1803 http://patchwork.ozlabs.org/linuxppc/patch?id=1855 Comments are welcome. Well, why don't you make separate board port instead if hacking Bamboo one? IMHO, direction you are going is creating a lot of mess. If there is some common parts between Bamboo and Yosemite, the right way is to factor out this stuff from Bamboo port. Also, your patch is mangled - some lines are wrapped. -- Eugene
[PATCH 00/14] ppc32: Remove board ports that are no longer maintained
-BEGIN PGP SIGNED MESSAGE- Kumar, I thought that we had some volunteers to take care of some of those. I know that I still care about ep405, and I'm willing to maintain the code. - -- ] Michael Richardson Xelerance Corporation, Ottawa, ON | firewalls [ ] mcr @ xelerance.com Now doing IPsec training, see |net architect[ ] http://www.sandelman.ca/mcr/www.xelerance.com/training/ |device driver[ ]I'm a dad: http://www.sandelman.ca/lrmr/ [ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys iQCVAwUBQueyoYqHRg3pndX9AQEUPwQA5mlU9YM5UUnJtJiuh074MOblFu0+Eu2e dyE8e8VPkfPdHuc4UZxZUIwoGQm37PXA+Wtu8W/FYeXBkvW9or7mvGgN5kYYp7iI 2Gu2Kk+qhmhO5sK107Sf7pS/FWkXR3hQ80oOcZQ3ow4GaA6zcpIj7IDvl2qoFgkX xKLAGhjY+6c= =GR1d -END PGP SIGNATURE-
[PATCH] Support for AMCC Yosemite 440EP Eval Board
On Wed, Jul 27, 2005 at 08:59:51AM -0700, Eugene Surovegin wrote: On Wed, Jul 27, 2005 at 06:58:21AM -0500, John Otken wrote: This patch adds support for the new AMCC Yosemite 440EP Eval Board. I tested it on the both Bamboo and Yosemite boards using the 2.6.12 kernel. This patch has three dependencies: 2005-04-07 Wade Farnsworth's PPC440EP SoC and Bamboo board support Why this old one? Updated patch was posted yesterday. It should be noted that yesterday's patch is what I'm splitting to send upstream. -Matt
[PATCH 00/14] ppc32: Remove board ports that are no longer maintained
On Wed, Jul 27, 2005 at 09:27:41AM -0700, Eugene Surovegin wrote: On Wed, Jul 27, 2005 at 12:13:23PM -0400, Michael Richardson wrote: Kumar, I thought that we had some volunteers to take care of some of those. I know that I still care about ep405, and I'm willing to maintain the code. Well, it has been almost two months since Kumar asked about maintenance for this board. Nothing happened since then. Why is it not fixed yet? Please, send a patch which fixes it. This is the _best_ way to keep this board in the tree, not some empty maintenance _promises_. When we recover our history from the linuxppc-2.4/2.5 trees we can show exactly how long it's been since anybody touched ep405. Quick googling shows that it's been almost 2 years since the last mention of ep405 (exluding removal discussions) on linuxppc-embedded. Last ep405-related commits are more than 2 years ago. -Matt
CPM MCC sample driver?
A couple of years ago, Adam Kaczynski announced a sample MCC HDLC and Transparent mode driver. Both the URL Adam posted and Adam's email address are no longer valid. Is this code or any other Linux MCC driver available anywhere? I need to develop an MCC driver for a project I am working on and it would be very helpful to have an example to start with. Thanks, --Brad Bosch
[PATCH][2/3] ppc32: add bamboo platform
Add Bamboo platform support. This is an AMCC 440EP-based reference platform. Signed-off-by: Wade Farnsworth wfarnsworth at mvista.com Signed-off-by: Matt Porter mporter at kernel.crashing.org diff --git a/arch/ppc/platforms/4xx/bamboo.c b/arch/ppc/platforms/4xx/bamboo.c new file mode 100644 --- /dev/null +++ b/arch/ppc/platforms/4xx/bamboo.c @@ -0,0 +1,427 @@ +/* + * arch/ppc/platforms/4xx/bamboo.c + * + * Bamboo board specific routines + * + * Wade Farnsworth wfarnsworth at mvista.com + * Copyright 2004 MontaVista Software Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#include linux/config.h +#include linux/stddef.h +#include linux/kernel.h +#include linux/init.h +#include linux/errno.h +#include linux/reboot.h +#include linux/pci.h +#include linux/kdev_t.h +#include linux/types.h +#include linux/major.h +#include linux/blkdev.h +#include linux/console.h +#include linux/delay.h +#include linux/ide.h +#include linux/initrd.h +#include linux/irq.h +#include linux/seq_file.h +#include linux/root_dev.h +#include linux/tty.h +#include linux/serial.h +#include linux/serial_core.h +#include linux/ethtool.h + +#include asm/system.h +#include asm/pgtable.h +#include asm/page.h +#include asm/dma.h +#include asm/io.h +#include asm/machdep.h +#include asm/ocp.h +#include asm/pci-bridge.h +#include asm/time.h +#include asm/todc.h +#include asm/bootinfo.h +#include asm/ppc4xx_pic.h +#include asm/ppcboot.h + +#include syslib/gen550.h +#include syslib/ibm440gx_common.h + +/* + * This is a horrible kludge, we eventually need to abstract this + * generic PHY stuff, so the standard phy mode defines can be + * easily used from arch code. + */ +#include ../../../../drivers/net/ibm_emac/ibm_emac_phy.h + +bd_t __res; + +static struct ibm44x_clocks clocks __initdata; + +/* + * Bamboo external IRQ triggering/polarity settings + */ +unsigned char ppc4xx_uic_ext_irq_cfg[] __initdata = { + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ0: Ethernet transceiver */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* IRQ1: Expansion connector */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ2: PCI slot 0 */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ3: PCI slot 1 */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ4: PCI slot 2 */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ5: PCI slot 3 */ + (IRQ_SENSE_EDGE | IRQ_POLARITY_NEGATIVE), /* IRQ6: SMI pushbutton */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ7: EXT */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ8: EXT */ + (IRQ_SENSE_LEVEL | IRQ_POLARITY_NEGATIVE), /* IRQ9: EXT */ +}; + +static void __init +bamboo_calibrate_decr(void) +{ + unsigned int freq; + + if (mfspr(SPRN_CCR1) CCR1_TCS) + freq = BAMBOO_TMRCLK; + else + freq = clocks.cpu; + + ibm44x_calibrate_decr(freq); + +} + +static int +bamboo_show_cpuinfo(struct seq_file *m) +{ + seq_printf(m, vendor\t\t: IBM\n); + seq_printf(m, machine\t\t: PPC440EP EVB (Bamboo)\n); + + return 0; +} + +static inline int +bamboo_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin) +{ + static char pci_irq_table[][4] = + /* +* PCI IDSEL/INTPIN-INTLINE +* A B C D +*/ + { + { 28, 28, 28, 28 }, /* IDSEL 1 - PCI Slot 0 */ + { 27, 27, 27, 27 }, /* IDSEL 2 - PCI Slot 1 */ + { 26, 26, 26, 26 }, /* IDSEL 3 - PCI Slot 2 */ + { 25, 25, 25, 25 }, /* IDSEL 4 - PCI Slot 3 */ + }; + + const long min_idsel = 1, max_idsel = 4, irqs_per_slot = 4; + return PCI_IRQ_TABLE_LOOKUP; +} + +static void __init bamboo_set_emacdata(void) +{ + unsigned char * selection1_base; + struct ocp_def *def; + struct ocp_func_emac_data *emacdata; + u8 selection1_val; + int mode; + + selection1_base = ioremap64(BAMBOO_FPGA_SELECTION1_REG_ADDR, 16); + selection1_val = readb(selection1_base); + iounmap((void *) selection1_base); + if (BAMBOO_SEL_MII(selection1_val)) + mode = PHY_MODE_MII; + else if (BAMBOO_SEL_RMII(selection1_val)) + mode = PHY_MODE_RMII; + else + mode = PHY_MODE_SMII; + + /* Set mac_addr and phy mode for each EMAC */ + + def = ocp_get_one_device(OCP_VENDOR_IBM, OCP_FUNC_EMAC, 0); + emacdata = def-additions; + memcpy(emacdata-mac_addr, __res.bi_enetaddr, 6); + emacdata-phy_mode = mode; + + def = ocp_get_one_device(OCP_VENDOR_IBM, OCP_FUNC_EMAC, 1); + emacdata = def-additions; + memcpy(emacdata-mac_addr, __res.bi_enet1addr, 6); +
[PATCH][3/3] ppc32: add bamboo defconfig
Add Bamboo platform defconfig Signed-off-by: Wade Farnsworth wfarnsworth at mvista.com Signed-off-by: Matt Porter mporter at kernel.crashing.org diff --git a/arch/ppc/configs/bamboo_defconfig b/arch/ppc/configs/bamboo_defconfig new file mode 100644 --- /dev/null +++ b/arch/ppc/configs/bamboo_defconfig @@ -0,0 +1,943 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.12 +# Tue Jun 28 15:24:25 2005 +# +CONFIG_MMU=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_HAVE_DEC_LOCK=y +CONFIG_PPC=y +CONFIG_PPC32=y +CONFIG_GENERIC_NVRAM=y +CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y +CONFIG_CLEAN_COMPILE=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 + +# +# General setup +# +CONFIG_LOCALVERSION= +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_BSD_PROCESS_ACCT is not set +CONFIG_SYSCTL=y +# CONFIG_AUDIT is not set +# CONFIG_HOTPLUG is not set +CONFIG_KOBJECT_UEVENT=y +# CONFIG_IKCONFIG is not set +CONFIG_EMBEDDED=y +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SHMEM=y +CONFIG_CC_ALIGN_FUNCTIONS=0 +CONFIG_CC_ALIGN_LABELS=0 +CONFIG_CC_ALIGN_LOOPS=0 +CONFIG_CC_ALIGN_JUMPS=0 +# CONFIG_TINY_SHMEM is not set +CONFIG_BASE_SMALL=0 + +# +# Loadable module support +# +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_OBSOLETE_MODPARM=y +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_KMOD=y + +# +# Processor +# +# CONFIG_6xx is not set +# CONFIG_40x is not set +CONFIG_44x=y +# CONFIG_POWER3 is not set +# CONFIG_POWER4 is not set +# CONFIG_8xx is not set +# CONFIG_E200 is not set +# CONFIG_E500 is not set +CONFIG_PPC_FPU=y +CONFIG_BOOKE=y +CONFIG_PTE_64BIT=y +CONFIG_PHYS_64BIT=y +# CONFIG_MATH_EMULATION is not set +# CONFIG_KEXEC is not set +# CONFIG_CPU_FREQ is not set +CONFIG_4xx=y + +# +# IBM 4xx options +# +CONFIG_BAMBOO=y +# CONFIG_EBONY is not set +# CONFIG_LUAN is not set +# CONFIG_OCOTEA is not set +CONFIG_440EP=y +CONFIG_440=y +CONFIG_IBM440EP_ERR42=y +CONFIG_IBM_OCP=y +# CONFIG_PPC4xx_DMA is not set +CONFIG_PPC_GEN550=y +# CONFIG_PM is not set +CONFIG_NOT_COHERENT_CACHE=y + +# +# Platform options +# +# CONFIG_PC_KEYBOARD is not set +# CONFIG_SMP is not set +# CONFIG_PREEMPT is not set +# CONFIG_HIGHMEM is not set +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +# CONFIG_DISCONTIGMEM_MANUAL is not set +# CONFIG_SPARSEMEM_MANUAL is not set +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_BINFMT_ELF=y +# CONFIG_BINFMT_MISC is not set +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE=ip=on +CONFIG_SECCOMP=y +CONFIG_ISA_DMA_API=y + +# +# Bus options +# +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +# CONFIG_PCI_LEGACY_PROC is not set +# CONFIG_PCI_NAMES is not set +# CONFIG_PCI_DEBUG is not set + +# +# PCCARD (PCMCIA/CardBus) support +# +# CONFIG_PCCARD is not set + +# +# Advanced setup +# +# CONFIG_ADVANCED_OPTIONS is not set + +# +# Default settings for advanced configuration options are used +# +CONFIG_HIGHMEM_START=0xfe00 +CONFIG_LOWMEM_SIZE=0x3000 +CONFIG_KERNEL_START=0xc000 +CONFIG_TASK_SIZE=0x8000 +CONFIG_CONSISTENT_START=0xff10 +CONFIG_CONSISTENT_SIZE=0x0020 +CONFIG_BOOT_LOAD=0x0100 + +# +# Device Drivers +# + +# +# Generic Driver Options +# +# CONFIG_STANDALONE is not set +CONFIG_PREVENT_FIRMWARE_BUILD=y +# CONFIG_FW_LOADER is not set +# CONFIG_DEBUG_DRIVER is not set + +# +# Memory Technology Devices (MTD) +# +# CONFIG_MTD is not set + +# +# Parallel port support +# +# CONFIG_PARPORT is not set + +# +# Plug and Play support +# + +# +# Block devices +# +# CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +# CONFIG_BLK_DEV_COW_COMMON is not set +# CONFIG_BLK_DEV_LOOP is not set +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +# CONFIG_BLK_DEV_RAM is not set +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_INITRAMFS_SOURCE= +# CONFIG_LBD is not set +# CONFIG_CDROM_PKTCDVD is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_AS=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_ATA_OVER_ETH is not set + +# +# ATA/ATAPI/MFM/RLL support +# +CONFIG_IDE=y +CONFIG_BLK_DEV_IDE=y + +# +# Please see Documentation/ide.txt for help/info on IDE drives +# +# CONFIG_BLK_DEV_IDE_SATA is not set +CONFIG_BLK_DEV_IDEDISK=y +# CONFIG_IDEDISK_MULTI_MODE is not set +# CONFIG_BLK_DEV_IDECD is not set +# CONFIG_BLK_DEV_IDETAPE is not set +# CONFIG_BLK_DEV_IDEFLOPPY is not set +# CONFIG_BLK_DEV_IDESCSI is not set +# CONFIG_IDE_TASK_IOCTL is not set + +# +# IDE chipset support/bugfixes +#
[PATCH][1/3] ppc32: add 440ep support
Add PPC440EP core support. PPC440EP is a PPC440-based SoC with a classic PPC FPU and another set of peripherals. Signed-off-by: Wade Farnsworth wfarnsworth at mvista.com Signed-off-by: Matt Porter mporter at kernel.crashing.org diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile +++ b/arch/ppc/boot/simple/Makefile @@ -61,6 +61,12 @@ zimageinitrd-$(CONFIG_IBM_OPENBIOS) := z end-$(CONFIG_EMBEDDEDBOOT):= embedded misc-$(CONFIG_EMBEDDEDBOOT):= misc-embedded.o + zimage-$(CONFIG_BAMBOO) := zImage-TREE +zimageinitrd-$(CONFIG_BAMBOO) := zImage.initrd-TREE + end-$(CONFIG_BAMBOO) := bamboo + entrypoint-$(CONFIG_BAMBOO) := 0x0100 + extra.o-$(CONFIG_BAMBOO) := pibs.o + zimage-$(CONFIG_EBONY) := zImage-TREE zimageinitrd-$(CONFIG_EBONY) := zImage.initrd-TREE end-$(CONFIG_EBONY) := ebony diff --git a/arch/ppc/boot/simple/pibs.c b/arch/ppc/boot/simple/pibs.c --- a/arch/ppc/boot/simple/pibs.c +++ b/arch/ppc/boot/simple/pibs.c @@ -91,9 +91,11 @@ load_kernel(unsigned long load_addr, int mac64 = simple_strtoull((char *)PIBS_MAC_BASE, 0, 16); memcpy(hold_residual-bi_enetaddr, (char *)mac64+2, 6); -#ifdef CONFIG_440GX +#if defined(CONFIG_440GX) || defined(CONFIG_440EP) mac64 = simple_strtoull((char *)(PIBS_MAC_BASE+PIBS_MAC_OFFSET), 0, 16); memcpy(hold_residual-bi_enet1addr, (char *)mac64+2, 6); +#endif +#ifdef CONFIG_440GX mac64 = simple_strtoull((char *)(PIBS_MAC_BASE+PIBS_MAC_OFFSET*2), 0, 16); memcpy(hold_residual-bi_enet2addr, (char *)mac64+2, 6); mac64 = simple_strtoull((char *)(PIBS_MAC_BASE+PIBS_MAC_OFFSET*3), 0, 16); diff --git a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c --- a/arch/ppc/kernel/cputable.c +++ b/arch/ppc/kernel/cputable.c @@ -852,6 +852,26 @@ struct cpu_speccpu_specs[] = { #endif /* CONFIG_40x */ #ifdef CONFIG_44x + { + .pvr_mask = 0xffff, + .pvr_value = 0x4850, + .cpu_name = 440EP Rev. A, + .cpu_features = CPU_FTR_SPLIT_ID_CACHE | + CPU_FTR_USE_TB, + .cpu_user_features = COMMON_PPC, /* 440EP has an FPU */ + .icache_bsize = 32, + .dcache_bsize = 32, + }, + { + .pvr_mask = 0xffff, + .pvr_value = 0x48d3, + .cpu_name = 440EP Rev. B, + .cpu_features = CPU_FTR_SPLIT_ID_CACHE | + CPU_FTR_USE_TB, + .cpu_user_features = COMMON_PPC, /* 440EP has an FPU */ + .icache_bsize = 32, + .dcache_bsize = 32, + }, { /* 440GP Rev. B */ .pvr_mask = 0xffff, .pvr_value = 0x4440, diff --git a/arch/ppc/kernel/entry.S b/arch/ppc/kernel/entry.S --- a/arch/ppc/kernel/entry.S +++ b/arch/ppc/kernel/entry.S @@ -215,6 +215,7 @@ syscall_dotrace_cont: lwzxr10,r10,r0 /* Fetch system call handler [ptr] */ mtlrr10 addir9,r1,STACK_FRAME_OVERHEAD + PPC440EP_ERR42 blrl/* Call handler */ .globl ret_from_syscall ret_from_syscall: diff --git a/arch/ppc/kernel/head_44x.S b/arch/ppc/kernel/head_44x.S --- a/arch/ppc/kernel/head_44x.S +++ b/arch/ppc/kernel/head_44x.S @@ -190,7 +190,9 @@ skpinv: addir4,r4,1 /* Increment */ /* xlat fields */ lis r4,UART0_PHYS_IO_BASE at h /* RPN depends on SoC */ +#ifndef CONFIG_440EP ori r4,r4,0x0001/* ERPN is 1 for second 4GB page */ +#endif /* attrib fields */ li r5,0 @@ -228,6 +230,16 @@ skpinv:addir4,r4,1 /* Increment */ lis r4,interrupt_base at h /* IVPR only uses the high 16-bits */ mtspr SPRN_IVPR,r4 +#ifdef CONFIG_440EP + /* Clear DAPUIB flag in CCR0 (enable APU between CPU and FPU) */ + mfspr r2,SPRN_CCR0 + lis r3,0xffef + ori r3,r3,0x + and r2,r2,r3 + mtspr SPRN_CCR0,r2 + isync +#endif + /* * This is where the main kernel code starts. */ diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S --- a/arch/ppc/kernel/misc.S +++ b/arch/ppc/kernel/misc.S @@ -1145,6 +1145,7 @@ _GLOBAL(kernel_thread) stwur0,-16(r1) mtlrr30 /* fn addr in lr */ mr r3,r31 /* load arg and call fn */ + PPC440EP_ERR42 blrl li r0,__NR_exit/* exit if function returns */ li r3,0 diff --git
[RFC PATCH 1/4] PHY Abstraction Layer III (now with more splitiness)
On Jul 25, 2005, at 16:06, Francois Romieu wrote: [snip] +config DAVICOM_PHY +bool Drivers for Davicom PHYs +depends on PHYLIB +---help--- + Currently supports dm9161e and dm9131 [snip] Yeah, I resisted splitting the patch up for this reason. Suffice it to say, you have to apply patch #2 to not break everything. Splitting the PHY driver code from the PHY layer is just for convenience +int mdiobus_register(struct mii_bus *bus) +{ +int i; +int err = 0; + +spin_lock_init(bus-mdio_lock); + +if (NULL == bus || NULL == bus-name || +NULL == bus-read || +NULL == bus-write) Be spartan: if (!bus || !bus-name || !bus-read || !bus-write) I think we have to agree to disagree here. I could be convinced, but I'm partial to using NULL explicitly. + +/* Convenience function to print out the current phy status + */ +void phy_print_status(struct phy_device *phydev) +{ +pr_info(%s: Link is %s, phydev-dev.bus_id, +phydev-link ? Up : Down); +if (phydev-link) +printk( - %d/%s, phydev-speed, Missing KERN_SOMETHING in the printk. Actually, KERN_SOMETHING would muck up the line, and make it look like this: phy0:0: Link is Up3 - 1000/Full That's why it's like that. +/* A mapping of all SUPPORTED settings to speed/duplex */ +static struct phy_setting settings[] = { +{ .speed = 1, .duplex = DUPLEX_FULL, +.setting = SUPPORTED_1baseT_Full, +}, +{ .speed = SPEED_1000, .duplex = DUPLEX_FULL, +.setting = SUPPORTED_1000baseT_Full, +}, +{ .speed = SPEED_1000, .duplex = DUPLEX_HALF, +.setting = SUPPORTED_1000baseT_Half, +}, +{ .speed = SPEED_100, .duplex = DUPLEX_FULL, +.setting = SUPPORTED_100baseT_Full, +}, +{ .speed = SPEED_100, .duplex = DUPLEX_HALF, +.setting = SUPPORTED_100baseT_Half, +}, +{ .speed = SPEED_10, .duplex = DUPLEX_FULL, +.setting = SUPPORTED_10baseT_Full, +}, +{ .speed = SPEED_10, .duplex = DUPLEX_HALF, +.setting = SUPPORTED_10baseT_Half, +}, +}; Would you veto some macro to initialise this array ? Depends on the macro. :) I'm not keen on writing it, but I would support one that: a) works b) Isn't uglier than the current solution. :) +static inline int phy_find_setting(int speed, int duplex) +{ +int idx = 0; + +while (idx MAX_NUM_SETTINGS +(settings[idx].speed != speed || +settings[idx].duplex != duplex)) +idx++; for loop in disguise ? Well I think it falls into the gray area. It's searching until it finds something, which implies while to me. Really it's more of a while...until. Of course, a for loop could be used, but I often worry about using a for loop's iterator variable outside of the loop. I will change to ARRAY_SIZE, though. + +return idx MAX_NUM_SETTINGS ? idx : MAX_NUM_SETTINGS - 1; Ok (dunno if idx % MAX_NUM_SETTINGS is more idiomatic or not). That would be completely different. The current code makes sure that, if no valid match was found, the last value in the array is returned. Using % would result in the first value being returned. I was defaulting to the lowest setting. +int phy_start_interrupts(struct phy_device *phydev) +{ +int err = 0; + +INIT_WORK(phydev-phy_queue, phy_change, phydev); + +if (request_irq(phydev-irq, phy_interrupt, +SA_SHIRQ, +phy_interrupt, +phydev) 0) { Please, don't do that :o( err = request_irq(phydev-irq, phy_interrupt, SA_SHIRQ, phy_interrupt, phydev); if (err 0) ... I did a cursory search, and didn't find any other drivers which use this method. Which is the method preferred in Linux? +printk(KERN_ERR %s: Can't get IRQ %d (PHY)\n, +phydev-bus-name, +phydev-irq); +phydev-irq = PHY_POLL; +return 0; The description of the function says Returns 0 on success. Failing to request the IRQ does not result in failure of the function. It falls back to polling, instead. However, it can fail if phy_enable_interrupts() fails, which would happen if a hardware issue occurred. +/* Otherwise, we allocate the device, and initialize the + * default values */ +dev = kmalloc(sizeof(*dev), GFP_KERNEL); + +if (NULL == dev) { +errno = -ENOMEM; +return NULL; +} + +memset(dev, 0, sizeof(*dev)); The kernel provides kcalloc. I went looking for it, and found it in fs/cifs/misc.c. I'm hesitant to link to a function defined in the filesystem code just to save 1 line of code I agree with all the other suggestions, and will implement them.
MPC885 - USB HCI drivers.
Guys, Finally, was the patch submitted to the list? I have searched deeply both ozlabs and gmane, but I couldn't find it ... I have been disconnected from the list for several weeks (wedding holidays :-) ) so I am a bit unplugged with all this stuff. By now, I would apprece a lot this usb host driver for 82xx. Thanks, Alex BASTOS -Original Message- From: Pantelis Antoniou [SMTP:panto at intracom.gr] Sent: Tuesday, May 17, 2005 11:45 AM To: Bryan O'Donoghue Cc: linuxppc-embedded at ozlabs.org Subject: Re: MPC885 - USB HCI drivers. Bryan O'Donoghue wrote: Pantelis Antoniou wrote: Well I have USB host drivers for both 8xx 82xx working. Speaking of which... would it not be a good idea, to get these comitted to the 2.6 tree... at some stage ... at least to stop people periodically posting to this list... saying Dear all have spent 2 months, writing code for m8xx_hci drivers, when it's a needless replication of effort ? Well, they are too hideous for human eyes :) However I use them connected to a specific peripheral so I don't know how well they fare when used as a PC style USB host controller. Also, one easy way to find out, how well or badly said code performs, in hetrogenous environments, is to... suck it and see. As I was attempting to intimate above, I'm sure there'd be a legion of eager people to debug, modify and recode such drivers, if there lived in an obvious place... in the 2.6 tree. Just my EUR0.02. Also they're 2.4 only :) I'll try to clean them up and post them sometime this week. But I don't have time left to hack them for 2.6. I'll need vict^H^H^Holunteers to do it... Regards Pantelis -- Best, Bryan ___ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
[RFC PATCH 1/4] PHY Abstraction Layer III (now with more splitiness)
On Jul 25, 2005, at 16:06, Francois Romieu wrote: +int mdiobus_register(struct mii_bus *bus) +{ +int i; +int err = 0; + +spin_lock_init(bus-mdio_lock); + +if (NULL == bus || NULL == bus-name || +NULL == bus-read || +NULL == bus-write) Be spartan: if (!bus || !bus-name || !bus-read || !bus-write) I think we have to agree to disagree here. I could be convinced, but I'm partial to using NULL explicitly. But there are 2 issues here (at least). One is to use NULL or not. The other is using (constant == var) or (var == constant). It's not described in CodingStlye afaik, but most recent email on the subject strongly prefers (var == constant) [in my unscientific survey -- of bits in my head]. So using the suggested style will fix both of these. :) +/* Otherwise, we allocate the device, and initialize the + * default values */ +dev = kmalloc(sizeof(*dev), GFP_KERNEL); + +if (NULL == dev) { +errno = -ENOMEM; +return NULL; +} + +memset(dev, 0, sizeof(*dev)); The kernel provides kcalloc. I went looking for it, and found it in fs/cifs/misc.c. I'm hesitant to link to a function defined in the filesystem code just to save 1 line of code It's more global than that. ~Randy
[RFC PATCH 1/4] PHY Abstraction Layer III (now with more splitiness)
On Jul 27, 2005, at 13:08, Randy Dunlap wrote: On Jul 25, 2005, at 16:06, Francois Romieu wrote: +int mdiobus_register(struct mii_bus *bus) +{ +int i; +int err = 0; + +spin_lock_init(bus-mdio_lock); + +if (NULL == bus || NULL == bus-name || +NULL == bus-read || +NULL == bus-write) Be spartan: if (!bus || !bus-name || !bus-read || !bus-write) I think we have to agree to disagree here. I could be convinced, but I'm partial to using NULL explicitly. But there are 2 issues here (at least). One is to use NULL or not. The other is using (constant == var) or (var == constant). It's not described in CodingStlye afaik, but most recent email on the subject strongly prefers (var == constant) [in my unscientific survey -- of bits in my head]. So using the suggested style will fix both of these. :) Ok, here I won't agree to disagree with you. !foo as a check for NULL is a reasonable idea, but not my style. If that's the preferred style for the kernel, I will do that. But (var == constant) is a style that asks for errors. By putting the constant first in these checks, you never run the risk of leaving a bug like this: if (dev = NULL) ... This kind of error is quite frustrating to detect, and the eye will often miss it when scanning for errors. If you follow constant == var, though, then the bug looks like this: if (NULL = dev) which is instantly caught by the compiler. Just my 32 cents +/* Otherwise, we allocate the device, and initialize the + * default values */ +dev = kmalloc(sizeof(*dev), GFP_KERNEL); + +if (NULL == dev) { +errno = -ENOMEM; +return NULL; +} + +memset(dev, 0, sizeof(*dev)); The kernel provides kcalloc. I went looking for it, and found it in fs/cifs/misc.c. I'm hesitant to link to a function defined in the filesystem code just to save 1 line of code It's more global than that. Should we move the function, then, to include/linux/slab.h? Or somewhere else?
[RFC PATCH 1/4] PHY Abstraction Layer III (now with more splitiness)
Andy Fleming afleming at freescale.com : [kcalloc] Should we move the function, then, to include/linux/slab.h? Or somewhere else? It is already in mm/slab.c [rc = request_irq(...)] It appears in drivers/net/*c. Jeff Garzik used to suggest something similar but it does not matter as long as you do not need to return an error status (KERN_ERR is probably a bit too strong then). [initialization of struct phy_setting settings] #define NITZ(d,t,s) { .speed = s, .duplex = d, .setting = t } static struct phy_setting settings[] = { NITZ(DUPLEX_FULL, SUPPORTED_1baseT_Full, 1), NITZ(DUPLEX_FULL, SUPPORTED_1000baseT_Full, SPEED_1000), NITZ(DUPLEX_HALF, SUPPORTED_1000baseT_Half, SPEED_1000), NITZ(DUPLEX_FULL, SUPPORTED_100baseT_Full, SPEED_100), NITZ(DUPLEX_HALF, SUPPORTED_100baseT_Half, SPEED_100), NITZ(DUPLEX_FULL, SUPPORTED_10baseT_Full,SPEED_10), NITZ(DUPLEX_HALF, SUPPORTED_10baseT_Half,SPEED_10), }; #undef NITZ -- Ueimor
[PATCH 00/14] ppc32: Remove board ports that are no longer maintained
Kumar Gala galak at freescale.com wrote: The following board ports are no longer maintained or have become obsolete: adir ash beech cedar ep405 k2 mcpn765 menf1 oak pcore rainier redwood sm850 spd823ts We are there for removing support for them. I'll merge all these into -mm for now, but will hold off sending any of them upstream pending confirmation of which patches we really want to proceed with.
[PATCH][1/3] ppc32: add 440ep support
Matt Porter mporter at kernel.crashing.org wrote: +static u64 dma_mask = 0xULL; I'm sure you're totally uninterested in this, but the above will probably generate warnings on (say) ppc64, where u64 is implemented as unsigned long. I usually chuck a simple `-1' in there and the compiler always gets it right, regardless of signedness and size and architecture.
[RFC PATCH 1/4] PHY Abstraction Layer III (now with more splitiness)
On Jul 27, 2005, at 13:08, Randy Dunlap wrote: On Jul 25, 2005, at 16:06, Francois Romieu wrote: +int mdiobus_register(struct mii_bus *bus) +{ +int i; +int err = 0; + +spin_lock_init(bus-mdio_lock); + +if (NULL == bus || NULL == bus-name || +NULL == bus-read || +NULL == bus-write) Be spartan: if (!bus || !bus-name || !bus-read || !bus-write) I think we have to agree to disagree here. I could be convinced, but I'm partial to using NULL explicitly. But there are 2 issues here (at least). One is to use NULL or not. The other is using (constant == var) or (var == constant). It's not described in CodingStlye afaik, but most recent email on the subject strongly prefers (var == constant) [in my unscientific survey -- of bits in my head]. So using the suggested style will fix both of these. :) Ok, here I won't agree to disagree with you. !foo as a check for NULL is a reasonable idea, but not my style. If that's the preferred style for the kernel, I will do that. But (var == constant) is a style that asks for errors. By putting the constant first in these checks, you never run the risk of leaving a bug like this: if (dev = NULL) ... This kind of error is quite frustrating to detect, and the eye will often miss it when scanning for errors. If you follow constant == var, though, then the bug looks like this: if (NULL = dev) which is instantly caught by the compiler. Just my 32 cents Yes, we know about that argument. :) +/* Otherwise, we allocate the device, and initialize the + * default values */ +dev = kmalloc(sizeof(*dev), GFP_KERNEL); + +if (NULL == dev) { +errno = -ENOMEM; +return NULL; +} + +memset(dev, 0, sizeof(*dev)); The kernel provides kcalloc. I went looking for it, and found it in fs/cifs/misc.c. I'm hesitant to link to a function defined in the filesystem code just to save 1 line of code It's more global than that. Should we move the function, then, to include/linux/slab.h? Or somewhere else? It's there, like Francois said. Get use a current tree. --- ~Randy
platform/board removal update
8xx_io/fec.c is still using v2.4's workqueue infrastructure but other than that its working fine. The fix will be pushed upstream ASAP. BTW, we should schedule 8xx_io/fec.c for removal, but before that we ought to test all supported PHY's on the new driver. Aris was talking to me about this on OLS. Aris, what are the PHY's not supported by Panto's driver again? We should build a list of those and ask around for testers. I think that with Andy Fleming's PHY abstraction layer, the best thing to be done is change fec_8xx to use this abstraction layer and then look for testers. what you think? -- Aristeu
[PATCH][1/3] ppc32: add 440ep support
Andrew Morton writes: Matt Porter mporter at kernel.crashing.org wrote: +static u64 dma_mask = 0xULL; I'm sure you're totally uninterested in this, but the above will probably generate warnings on (say) ppc64, where u64 is implemented as unsigned long. I usually chuck a simple `-1' in there and the compiler always gets it right, regardless of signedness and size and architecture. Umm, I think we actually want 2^32-1 not -1, don't we? In which case I think Matt's code is what we have to have. I tried a little test compile with gcc 4.0 with -m64 -Wall and it didn't generate a warning with the 0xULL constant. Paul.
[PATCH][1/3] ppc32: add 440ep support
Paul Mackerras paulus at samba.org wrote: Andrew Morton writes: Matt Porter mporter at kernel.crashing.org wrote: +static u64 dma_mask = 0xULL; I'm sure you're totally uninterested in this, but the above will probably generate warnings on (say) ppc64, where u64 is implemented as unsigned long. I usually chuck a simple `-1' in there and the compiler always gets it right, regardless of signedness and size and architecture. Umm, I think we actually want 2^32-1 not -1, don't we? Doh. Cant coun't.
[PATCH 00/14] ppc32: Remove board ports that are no longer maintained
On Jul 27, 2005, at 12:15 PM, Matt Porter wrote: On Wed, Jul 27, 2005 at 09:27:41AM -0700, Eugene Surovegin wrote: On Wed, Jul 27, 2005 at 12:13:23PM -0400, Michael Richardson wrote: Kumar, I thought that we had some volunteers to take care of some of those. I know that I still care about ep405, and I'm willing to maintain the code. Well, it has been almost two months since Kumar asked about maintenance for this board. Nothing happened since then. Why is it not fixed yet? Please, send a patch which fixes it. This is the _best_ way to keep this board in the tree, not some empty maintenance _promises_. When we recover our history from the linuxppc-2.4/2.5 trees we can show exactly how long it's been since anybody touched ep405. Quick googling shows that it's been almost 2 years since the last mention of ep405 (exluding removal discussions) on linuxppc-embedded. Last ep405-related commits are more than 2 years ago. So we are ok with it being removed. This seems to be the only board port that I removed that has caused any noise. - kumar
How to load a linux kernel under vxworks bootloader (PPC860 board)
--- FCG WANG Baohua Baohua.WANG at alcatel-sbell.com.cn wrote: Dear All: I want to boot a linux 2.4.25 kernel under vxworks bootloader. When I using flat mode(0x20 -- 0x1) kernel uncompressed ELF format ( vmlinux ), and download it using TFTP of vxworks, it print the starting at 0x1000 and freeze. No input or output on serial port. The version of vxworks is 5.3.1. can you give me some detail advice or give me a tool to slove it? thanks ! Do what I did: Replace the vxWorks rom with you u-boot and you can boot Linux or vxWorks with the same bootloader. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com