From: Abraham vd M. <ab...@us...> - 2002-02-04 12:14:24
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv25676/src/blob Modified Files: main.c xmodem.c Log Message: Changed Xmodem support to be optional (make > 1k difference and I never use it). Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- main.c 2002/01/21 19:45:17 1.27 +++ main.c 2002/02/04 12:14:16 1.28 @@ -330,7 +330,7 @@ - +#ifdef CONFIG_XMODEM_SUPPORT static int xdownload(int argc, char *argv[]) { u32 startAddress; @@ -411,7 +411,7 @@ "Download <argument> image to RAM using xmodem\n"; __commandlist(xdownload, "xdownload", xdownloadhelp); - +#endif /* #ifdef CONFIG_XMODEM_SUPPORT */ Index: xmodem.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/xmodem.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- xmodem.c 2002/01/06 19:02:29 1.2 +++ xmodem.c 2002/02/04 12:14:16 1.3 @@ -35,6 +35,8 @@ # include <blob/config.h> #endif +#ifdef CONFIG_XMODEM_SUPPORT + #include <blob/errno.h> #include <blob/serial.h> #include <blob/util.h> @@ -264,3 +266,6 @@ done: return length; } + +#endif /* #ifdef CONFIG_XMODEM_SUPPORT */ + |