]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
common/cmd_fitupd.c: restore corrupted file
authorWolfgang Denk <wd@denx.de>
Thu, 6 Nov 2014 13:03:01 +0000 (14:03 +0100)
committerTom Rini <trini@ti.com>
Fri, 7 Nov 2014 21:27:08 +0000 (16:27 -0500)
This file got corrupted by the automatic editin of commit 1a45966 "Add
GPL-2.0+ SPDX-License-Identifier to source files"; restore the
opiginal content and manually insert the SPDX ID.

The bug was detected by running cppcheck, which reported:
[common/cmd_fitupd.c:8]: (error) Invalid number of character ({) when
these macros are defined: 'CONFIG_UPDATE_TFTP'.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_fitupd.c

index e811473b47e9ca19bf65a37bea2bd99fa88a421f..b0459744d98d075f8257e01bc6683edbc5a5988d 100644 (file)
@@ -1,12 +1,8 @@
-de <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[])
-{
-       ulong addr = 0Un the root directory of the source tree for details.
+/*
+ * (C) Copyright 2011
+ * Andreas Pretzsch, carpe noctem engineering, apr@cn-eng.de
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>