[PATCH] powerpc: Support for "weird" MPICs and fixup mpc7448_hpc2

Zang Roy-r61911 tie-fei.zang at freescale.com
Fri Aug 25 17:47:42 EST 2006

On Fri, 2006-08-25 at 12:16, Benjamin Herrenschmidt wrote:
> 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 <tie-fei.zang at freescale.com> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> Zang Roy, please verify that it still works for you. I've tested it on
> an Apple G5 with and without CONFIG_MPIC_WEIRD .

It works OK on my mpc7448hpc2 board. 
There is a sequence for the patch applying.

(1) patch for IRQ update for mpc7448hpc2:

(2) the weird mpic patch repost by your mail.
(3) the following minor patch to build mpic.o for CONFIG_MPIC_WEIRD

Signed-off-by: Roy Zang     <tie-fei.zang at freescale.com> 

diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index cebfae2..8ae887b 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -3,6 +3,7 @@ EXTRA_CFLAGS			+= -mno-minimal-toc
 obj-$(CONFIG_MPIC)		+= mpic.o
+obj-$(CONFIG_MPIC_WEIRD)	+= mpic.o
 obj-$(CONFIG_PPC_INDIRECT_PCI)	+= indirect_pci.o
 obj-$(CONFIG_PPC_MPC106)	+= grackle.o
 obj-$(CONFIG_BOOKE)		+= dcr.o

More information about the Linuxppc-dev mailing list