aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/embedded6xx
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14[POWERPC] Remove unused CONFIG_WANT_DEVICE_TREEGrant Likely1-4/+0
CONFIG_DEVICE_TREE was the only user of CONFIG_WANT_DEVICE_TREE but it was removed in commit id 25431333813686654907ab987fb5de10c10a16db (bootwrapper: Build multiple cuImages). This removes CONFIG_WANT_DEVICE_TREE from Kconfig and the defconfigs. Signed-off-by: Grant Likely <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2008-02-05[POWERPC] Fix storcenter DTS typos, feedback, IRQs.Jon Loeliger1-20/+5
Cleaned up IRQ layout and removed unsused ISU allocations. Fixed RTC address typo from /dts-v1/ conversion. Incorporated list suggestions to use an "iomega," vendor prefix, and to use a node reference rather than a hard path. Signed-off-by: Jon Loeliger <jdl@@jdl.com> Signed-off-by: Kumar Gala <[email protected]>
2008-01-28[POWERPC] 82xx and embedded6xx: Use machine_*_initcall() hooks in platform codeGrant Likely1-4/+1
Signed-off-by: Grant Likely <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2008-01-23[POWERPC] Add initial iomega StorCenter board port.Jon Loeliger3-6/+210
Use cuImage bootwrapper until U-Boot port is completed. Derived heavily from Linkstation port. Signed-off-by: Jon Loeliger <[email protected]> Acked-by: Andy Wilcox <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2008-01-23[POWERPC] Add _nmask_and_or_msr() declartion to asm-powerpc/system.hJon Loeliger1-2/+0
Prevents miscellaneous users from declaring it locally. Signed-off-by: Jon Loeliger <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2007-12-20[POWERPC] holly.c: Remove unnecessary include of linux/ide.hOlof Johansson1-1/+0
There's nothing in holly.c that needs linux/ide.h, just remove it from the list of includes. Signed-off-by: Olof Johansson <[email protected]> Acked-by: Josh Boyer <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-12-06[POWERPC] Clean out asm/of_{platform, device}.hJon Loeliger1-1/+1
Convert #include of asm/of_{platform, device}.h into linux/of_{platform,device}.h for a few scattered platforms. Signed-off-by: Jon Loeliger <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-11-19[POWERPC] prpmc2800: Enable L2 cacheMark A. Greer1-0/+1
Turn on the L2 cache on the prpmc2800 platform. Signed-off-by: Mark A. Greer <[email protected] Signed-off-by: Paul Mackerras <[email protected]>
2007-10-08[POWERPC] Use for_each_ matching routinues for pci PHBsKumar Gala2-2/+2
On the Freescale embedded (83xx, 85xx, 86xx) and a few of the discrete bridges (mpc10x, tsi108) use the new for_each_compatible_node() or for_each_node_by_type() to provide more exact matching when looking for PHBs in the device tree. With the previous code it was possible to match on pci bridges since we were only matching on device_type. Signed-off-by: Kumar Gala <[email protected]>
2007-10-04[POWERPC] bootwrapper: adds cuboot for MPC7448HPC2 platformRoy Zang1-0/+1
This patch adds cuboot support for MPC7448HPC2 platform. The cuImage can be used with legacy u-boot without FDT support. Signed-off-by: Roy Zang <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2007-10-03[POWERPC] Move embedded6xx into multiplatformArnd Bergmann1-4/+7
The various embedded 6xx systems can easily coexist in one kernel together with the other 6xx based systems, so there is no strict reason to keep them separate. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-09-22[POWERPC] Add Marvell mv64x60 udbg putc/getc functionsDale Farnsworth1-0/+1
Commit 69331af, "Fixes and cleanups for earlyprintk aka boot console", resulted in printk output prior to the initialization of the mpsc console driver not being printed. That commit causes the mpsc's CON_PRINTBUFFER flag to be cleared since udbg should have printed the previous output. I guess we can no longer ignore udbg. :) This patch provides udbg_putc() and udbg_getc() functions for the Marvell mv64x60 chips. These functions are enabled if an mv64x60 port is to be used as the console as determined from the device tree. Signed-off-by: Dale Farnsworth <[email protected]> Acked-by: Mark A. Greer <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-09-14[POWERPC] linkstation updatesGuennadi Liakhovetski2-1/+14
1. Fix RTC type - it is a rs5c372a, not rs5c372b 2. Configure both UART interrupts edge-triggered 3. Add a license header to ls_uart.c 4. Check for running on linkstation in a late_initcall() function. Needed for multiplatform builds, even though linkstation doesn't support them yet 5. Remove unneeded #include from linkstation.c Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2007-08-22[POWERPC] Copy over headers from arch/ppc to arch/powerpc that we needKumar Gala3-2/+184
To build arch/powerpc without including asm-ppc/ we need these files in asm-powerpc/ Moved some headers under arch/powerpc/platforms if they were only used by platform or driver files and fixed up the source file includes to match the new locations Signed-off-by: Kumar Gala <[email protected]>
2007-08-22[POWERPC] Remove old includes from arch/ppcKumar Gala3-23/+0
Remove includes of files that existed in arch/ppc that we dont need in arch/powerpc anymore. The following includes were removed: <asm/amigappc.h> <asm/bootinfo.h> <asm/ppcboot.h> <asm/ppc_sys.h> <asm/residual.h> <asm/m8260_pci.h> This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be needed and thus removed. Signed-off-by: Kumar Gala <[email protected]>
2007-08-17[POWERPC] Typo fixes interrrupt -> interruptGabriel C3-3/+3
This fixes some interrrupt -> interrupt typos. Signed-off-by: Gabriel Craciunescu <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-08-17[POWERPC] embedded6xx: Remove unnecessary loops_per_jiffy initialization codeJon Loeliger2-19/+0
Signed-off-by: Jon Loeliger <[email protected]> Acked-by: Mark A. Greer <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-07-23[POWERPC] Make endianess of cfg_addr for indirect pci ops runtimeKumar Gala1-1/+1
Make it so we do a runtime check to know if we need to write cfg_addr as big or little endian. This is needed if we want to allow 86xx support to co-exist in the same kernel as other 6xx PPCs. Signed-off-by: Kumar Gala <[email protected]>
2007-07-22[POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option.Robert P. J. Day1-1/+1
Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-06-29[POWERPC] Merge ppc32 and ppc64 pcibios_alloc_controller() prototypesKumar Gala1-2/+1
Make the ppc32 pcibios_alloc_controller take a device node to match the ppc64 prototypes and have it set arch_data. Signed-off-by: Kumar Gala <[email protected]>
2007-06-29[POWERPC] Pass the pci_controller into pci_exclude_deviceKumar Gala2-2/+3
There are times that we need to know which controller we are on to decide how to exclude devices properly. We now pass the pci_controller that we are going to use down to the pci_exclude_device function. This will greatly simplify being able to exclude the PHBs in multiple controller setups. Signed-off-by: Kumar Gala <[email protected]>
2007-06-29[POWERPC] disallow building powermac and tsi108 without PCIArnd Bergmann1-0/+1
The TSI108 code and the 32 bit powermac and chrp platforms have dependency on PCI that is not easy or desirable to get rid of. The easiest fix is to always select CONFIG_PCI if one of those platforms is enabled. Signed-off-by: Arnd Bergmann <[email protected]>
2007-06-29[POWERPC] fix building without PCIArnd Bergmann1-1/+2
Some code looks can be configured to be built without PCI support, but does not work properly. Signed-off-by: Arnd Bergmann <[email protected]>
2007-06-29[POWERPC] kill isa_{io,mem}_base definitions for !PCIArnd Bergmann2-11/+0
When CONFIG_PCI is disabled, the definitions for isa_io_base, isa_mem_base and pci_dram_offset are entirely unused, but they can result in link failure because they are defined in multiple places. The easiest fix is to just remove all these definitions. Signed-off-by: Arnd Bergmann <[email protected]>
2007-06-29[POWERPC] rename add_bridge to avoid namespace clashesArnd Bergmann1-2/+2
Many platforms currently define their own add_bridge function, some of them globally. This breaks some multiplatform configurations. Prefixing each of these functions with the platform name avoids this problem. Signed-off-by: Arnd Bergmann <[email protected]>
2007-06-25[POWERPC] Update holly to use new dts wrapping featureMark A. Greer1-0/+1
The holly support currently has separate rules to wrap its device tree with its zImage. This can now be done automatically without the extra rules so update holly support to use the automatic feature. Signed-off-by: Mark A. Greer <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-12[POWERPC] Add arch/powerpc support for the Motorola PrPMC2800Dale Farnsworth3-0/+180
This finally adds the PPC_PRPMC2800 Kconfig option, the board setup code (the setup and reset functions) and the defconfig, to support the Motorola PrPMC2800 platform. Signed-off-by: Dale Farnsworth <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-12[POWERPC] Check cache coherency of kernel vs firmwareDale Farnsworth1-0/+1
check_cache_coherency() verifies that the cache coherency setting of the kernel (CONFIG_NOT_COHERENT_CACHE) matches that left by the firmware, as indicated by coherency-off device tree property. Signed-off-by: Dale Farnsworth <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-12[POWERPC] Add Marvell mv64x60 PCI bridge supportDale Farnsworth1-0/+1
This patch adds PCI bridge support for the Marvell mv64x60 chip. We also provide the ability to read/write the mv64x60 hotswap register via sysfs if the hs_reg_valid property is set in the device tree. Signed-off-by: Dale Farnsworth <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-12[POWERPC] Create Marvell mv64x60 MPSC (serial) platform_dataDale Farnsworth1-0/+3
This patch creates platform_device entries for the Marvell mv64x60 MPSC (multi-protocol serial controller) ports, based on information contained in the device tree. This driver (like the other mv64x60 drivers) are unusual in that it works on both the MIPS and PowerPC architectures. Because of that, the drivers do not support the normal PowerPC of_platform_bus_type. They support platform_bus_type instead. Signed-off-by: Dale Farnsworth <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-08[POWERPC] Add support for 750CL Holly boardJosh Boyer3-3/+329
Add PowerPC 750 Holly/Hickory platform support Signed-off-by: Stephen Winiecki <[email protected]> Signed-off-by: Josh Boyer <[email protected]> Acked-by: Olof Johansson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-08[POWERPC] Generalize tsi108 PCI setupJosh Boyer1-1/+3
Generalize tsi108_setup_pci to take the config space physical address and primary bus designator as a parameter. Signed-off-by: Josh Boyer <[email protected]> Acked-by: Olof Johansson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-08[POWERPC] Add tsi108_pci.h for common PCI functionsJosh Boyer1-4/+1
Add a header file for the common PCI routines used for the TSI bridge Signed-off-by: Josh Boyer <[email protected]> Acked-by: Olof Johansson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-05-02[POWERPC] kernel: Remove loops_per_jiffy code for 7448HPC2 platformsZang Roy-r619111-12/+0
Remove loops_per_jiffy early initialization code for 7448HPC2 platforms. Since udelay no longer uses loops_per_jiffy it is not necessary to initialize it early. Signed-off-by: Roy Zang <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-04-13[POWERPC] Rename get_property to of_get_property: arch/powerpcStephen Rothwell3-8/+8
Signed-off-by: Stephen Rothwell <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-04-13[POWERPC] Remove unused inclusion of linux/ide.hOlaf Hering1-1/+0
Remove unneeded inclusion of linux/ide.h It does not compile with CONFIG_BLOCK=n. Remove asm/ide.h from ksyms file, it gets included earlier via linux/ide.h. Compile tested with all defconfig files. Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-03-22[POWERPC] Removed config options that we don't support in embedded6xxKumar Gala1-262/+2
When we started arch/powerpc we duplicated a number of config options from arch/ppc for various platforms that are supported. Now that we actually support a few platforms, remove all the ones that haven't been moved over. Additionally, this cleanup moved the 82xx/PQ2 options over into arch/powerpc/platforms/82xx/Kconfig where they belong. It also killed GEN550 which doesn't exist in arch/powerpc. Signed-off-by: Kumar Gala <[email protected]>
2007-03-09[POWERPC] Remove fixed setting of ROOT_DEV for 7448HPC2 platformsZang Roy-r619111-10/+0
Remove fixed setting of ROOT_DEV for 7448HPC2 platforms. Signed-off-by: Roy Zang <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-03-09[POWERPC] PowerPC: select default image for LinkstationSegher Boessenkool1-0/+1
Signed-off-by: Segher Boessenkool <[email protected]> Acked-by: G. Liakhovetski <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2007-02-09[POWERPC] Update to linkstation / kurobox supportGuennadi Liakhovetski1-12/+0
Linkstation systems capable of running mainline kernels use u-boot as a bootloader, so, specifying a suitable kernel command is not a problem. Don't guess. Also extend linkstation_defconfig to support the linkstation HS model with a IT8212 IDE controller and kuroboxHD/HD-HLAN linkstation models with a tulip ethernet chip. The latter also require a slightly different .dts file, which is also included with this patch. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
2007-01-24[POWERPC] Remove the broken Gemini supportAdrian Bunk1-9/+0
Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-12-12kconfig: Standardize "depends" -> "depends on" in Kconfig filesRobert P. J. Day1-1/+1
Standardize the miniscule percentage of occurrences of "depends" in Kconfig files to "depends on", and update kconfig-language.txt to reflect that. Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
2006-12-05WorkQueue: Fix up arch-specific work items where possibleDavid Howells1-2/+2
Fix up arch-specific work items where possible to use the new work_struct and delayed_work structs. Three places that enqueue bits of their stack and then return have been marked with #error as this is not permitted. Signed-Off-By: David Howells <[email protected]>
2006-12-04[POWERPC] Linkstation / kurobox supportGuennadi Liakhovetski4-3/+358
Support for the Kurobox(HG)/LinkStation-I NAS systems by Buffalo Technology, should be also applicable to the PPC TeraStation family. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Kumar Gala <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-12-04[POWERPC] Put mpc52xx support file in platforms/52xxGrant Likely1-12/+0
platforms/embedded6xx is probably going away, and 52xx boards need some extra support the 52xx interrupt controller and DMA engine anyway. It makes sense to group all the 52xx bits into a single path. Signed-off-by: Grant Likely <[email protected]> Signed-off-by: Sylvain Munaut <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-12-04[POWERPC] Make pci_read_irq_line the default on mpc7448hpc2 boardZang Roy-r619111-65/+23
The following patch adds a tsi108/9 pci interrupt controller host. On mpc7448hpc2 board, pci_irq_fixup function is removed, which makes the pci_read_irq_line be the default pci irq fixup. Signed-off-by: Roy Zang <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-12-04[POWERPC] Make pci_read_irq_line the defaultBenjamin Herrenschmidt1-11/+5
This patch reworks the way IRQs are fixed up on PCI for arch powerpc. It makes pci_read_irq_line() called by default in the PCI code for devices that are probed, and add an optional per-device fixup in ppc_md for platforms that really need to correct what they obtain from pci_read_irq_line(). It also removes ppc_md.irq_bus_setup which was only used by pSeries and should not be needed anymore. I've also removed the pSeries s7a workaround as it can't work with the current interrupt code anyway. I'm trying to get one of these machines working so I can test a proper fix for that problem. I also haven't updated the old-style fixup code from 85xx_cds.c because it's actually buggy :) It assigns pci_dev->irq hard coded numbers which is no good with the new IRQ mapping code. It should at least use irq_create_mapping(NULL, hard_coded_number); and possibly also set_irq_type() to set them as level low. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-10-07[POWERPC] Fix up after irq changesOlaf Hering1-3/+2
Remove struct pt_regs * from all handlers. Also remove the regs argument from get_irq() functions. Compile tested with arch/powerpc/config/* and arch/ppc/configs/prep_defconfig Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
2006-10-04Remove all inclusions of <linux/config.h>Dave Jones1-1/+0
kbuild explicitly includes this at build time. Signed-off-by: Dave Jones <[email protected]>
2006-08-31Merge branch 'merge'Paul Mackerras2-1/+2