summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x/misc_44x.S
diff options
context:
space:
mode:
authorStefan Roese2008-03-27 15:43:31 +0100
committerJosh Boyer2008-04-03 03:44:56 +0200
commit93173ce272e54f81460986ff5040d16ab79488a9 (patch)
tree7bb4e15ac4cf3853f81e358fb1b21aa2fef6b4ce /arch/powerpc/platforms/44x/misc_44x.S
parent[POWERPC] bootwrapper: Add a firmware-independent simpleboot target. (diff)
downloadkernel-qcow2-linux-93173ce272e54f81460986ff5040d16ab79488a9.tar.gz
kernel-qcow2-linux-93173ce272e54f81460986ff5040d16ab79488a9.tar.xz
kernel-qcow2-linux-93173ce272e54f81460986ff5040d16ab79488a9.zip
[POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c
This patch creates a common system reset routine for all 40x and 44x systems. Previously only a 44x routine existed. But since this system reset via the debug control register is common for 40x and 44x let's share this code for all those platforms in ppc4xx_soc.c. This patch also enables CONFIG_4xx_SOC for all 40x and 44x platforms. Tested on Kilauea (405EX) and Canyonlands (440EX). Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/44x/misc_44x.S')
-rw-r--r--arch/powerpc/platforms/44x/misc_44x.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/44x/misc_44x.S b/arch/powerpc/platforms/44x/misc_44x.S
index 3bce71d5d756..dc12b8009e48 100644
--- a/arch/powerpc/platforms/44x/misc_44x.S
+++ b/arch/powerpc/platforms/44x/misc_44x.S
@@ -44,14 +44,3 @@ _GLOBAL(as1_writeb)
sync
isync
blr
-
-/*
- * void ppc44x_reset_system(char *cmd)
- *
- * At present, this routine just applies a system reset.
- */
-_GLOBAL(ppc44x_reset_system)
- mfspr r13,SPRN_DBCR0
- oris r13,r13,DBCR0_RST_SYSTEM@h
- mtspr SPRN_DBCR0,r13
- b . /* Just in case the reset doesn't work */