sh: Keep track of allowed sleep modes
authorMagnus Damm <damm@opensource.se>
Fri, 30 Oct 2009 04:24:15 +0000 (04:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 30 Oct 2009 05:37:42 +0000 (14:37 +0900)
Add code to keep track of supported sleep modes. This to
only export cpuidle modes that are backed by board support
code. Also, do not allow suspend-to-ram if sdram board code
is missing.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found