drivers/rtc/ds3231.c: fix GCC 4.6 build warnings
[platform/kernel/u-boot.git] / include / net.h
index 495f60e..ad9afbf 100644 (file)
@@ -367,7 +367,7 @@ extern int          NetRestartWrap;         /* Tried all network devices    */
 
 enum proto_t {
        BOOTP, RARP, ARP, TFTPGET, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP,
-       TFTPSRV
+       TFTPSRV, TFTPPUT
 };
 
 /* from net/net.c */
@@ -430,6 +430,12 @@ extern int NetSendUDPPacket(uchar *ether, IPaddr_t dest, int dport, int sport, i
 extern void    NetReceive(volatile uchar *, int);
 
 /*
+ * Check if autoload is enabled. If so, use either NFS or TFTP to download
+ * the boot file.
+ */
+void net_auto_load(void);
+
+/*
  * The following functions are a bit ugly, but necessary to deal with
  * alignment restrictions on ARM.
  *