summaryrefslogtreecommitdiffstats
path: root/target/linux/etrax-2.6/image/e100boot/src/sbl/common.h
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 23:17:43 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 23:17:43 +0000
commit026b1ef0a8f545a2b412015443a0a4db78b23c53 (patch)
tree855df2373eccb8c4cf99fa780bbf5ec7edbb5d31 /target/linux/etrax-2.6/image/e100boot/src/sbl/common.h
parent8366dfac71c976acb6d772ec9014026cafab8182 (diff)
the etrax bootloader tools source was added on initial merge, it is now sitting on the acme site, source should not be in this folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/etrax-2.6/image/e100boot/src/sbl/common.h')
-rw-r--r--target/linux/etrax-2.6/image/e100boot/src/sbl/common.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/target/linux/etrax-2.6/image/e100boot/src/sbl/common.h b/target/linux/etrax-2.6/image/e100boot/src/sbl/common.h
deleted file mode 100644
index 8f854e447..000000000
--- a/target/linux/etrax-2.6/image/e100boot/src/sbl/common.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*!***************************************************************************
-*!
-*! FILE NAME : common.h
-*!
-*! DESCRIPTION: Common stuff for e100boot.
-*!
-*! ---------------------------------------------------------------------------
-*! HISTORY
-*!
-*! DATE NAME CHANGES
-*! ---- ---- -------
-*! 2002 05 02 Ronny Ranerup Initial version
-*! ---------------------------------------------------------------------------
-*! (C) Copyright 1999, 2000, 2001, 2002 Axis Communications AB, LUND, SWEDEN
-*!***************************************************************************/
-/************************** Include files ********************************/
-/************************** Constants and macros *************************/
-/* max length of argument strings */
-#define MAX_STRING_LEN 256
-/************************** Type definitions *****************************/
-struct packet_buf {
- unsigned int size;
- struct packet_buf *next;
- unsigned int seq;
- char *data;
- struct boot_files_T *boot_file;
- unsigned int baud_rate;
-};
-
-struct boot_files_T {
- char *fileName;
- unsigned int *size_p; /* Pointer to size in boot_cmds. */
- unsigned int size; /* Size of file. */
- unsigned int size_sent; /* Number of bytes sent so far. */
- struct boot_files_T *next;
- FILE *fd;
-};
-
-/************************** Global variables *****************************/
-extern int db1;
-extern int db2;
-extern int db3;
-extern int db4;
-
-extern char device[MAX_STRING_LEN];
-extern struct packet_buf *first_packet;
-extern int cmdsOnly; /* Just dump boot cmds to file. */
-extern int toFiles; /* Dump all packets to files. */
-
-/************************** Function prototypes **************************/
-
-struct packet_buf* create_packet (unsigned int seq);
-struct packet_buf* free_packet (struct packet_buf *p);
-void find_string (char *str);
-
-
-