]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: Explicitly configure reset vectors prior to secondary boot
authorKevin Cernekee <cernekee@gmail.com>
Tue, 21 Oct 2014 04:27:56 +0000 (21:27 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:10 +0000 (07:45 +0100)
commit8e078748e6874d6472398883fcd4e47da5d2e508
treec6d68cd283eba3fa6b8441d22819989dade134e6
parentb10493eb8238f2bb49ddc5229fdf650e8d1c6b88
MIPS: BMIPS: Explicitly configure reset vectors prior to secondary boot

The secondary CPU's reset vector needs to be set to KSEG1 for a cold
boot (release from reset), or KSEG0 for a warm restart.  On a cold boot
KSEG0 may be unavailable (BMIPS4380), and on a warm restart KSEG1 may
be unavailable (XKS01 mode on 4380 or 5000).

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: jfraser@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8161/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c