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>
This commit is contained in:
Wolfgang Denk 2014-11-06 14:03:01 +01:00 committed by Tom Rini
parent 1779dc0fe4
commit 1aaab00d88

View file

@ -1,12 +1,8 @@
de <net.h> /*
* (C) Copyright 2011
#if !defined(CONFIG_UPDATE_TFTP) * Andreas Pretzsch, carpe noctem engineering, apr@cn-eng.de
#error "CONFIG_UPDATE_TFTP required" *
#endif * SPDX-License-Identifier: GPL-2.0+
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 <common.h> #include <common.h>