aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300/boot/compressed/head.S
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-31 23:42:37 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2015-11-08 22:44:39 +0900
commit78f02cac9515127efd7dc45e82bbbdb969b3302a (patch)
tree0417d911b99883d9d2770c42bf06e4e1b0c5d8e3 /arch/h8300/boot/compressed/head.S
parenth8300: register address fix (diff)
downloadlinux-dev-78f02cac9515127efd7dc45e82bbbdb969b3302a.tar.xz
linux-dev-78f02cac9515127efd7dc45e82bbbdb969b3302a.zip
h8300: zImage fix
- stack fix - configure base address Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/boot/compressed/head.S')
-rw-r--r--arch/h8300/boot/compressed/head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/boot/compressed/head.S b/arch/h8300/boot/compressed/head.S
index 74c0d8cc40ba..0436350c1df5 100644
--- a/arch/h8300/boot/compressed/head.S
+++ b/arch/h8300/boot/compressed/head.S
@@ -9,8 +9,8 @@
.section .text..startup,"ax"
.global startup
startup:
+ mov.l #startup, sp
mov.l er0, er4
- mov.l er0, sp
mov.l #__sbss, er0
mov.l #__ebss, er1
sub.l er0, er1
@@ -24,7 +24,7 @@ startup:
bne 1b
jsr @decompress_kernel
mov.l er4, er0
- jmp @0x400000
+ jmp @output
.align 9
fake_headers_as_bzImage: