Commit b1237da0 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] conditional ROMfs copy for Motorola M5282EVB board

Make the ROMfs copy in the startup code for Motorola M5282EVB board
conditional on actually using a ROMfs setup.
parent 3b47277b
...@@ -115,6 +115,8 @@ _start: ...@@ -115,6 +115,8 @@ _start:
nop nop
#endif #endif
#ifdef CONFIG_ROMFS_FS
/* /*
* Move ROM filesystem above bss :-) * Move ROM filesystem above bss :-)
*/ */
...@@ -135,6 +137,11 @@ _copy_romfs: ...@@ -135,6 +137,11 @@ _copy_romfs:
move.l %d0, -(%a1) move.l %d0, -(%a1)
cmp.l %a0, %a2 /* Check if at end */ cmp.l %a0, %a2 /* Check if at end */
bne _copy_romfs bne _copy_romfs
#else /* CONFIG_ROMFS_FS */
lea.l _ebss, %a1
move.l %a1, _ramstart
#endif /* CONFIG_ROMFS_FS */
/* /*
* Zero out the bss region. * Zero out the bss region.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment