sh: Allow boards to register memory pre/post sleep code
authorMagnus Damm <damm@opensource.se>
Thu, 29 Oct 2009 10:52:06 +0000 (10:52 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 30 Oct 2009 02:55:24 +0000 (11:55 +0900)
commit159f8cd99ea0e3613cbb6aeea574af438f33d8d7
tree109b7077c55f3a98a19468f8641097c756b0554b
parentda14909eb0749c2788fc704be6dbdebb620602f6
sh: Allow boards to register memory pre/post sleep code

Add code to allow boards registering self-contained
functions for going to/from self-refresh. At this
point the board code is unused. When all supported
boards have been converted then the new sleep code
will make use of these functions.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/suspend.h
arch/sh/kernel/cpu/shmobile/pm.c