]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_fitupd.c
common/image.c: Fix regression with ramdisk load/entry points in FIT
[u-boot] / common / cmd_fitupd.c
index 7a3789e3ed4bc312926e81c0002fc580c8422217..618ff7c8d62ba36601db5f9b0c967b23d72d01be 100644 (file)
@@ -8,13 +8,12 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 
 #if !defined(CONFIG_UPDATE_TFTP)
 #error "CONFIG_UPDATE_TFTP required"
 #endif
 
-extern int update_tftp(ulong addr);
-
 static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        ulong addr = 0UL;