summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/83xx/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* powerpc/83xx: merge PCI bridge additionsDmitry Eremin-Solenikov2011-11-241-0/+14
| | | | | | | | | Nearly all mpc83xx-based boards have a common piece of code - one that loops over all pci/pcie bridges and registers them. Merge that code into a special function common to all boards. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* powerpc/83xx: consolidate of_platform_bus_probe callsDmitry Eremin-Solenikov2011-11-241-0/+17
| | | | | | | | | | | | | 83xx board files have a lot of duplication in *_declare_of_platform_devices() functions. Merge that into a single function common to most of the boards. The only leftover is mpc834x_itx.c board file which explicitly asks for fsl,pq2pro-localbus, as corresponding bindings don't provide "simple-bus" compatibility in localbus node. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* powerpc/83xx: consolidate init_IRQ functionsDmitry Eremin-Solenikov2011-11-241-0/+46
| | | | | | | | | On mpc83xx platform nearly all _init_IRQ functions look alike. They either just setup ipic, or setup ipic and QE PIC. Separate this to special functions to be either referenced from ppc_md, or called from board file. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* [POWERPC] 83xx: Don't call ioremap in the reset functionKumar Gala2007-01-261-8/+21
| | | | | | | | | | | | | | It's possibly that we get an reset requestion when interrupts are disabled. (For example an oops in an interrupt handler). Therefor, we can't call ioremap in the reset function. Moving the ioremap of the registers we need access to an arch_initcall helps the problem. However we still have a window between boot and the arch_initcall in which the register pointer will not be setup and thus we spin if the reset function is called. If one needs to ensure even this case is covered, look at use of the watchdog provided on 83xx to reset the processor. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-301-1/+0
| | | | | Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
* powerpc: Fix mpc83xx restart bugKumar Gala2006-02-161-1/+1
| | | | | | We need to write the correct value to the RCR to get a HW reset. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* [PATCH] powerpc: Cleanup MPC83xx platform supportKumar Gala2006-02-071-0/+55
Moved some code around so its usable by more systems than just the MPC834x SYS. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
OpenPOWER on IntegriCloud