X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fnet.h;h=7673470046f596263e170d0facbdffba74540299;hb=c3e0afca4837e688d8e3dca273a9e0ded3599a63;hp=970d4d1fab13df2c093062e1cf015625bb5db558;hpb=1cc619be8b73abbee2fd6faf2cd4ade27b516531;p=u-boot diff --git a/include/net.h b/include/net.h index 970d4d1fab..7673470046 100644 --- a/include/net.h +++ b/include/net.h @@ -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; /** @@ -695,6 +695,9 @@ extern void copy_filename(char *dst, const char *src, int size); /* get a random source port */ extern unsigned int random_port(void); +/* Update U-Boot over TFTP */ +extern int update_tftp(ulong addr); + /**********************************************************************/ #endif /* __NET_H__ */