Commit fa010672 authored by Jon Fraser's avatar Jon Fraser Committed by Ralf Baechle

MIPS: BMIPS: Allow BMIPS3300 to utilize SMP ebase relocation code

BMIPS3300 processors do not have the hardware to support SMP, but with a
small tweak, the SMP ebase relocation code allows BMIPS3300-based
platforms to reuse the S2/S3 power management code from BMIPS4380-based
chips.  Normally this is as simple as adding one line to prom_init():

    board_ebase_setup = &bmips_ebase_setup;
Signed-off-by: default avatarJon Fraser <jfraser@broadcom.com>
Signed-off-by: default avatarKevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8159/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fc455787
...@@ -541,6 +541,7 @@ void bmips_ebase_setup(void) ...@@ -541,6 +541,7 @@ void bmips_ebase_setup(void)
&bmips_smp_int_vec, 0x80); &bmips_smp_int_vec, 0x80);
__sync(); __sync();
return; return;
case CPU_BMIPS3300:
case CPU_BMIPS4380: case CPU_BMIPS4380:
/* /*
* 0x8000_0000: reset/NMI (initially in kseg1) * 0x8000_0000: reset/NMI (initially in kseg1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment