aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/crt0.S
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-03-22 17:02:21 +1100
committerPaul Mackerras <paulus@samba.org>2007-03-26 15:11:20 +1000
commite5a2072bd48eb4a35c57a8ec45897ac2db3a3f82 (patch)
tree8ee71ecb846416925a3e5796a8f66626db0c6513 /arch/powerpc/boot/crt0.S
parentfae59c39e885148acf42320fe0d4ebf4cb3e9231 (diff)
[POWERPC] New reg.h for the zImage
This patch adds a reg.h to the zImage code, with common definitions for accessing system registers. For now, this includes functions for retrieving the PVR and the stack pointer. This patch then uses the new reg.h to let start() display the running stack address without having to explicitly pass the stack as a parameter from the asm code. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/crt0.S')
-rw-r--r--arch/powerpc/boot/crt0.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/boot/crt0.S b/arch/powerpc/boot/crt0.S
index 25ad7453531..bd7770b6073 100644
--- a/arch/powerpc/boot/crt0.S
+++ b/arch/powerpc/boot/crt0.S
@@ -88,5 +88,4 @@ _zimage_start_lib:
bl platform_init
/* Call start */
- mr r3,r1
b start