diff options
author | Scott Wood <scottwood@freescale.com> | 2013-01-21 20:56:43 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2013-02-15 15:13:26 -0500 |
commit | 64871ff6e8f19c99bc6b9a93e4f8926e1650e61e (patch) | |
tree | 0a12c1290871cde01d5ff6d425d893093d44c4be /arch/powerpc | |
parent | 7c509ee01496a170fe4329f076c334591b6f49d0 (diff) |
powerpc/e500/qemu-e500: enable coreint
The MPIC code will disable coreint if it detects an insufficient
MPIC version.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/85xx/qemu_e500.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/85xx/qemu_e500.c b/arch/powerpc/platforms/85xx/qemu_e500.c index f6ea5618c733..5cefc5a9a144 100644 --- a/arch/powerpc/platforms/85xx/qemu_e500.c +++ b/arch/powerpc/platforms/85xx/qemu_e500.c | |||
@@ -29,9 +29,10 @@ | |||
29 | void __init qemu_e500_pic_init(void) | 29 | void __init qemu_e500_pic_init(void) |
30 | { | 30 | { |
31 | struct mpic *mpic; | 31 | struct mpic *mpic; |
32 | unsigned int flags = MPIC_BIG_ENDIAN | MPIC_SINGLE_DEST_CPU | | ||
33 | MPIC_ENABLE_COREINT; | ||
32 | 34 | ||
33 | mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | MPIC_SINGLE_DEST_CPU, | 35 | mpic = mpic_alloc(NULL, 0, flags, 0, 256, " OpenPIC "); |
34 | 0, 256, " OpenPIC "); | ||
35 | 36 | ||
36 | BUG_ON(mpic == NULL); | 37 | BUG_ON(mpic == NULL); |
37 | mpic_init(mpic); | 38 | mpic_init(mpic); |
@@ -66,7 +67,7 @@ define_machine(qemu_e500) { | |||
66 | #ifdef CONFIG_PCI | 67 | #ifdef CONFIG_PCI |
67 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | 68 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, |
68 | #endif | 69 | #endif |
69 | .get_irq = mpic_get_irq, | 70 | .get_irq = mpic_get_coreint_irq, |
70 | .restart = fsl_rstcr_restart, | 71 | .restart = fsl_rstcr_restart, |
71 | .calibrate_decr = generic_calibrate_decr, | 72 | .calibrate_decr = generic_calibrate_decr, |
72 | .progress = udbg_progress, | 73 | .progress = udbg_progress, |