diff options
Diffstat (limited to 'cmd/fitupd.c')
-rw-r--r-- | cmd/fitupd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd/fitupd.c b/cmd/fitupd.c index 1e5edd9f9b..0f490c58fc 100644 --- a/cmd/fitupd.c +++ b/cmd/fitupd.c @@ -8,11 +8,8 @@ #include <command.h> #include <net.h> -#if !defined(CONFIG_UPDATE_TFTP) -#error "CONFIG_UPDATE_TFTP required" -#endif - -static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_fitupd(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { ulong addr = 0UL; |