3 #if !defined(CONFIG_UPDATE_TFTP)
4 #error "CONFIG_UPDATE_TFTP required"
7 static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
9 ulong addr = 0Un the root directory of the source tree for details.
16 #if !defined(CONFIG_UPDATE_TFTP)
17 #error "CONFIG_UPDATE_TFTP required"
20 static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
28 addr = simple_strtoul(argv[1], NULL, 16);
30 return update_tftp(addr);
33 U_BOOT_CMD(fitupd, 2, 0, do_fitupd,
34 "update from FIT image",
36 "\t- run update from FIT image at addr\n"
37 "\t or from tftp 'updatefile'"