[PATCH 1/9] lpc2k: Core support

Ithamar R. Adema ithamar.adema at team-embedded.nl
Thu Mar 17 18:25:13 EDT 2011


On Thu, 2011-03-17 at 23:08 +0100, Kevin Wells wrote:
[...]
> > +static void arch_idle(void)
> > +{
> > +	cpu_do_idle();
> > +}
> 
> The 24xx devices have a CPU idle down register (PCON) that will suspend
> the CPU clock until the next interrupt. *pcon = 1;

Yes, I know, but was planning on introducing that together with
suspend/resume in a next patch series. I've had it in locally already
but got some interrupt disable/enable errors during exit of idle mode
that need further investigation.

> > +
> > +static inline void arch_reset(char mode, const char *cmd)
> > +{
> > +	cpu_reset(0);
> > +}
> 
> The entire system can be reset via RESETOUT using the watchdog timer.

Again, was planning that for the patch set that will introduce the
watchdog driver.

Regards,

Ithamar.





More information about the linux-arm-kernel mailing list