]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: BCM63xx: Add SMP support to prom.c
authorKevin Cernekee <cernekee@gmail.com>
Tue, 18 Jun 2013 08:34:31 +0000 (08:34 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 14:15:50 +0000 (16:15 +0200)
commit4420639c99c7fa71be53857ed44d7e5b7f93daf5
treeb05552e3e0379a428bbbe6d8bf9ec968b054ed4a
parent9187e4dbd51cd2424e5cd4aa99ec97d8512c0b48
MIPS: BCM63xx: Add SMP support to prom.c

This involves two changes to the BSP code:

1) register_smp_ops() for BMIPS SMP

2) The CPU1 boot vector on some of the BCM63xx platforms conflicts with
the special interrupt vector (IV).  Move it to 0x8000_0380 at boot time,
to resolve the conflict.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
[jogo@openwrt.org: moved SMP ops registration into ifdef guard,
 changed ifdef guards to if (IS_ENABLED())]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/5489/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/prom.c