summaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-08-06 12:59:23 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-08-09 16:08:59 +0200
commit5ecd99f7d2f3456a9178e030bbed68e687b904ce (patch)
tree14a7d046250eafaaf970d31aee989507f0928812 /tools/firmware-utils
parent0e85dc0e913165c0c215b48da3f5a7ed4e209481 (diff)
downloadopenwrt-5ecd99f7d2f3456a9178e030bbed68e687b904ce.tar.gz
openwrt-5ecd99f7d2f3456a9178e030bbed68e687b904ce.tar.bz2
openwrt-5ecd99f7d2f3456a9178e030bbed68e687b904ce.zip
firmware-utils: nand_ecc: replace GPL boilerplate with SPDX
Cc: yajin <yajin@vm-kernel.org> Cc: Felix Fietkau <nbd@nbd.name> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/nand_ecc.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/firmware-utils/src/nand_ecc.c b/tools/firmware-utils/src/nand_ecc.c
index 58fb6ce0db..7189278011 100644
--- a/tools/firmware-utils/src/nand_ecc.c
+++ b/tools/firmware-utils/src/nand_ecc.c
@@ -1,23 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
/*
* calculate ecc code for nand flash
*
* Copyright (C) 2008 yajin <yajin@vm-kernel.org>
* Copyright (C) 2009 Felix Fietkau <nbd@nbd.name>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 or
- * (at your option) version 3 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
*/