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/platforms/85xx/mpc85xx_ads.c | |
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/platforms/85xx/mpc85xx_ads.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index acb1ef932240..378a244b3bac 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c | |||
@@ -30,7 +30,6 @@ | |||
30 | 30 | ||
31 | #include <sysdev/fsl_soc.h> | 31 | #include <sysdev/fsl_soc.h> |
32 | #include <sysdev/fsl_pci.h> | 32 | #include <sysdev/fsl_pci.h> |
33 | #include "mpc85xx.h" | ||
34 | 33 | ||
35 | #ifdef CONFIG_CPM2 | 34 | #ifdef CONFIG_CPM2 |
36 | #include <linux/fs_enet_pd.h> | 35 | #include <linux/fs_enet_pd.h> |
@@ -249,7 +248,7 @@ define_machine(mpc85xx_ads) { | |||
249 | .init_IRQ = mpc85xx_ads_pic_init, | 248 | .init_IRQ = mpc85xx_ads_pic_init, |
250 | .show_cpuinfo = mpc85xx_ads_show_cpuinfo, | 249 | .show_cpuinfo = mpc85xx_ads_show_cpuinfo, |
251 | .get_irq = mpic_get_irq, | 250 | .get_irq = mpic_get_irq, |
252 | .restart = mpc85xx_restart, | 251 | .restart = fsl_rstcr_restart, |
253 | .calibrate_decr = generic_calibrate_decr, | 252 | .calibrate_decr = generic_calibrate_decr, |
254 | .progress = udbg_progress, | 253 | .progress = udbg_progress, |
255 | }; | 254 | }; |