Skip to content

Commit

Permalink
CRIS: Correct address of the romfs in boot image
Browse files Browse the repository at this point in the history
The romfs should land after __init_end

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent d77eab8 commit b4973ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/cris/arch-v10/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4973ae

Please sign in to comment.