RedBoot: fis free: don't ignore chunk at start.

David Vrabel dvrabel@arcom.com
Mon Nov 1 10:44:00 GMT 2004


Andrew Lunn wrote:
> 
> So i think your patch is OK. But it seems that code has been
> cut/pasted a few times and probably the other ones should be fixed as
> well. Please could you submit a patch for them all, and the change to
> the documentation attribute of the option.

Here it is.

2004-11-01  David Vrabel  <dvrabel@arcom.com>

	* cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
	description to match what the option is actually used for.

	* src/flash.c (find_free, fis_free, fis_find_free): Don't ignore
	an extra CYGBLD_REDBOOT_MIN_IMAGE_SIZE amount from the start.
	This fixes the case where nothing uses the start of flash.

-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redboot-flash-find_free-do-not-ignore-start.patch
Type: text/x-patch
Size: 2790 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20041101/4fe2289b/attachment.bin>


More information about the Ecos-patches mailing list