This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RedBoot - honor configury


This fixes a compile problem if you had 'fconfig' (EEPROM mode)
and no 'flash' configured.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: redboot/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.138
diff -u -5 -p -r1.138 ChangeLog
--- redboot/current/ChangeLog	26 Sep 2003 10:35:43 -0000	1.138
+++ redboot/current/ChangeLog	26 Sep 2003 11:35:21 -0000
@@ -1,7 +1,9 @@
 2003-09-26  Gary Thomas  <gary@mlbassoc.com>
 
+	* src/fconfig.c: Honor FLASH/FIS configury.
+
 	* src/net/bootp.c: 
 	* src/fs/ide.c: Clean up some compiler warnings.
 
 2003-09-25  Gary Thomas  <gary@mlbassoc.com>
 
Index: redboot/current/src/fconfig.c
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/redboot/current/src/fconfig.c,v
retrieving revision 1.2
diff -u -5 -p -r1.2 fconfig.c
--- redboot/current/src/fconfig.c	20 Sep 2003 12:09:31 -0000	1.2
+++ redboot/current/src/fconfig.c	26 Sep 2003 11:34:36 -0000
@@ -52,12 +52,13 @@
 //####DESCRIPTIONEND####
 //
 //==========================================================================
 
 #include <redboot.h>
-#include <cyg/io/flash.h>
+#ifdef CYGOPT_REDBOOT_FIS
 #include <fis.h>
+#endif
 
 #ifdef CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
 // Note horrid intertwining of functions, to save precious FLASH
 #endif
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]