diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-04-21 23:15:45 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-27 21:16:05 +0200 |
commit | 1a546e28341ba3e733d1f1f9fc6d60de6b195298 (patch) | |
tree | b9fcd4c5c32509d74bbef58a43074d447ed521c5 /commands/spd_decode.c | |
parent | 9e630679a08c54c1a188a17cc7e776d7818e5e3f (diff) | |
download | barebox-1a546e28341ba3e733d1f1f9fc6d60de6b195298.tar.gz barebox-1a546e28341ba3e733d1f1f9fc6d60de6b195298.tar.xz |
commands/*: Replace license and copyright boilerplate by SPDX identfiers
While at it also drop references to the non-existing CREDITS file and do
some small rearrangements for some uniform formatting.
(SPDX-License-Identifier first, then copyright texts and then an empty
line.)
The advantage is that these specifiers are machine-parseable which helps
license conformance.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/spd_decode.c')
-rw-r--r-- | commands/spd_decode.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/commands/spd_decode.c b/commands/spd_decode.c index 08b9589622..e8ee339a91 100644 --- a/commands/spd_decode.c +++ b/commands/spd_decode.c @@ -1,25 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2015 Alexander Smirnov <alllecs@yandex.ru> + /* * This program is decoding and printing SPD contents * in human readable format * As an argument program, you must specify the file 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 of - * the License, or (at your option) any later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ALTERA CORPORATION BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Copyright (C) 2015 Alexander Smirnov <alllecs@yandex.ru> */ #include <common.h> |