summaryrefslogtreecommitdiffstats
path: root/cfe/cfe/include/tftpd.h
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-12-19 13:13:57 +0000
committerroot <root@lamia.panaceas.james.local>2015-12-19 14:18:03 +0000
commit1a2238d1bddc823df06f67312d96ccf9de2893cc (patch)
treec58a3944d674a667f133ea5a730f5037e57d3d2e /cfe/cfe/include/tftpd.h
downloadbootloader-1a2238d1bddc823df06f67312d96ccf9de2893cc.tar.gz
bootloader-1a2238d1bddc823df06f67312d96ccf9de2893cc.tar.bz2
bootloader-1a2238d1bddc823df06f67312d96ccf9de2893cc.zip
CFE from danitool [without hostTools dir]: https://mega.nz/#!mwZyFK7a!CPT3BKC8dEw29kubtdYxhB91G9vIIismTkgzQ3iUy3k
Diffstat (limited to 'cfe/cfe/include/tftpd.h')
-rwxr-xr-xcfe/cfe/include/tftpd.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/cfe/cfe/include/tftpd.h b/cfe/cfe/include/tftpd.h
new file mode 100755
index 0000000..d7a15a9
--- /dev/null
+++ b/cfe/cfe/include/tftpd.h
@@ -0,0 +1,26 @@
+/***************************************************************************
+***
+*** Copyright 2005 Hon Hai Precision Ind. Co. Ltd.
+*** All Rights Reserved.
+*** No portions of this material shall be reproduced in any form without the
+*** written permission of Hon Hai Precision Ind. Co. Ltd.
+***
+*** All information contained in this document is Hon Hai Precision Ind.
+*** Co. Ltd. company private, proprietary, and trade secret property and
+*** are protected by international intellectual property laws and treaties.
+***
+****************************************************************************/
+
+#ifndef __TFTPD_H
+#define __TFTPD_H
+
+/* Foxconn add start by Cliff Wang, 03/23/2010 */
+#define TFTPD_STATE_OFF 0
+#define TFTPD_STATE_WAIT_IMAGE 1
+#define TFTPD_STATE_WRITE_IMAGE 2
+
+extern int get_tftpd_state(void);
+extern int set_tftpd_state(int state);
+/* Foxconn add end by Cliff Wang, 03/23/2010 */
+
+#endif