diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 02:04:57 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-08 09:38:47 -0400 |
commit | e1c1575f831ab2165732037e6d664010a0149730 (patch) | |
tree | ecfc90b06eb4b7402a3334ebe6b8287e73abc671 /arch/powerpc/sysdev/fsl_soc.h | |
parent | c9438affcb7ac0dda4c6c6961637fb272f7c32d4 (diff) |
[POWERPC] 85xx/86xx: refactor RSTCR reset code
On the majority of 85xx & 86xx we have a register that's ability to
assert HRESET_REQ to reset the board. We refactored that code so it
can be shared between both platforms into fsl_soc.c and removed all
the duplication in each platform directory.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h index 618d91d1e103..63e7db30a4cd 100644 --- a/arch/powerpc/sysdev/fsl_soc.h +++ b/arch/powerpc/sysdev/fsl_soc.h | |||
@@ -15,5 +15,6 @@ extern int fsl_spi_init(struct spi_board_info *board_infos, | |||
15 | void (*activate_cs)(u8 cs, u8 polarity), | 15 | void (*activate_cs)(u8 cs, u8 polarity), |
16 | void (*deactivate_cs)(u8 cs, u8 polarity)); | 16 | void (*deactivate_cs)(u8 cs, u8 polarity)); |
17 | 17 | ||
18 | extern void fsl_rstcr_restart(char *cmd); | ||
18 | #endif | 19 | #endif |
19 | #endif | 20 | #endif |