29 Mar, 2011
1 commit
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
29 Sep, 2008
1 commit
-
For many of the embedded boards, "model" and "Machine" are printing
the same thing; remove the redundant code and allow the generic
show_cpuinfo to print the model information.Signed-off-by: Becky Bruce
Acked-by: Paul Gortmaker
Acked-by: Martyn Welch
Signed-off-by: Kumar Gala
01 Apr, 2008
1 commit
-
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Cc: Benjamin Herrenschmidt
Signed-off-by: Andrew Morton
Signed-off-by: Paul Mackerras
24 Jan, 2008
1 commit
-
Prevents miscellaneous users from declaring it locally.
Signed-off-by: Jon Loeliger
Signed-off-by: Kumar Gala
08 Oct, 2007
1 commit
-
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
23 Aug, 2007
1 commit
-
Remove includes of files that existed in arch/ppc that we dont need in
arch/powerpc anymore. The following includes were removed:
This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be
needed and thus removed.Signed-off-by: Kumar Gala
17 Aug, 2007
1 commit
-
This fixes some interrrupt -> interrupt typos.
Signed-off-by: Gabriel Craciunescu
Signed-off-by: Paul Mackerras
29 Jun, 2007
2 commits
-
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
-
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
08 May, 2007
2 commits
-
Generalize tsi108_setup_pci to take the config space physical address and
primary bus designator as a parameter.Signed-off-by: Josh Boyer
Acked-by: Olof Johansson
Signed-off-by: Paul Mackerras -
Add a header file for the common PCI routines used for the TSI bridge
Signed-off-by: Josh Boyer
Acked-by: Olof Johansson
Signed-off-by: Paul Mackerras
02 May, 2007
1 commit
-
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
Signed-off-by: Paul Mackerras
13 Apr, 2007
2 commits
-
Signed-off-by: Stephen Rothwell
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras -
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
Signed-off-by: Paul Mackerras
09 Mar, 2007
1 commit
-
Remove fixed setting of ROOT_DEV for 7448HPC2 platforms.
Signed-off-by: Roy Zang
Signed-off-by: Paul Mackerras
04 Dec, 2006
2 commits
-
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
Signed-off-by: Paul Mackerras -
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
Signed-off-by: Paul Mackerras
07 Oct, 2006
1 commit
-
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_defconfigSigned-off-by: Olaf Hering
Signed-off-by: Paul Mackerras
04 Oct, 2006
1 commit
-
kbuild explicitly includes this at build time.
Signed-off-by: Dave Jones
31 Aug, 2006
1 commit
30 Aug, 2006
1 commit
-
This adds a new hardware information table for mpic. This enables
the mpic code to deal with mpic controllers with different register
layouts and hardware behaviours.This introduces CONFIG_MPIC_WEIRD. For boards with non standard mpic
controllers, select CONFIG_MPIC_WEIRD and add its hardware information
in the mpic_infos[] array.TSI108/109 PIC takes the first index of weird hardware information
table. :) The table can be extended. The Tsi108/109 PIC looks like
standard OpenPIC but, in fact, is different in register mapping and
behavior.The patch does not affect the behavior of standard mpic. If
CONFIG_MPIC_WEIRD is not defined, the code is essentially identical to
the current code.[benh@kernel.crashing.org:
This patch is a slightly cleaned up version of Zang Roy's support for
the TSI108 MPIC variant. It also fixes up MPC7448_hpc2 to use the new
version of the type macros and changes the way MPIC is selected in
Kconfig to better match what is done for other system devices.
]Signed-off-by: Roy Zang
Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras
25 Aug, 2006
1 commit
23 Aug, 2006
1 commit
-
The patch rewrites mpc7448hpc2 board irq support according to the new
mpic device tree interface.Signed-off-by: Roy Zang
Signed-off-by: Paul Mackerras
31 Jul, 2006
1 commit
-
Now that get_property() returns a void *, there's no need to cast its
return value. Also, treat the return value as const, so we can
constify get_property later.mpc* platform changes.
Signed-off-by: Jeremy Kerr
Signed-off-by: Paul Mackerras
29 Jun, 2006
1 commit
-
Add support for Freescale mpc7448 (Taiga) board support
Signed-off-by: Roy Zang
Signed-off-by: Paul Mackerras