summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-11-06 14:03:01 +0100
committerTom Rini <trini@ti.com>2014-11-07 16:27:08 -0500
commit1aaab00d8889d7a573f0f13480e274a390c26b06 (patch)
tree42601737075fb405d96b980fa8ef649fe3124291
parent1779dc0fe45ab303c44f19dfd13df00269e42ad5 (diff)
downloadu-boot-imx-1aaab00d8889d7a573f0f13480e274a390c26b06.zip
u-boot-imx-1aaab00d8889d7a573f0f13480e274a390c26b06.tar.gz
u-boot-imx-1aaab00d8889d7a573f0f13480e274a390c26b06.tar.bz2
common/cmd_fitupd.c: restore corrupted file
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>
-rw-r--r--common/cmd_fitupd.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c
index e811473..b045974 100644
--- a/common/cmd_fitupd.c
+++ b/common/cmd_fitupd.c
@@ -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>