Commit 1aaab00d8889d7a573f0f13480e274a390c26b06

Authored by Wolfgang Denk
Committed by Tom Rini
1 parent 1779dc0fe4

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>

Showing 1 changed file with 5 additions and 9 deletions Side-by-side Diff

1   -de <net.h>
2   -
3   -#if !defined(CONFIG_UPDATE_TFTP)
4   -#error "CONFIG_UPDATE_TFTP required"
5   -#endif
6   -
7   -static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
8   -{
9   - ulong addr = 0Un the root directory of the source tree for details.
  1 +/*
  2 + * (C) Copyright 2011
  3 + * Andreas Pretzsch, carpe noctem engineering, apr@cn-eng.de
  4 + *
  5 + * SPDX-License-Identifier: GPL-2.0+
10 6 */
11 7  
12 8 #include <common.h>