sh: Add CPG save/restore code for sh7724 R-standby
authorMagnus Damm <damm@opensource.se>
Fri, 27 Nov 2009 05:16:21 +0000 (05:16 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 30 Nov 2009 03:02:49 +0000 (12:02 +0900)
commit2ebe0ff7e669e7d5fc51c2add74dd71692d7bc8d
tree188eea4ebaa31cab72a3e36ef4818cb118bf0af7
parent98779ad8226c6f6e301fa186c07247e78c6f7253
sh: Add CPG save/restore code for sh7724 R-standby

Add sh7724 code to save and restore CPG state during
R-standby. Only CPG registers IRDACLKCR and SPUCLKCR
require software save and restore.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7724.c