[U-Boot] [PATCH 05/11] MIPS: add sleep handler for slave CPUs in multi-processor systems
Andrew Dyer
amdyer at gmail.com
Fri Nov 25 16:35:57 CET 2011
On Fri, Nov 25, 2011 at 02:44, Marek Vasut <marek.vasut at gmail.com> wrote:
> > This handler can be activated on multi-processor systems to boot only
> > the master CPU. All slave CPUs are halted by executing the WAIT
> > instruction. This is also useful to reduce the power consumption at
> > boot time.
> >
> > Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at googlemail.com>
> > ---
> > arch/mips/cpu/mips32/start.S | 16 ++++++++++++++++
> > 1 files changed, 16 insertions(+), 0 deletions(-)
> >
> > diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S
> > index 9c1b2f7..b6cb4be 100644
> > --- a/arch/mips/cpu/mips32/start.S
> > +++ b/arch/mips/cpu/mips32/start.S
> > @@ -224,6 +224,14 @@ reset:
> >
> > setup_c0_status_reset
> >
> > + /* Set all slave CPUs in sleep mode */
> > +#ifdef CONFIG_SYS_MPS_SLAVE_CPU_SLEEP
>
shouldn't this be CONFIG_SYS_MIPS_SLAVE_CPU_SLEEP? (s/MPS/MIPS/)
More information about the U-Boot
mailing list