X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;ds=sidebyside;f=common%2Fcmd_fitupd.c;h=e811473b47e9ca19bf65a37bea2bd99fa88a421f;hb=b892465dae6afc5528724c044991a76f241cd177;hp=7a3789e3ed4bc312926e81c0002fc580c8422217;hpb=12ae615fba9ac962df97d1367291c9563bfb6da4;p=karo-tx-uboot.git diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c index 7a3789e3ed..e811473b47 100644 --- a/common/cmd_fitupd.c +++ b/common/cmd_fitupd.c @@ -1,20 +1,22 @@ -/* - * (C) Copyright 2011 - * Andreas Pretzsch, carpe noctem engineering, apr@cn-eng.de - * - * This file is released under the terms of GPL v2 and any later version. - * See the file COPYING in the root directory of the source tree for details. +de + +#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[]) +{ + ulong addr = 0Un the root directory of the source tree for details. */ #include #include +#include #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;