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 build again w/o xyz


Hi Gary
this lets Redboot build when xyz is off and silences a warning (ifdef instead of if)
My redboot has all kinds of changes so I only diffed this file and the changelog could be smt like

" fix previous TFTP related change "

Jani.

BTW if you still consider that cache enabling and disabling in low level flash drivers is useless
I can produce a patch for all the drivers.

Index: redboot/current/src/load.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/src/load.c,v
retrieving revision 1.30
diff -u -r1.30 load.c
--- redboot/current/src/load.c	28 Mar 2003 13:49:32 -0000	1.30
+++ redboot/current/src/load.c	3 Apr 2003 14:25:19 -0000
@@ -590,7 +590,7 @@
     char *filename = 0;
     struct option_info opts[7];
     connection_info_t info;
-    getc_io_funcs_t *io;
+    getc_io_funcs_t *io = NULL;
     struct load_io_entry *io_tab;
 #ifdef CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
     bool spillover_ok = false;
@@ -683,11 +683,8 @@
 #ifdef CYGPKG_REDBOOT_NETWORKING
 #ifdef CYGSEM_REDBOOT_NET_TFTP_DOWNLOAD
         io = &tftp_io;
-#elif CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD
+#elif defined(CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD)
         io = &http_io;
-#else
-        io = &xyzModem_io;
-        verbose = false;
 #endif
 #else
         io = &xyzModem_io;


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