This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: fis free: don't ignore chunk at start.
Andrew Lunn wrote:
Is there more than a ChangeLog entry for this patch :-)
Here it is.
Sorry to waste your time over such a trivial patch like this. /me makes
mental note to get it right the first time in future.
--
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
--- packages/redboot/current/src/flash.c.orig Tue Oct 26 09:48:59 2004
+++ packages/redboot/current/src/flash.c Tue Oct 26 09:50:39 2004
@@ -564,8 +564,7 @@
// Do not search the area reserved for pre-RedBoot systems:
fis_ptr = (CYG_ADDRESS *)((CYG_ADDRESS)flash_start +
- CYGNUM_REDBOOT_FLASH_RESERVED_BASE +
- CYGBLD_REDBOOT_MIN_IMAGE_SIZE);
+ CYGNUM_REDBOOT_FLASH_RESERVED_BASE);
fis_end = (CYG_ADDRESS *)flash_end;
chunks[num_chunks-1].start = (CYG_ADDRESS)fis_ptr;
chunks[num_chunks-1].end = (CYG_ADDRESS)fis_end;