aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_soc.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-05-19 08:54:29 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-06-27 08:30:53 -0500
commitd173ea6b4078f37320b49d06f9656ba76ee1ba6c (patch)
tree1822d534b6465eee65fcd9fbbbb15daee025031d /arch/powerpc/sysdev/fsl_soc.h
parent3a93261f70c7b92f84fb211b66f1d4e66c0b3dce (diff)
powerpc: add Freescale hypervisor partition control functions
Add functions to restart and halt the current partition when running under the Freescale hypervisor. These functions should be assigned to various function pointers of the ppc_md structure during the .probe() function for the board: ppc_md.restart = fsl_hv_restart; ppc_md.power_off = fsl_hv_halt; ppc_md.halt = fsl_hv_halt; Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.h')
-rw-r--r--arch/powerpc/sysdev/fsl_soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h
index 53609489a62..2ece02beb8f 100644
--- a/arch/powerpc/sysdev/fsl_soc.h
+++ b/arch/powerpc/sysdev/fsl_soc.h
@@ -36,5 +36,8 @@ struct platform_diu_data_ops {
extern struct platform_diu_data_ops diu_ops;
#endif
+void fsl_hv_restart(char *cmd);
+void fsl_hv_halt(void);
+
#endif
#endif