Commit 5e49d31e authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] conditional ROMfs copy for NETtel/5272 board

Make the ROMfs copy in the startup code for NETtel/5272 board
conditional on actually using a ROMfs setup.
parent fc649037
...@@ -116,6 +116,8 @@ _start: ...@@ -116,6 +116,8 @@ _start:
movec %d0, %CACR /* Enable cache */ movec %d0, %CACR /* Enable cache */
nop nop
#ifdef CONFIG_ROMFS_FS
#ifdef CONFIG_ROMFS_FROM_ROM #ifdef CONFIG_ROMFS_FROM_ROM
/* /*
* check for an in RAM romfs * check for an in RAM romfs
...@@ -160,6 +162,12 @@ _copy_romfs: ...@@ -160,6 +162,12 @@ _copy_romfs:
done_romfs: done_romfs:
#endif #endif
#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