projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77eab8
)
CRIS: Correct address of the romfs in boot image
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Mon, 2 Aug 2010 15:48:31 +0000
(17:48 +0200)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 10:59:43 +0000
(12:59 +0200)
The romfs should land after __init_end
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v10/kernel/head.S
patch
|
blob
|
history
diff --git
a/arch/cris/arch-v10/kernel/head.S
b/arch/cris/arch-v10/kernel/head.S
index
fc45771
..
a1f2014
100644
(file)
--- a/
arch/cris/arch-v10/kernel/head.S
+++ b/
arch/cris/arch-v10/kernel/head.S
@@
-280,7
+280,7
@@
_no_romfs_in_flash:
;; the "rom fs" we'll possibly use in 2.4 if not JFFS (which does
;; not need this mechanism anyway)
- move.d __
vmlinux_end, $r0; the image will be after the vmlinux end address
+ move.d __
init_end, $r0; the image will be after the end of init
move.d [$r0], $r1 ; cramfs assumes same endian on host/target
cmp.d CRAMFS_MAGIC, $r1; magic value in cramfs superblock
bne 2f