]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/net.h
Merge remote-tracking branch 'remotes/tx53-devel/tx53-devel' into karo-tx-uboot
[karo-tx-uboot.git] / include / net.h
index 23fb947292ccf3e1e1b805e86c11ac75106f3107..faa4b50cd689d90e2ad4ad179b711910462fc3fb 100644 (file)
@@ -39,7 +39,7 @@
 #define PKTALIGN       ARCH_DMA_MINALIGN
 
 /* IPv4 addresses are always 32 bits in size */
-typedef u32            IPaddr_t;
+typedef __be32         IPaddr_t;
 
 
 /**
@@ -437,7 +437,7 @@ extern int          NetRestartWrap;         /* Tried all network devices */
 
 enum proto_t {
        BOOTP, RARP, ARP, TFTPGET, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP,
-       TFTPSRV, TFTPPUT, LINKLOCAL
+       TFTPSRV, TFTPPUT, LINKLOCAL, BOOTME
 };
 
 /* from net/net.c */
@@ -573,6 +573,9 @@ static inline void eth_set_last_protocol(int protocol)
        net_loop_last_protocol = protocol;
 #endif
 }
+#ifdef CONFIG_CMD_BOOTCE
+void BootmeStart(void);
+#endif
 
 /*
  * Check if autoload is enabled. If so, use either NFS or TFTP to download