1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-10-16 15:21:54 +02:00

cli: Use SPDX in headers

Change-Id: Ie523cf5b26a29de8e9e9efb56efe04a5ff86a59c
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/85073
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Antonio Vázquez Blanco
2024-11-09 11:44:22 +01:00
committed by Anastasia Klimchuk
parent 5f37cfcd31
commit 690ec44e0b
6 changed files with 19 additions and 81 deletions

View File

@@ -1,20 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2000 Silicon Integrated System Corporation * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2004 Tyan Corp <yhlu@tyan.com> * SPDX-FileCopyrightText: 2000 Silicon Integrated System Corporation
* Copyright (C) 2005-2008 coresystems GmbH * SPDX-FileCopyrightText: 2004 Tyan Corp <yhlu@tyan.com>
* Copyright (C) 2008,2009,2010 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2005-2008 coresystems GmbH
* * SPDX-FileCopyrightText: 2008,2009,2010 Carl-Daniel Hailfinger
* 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 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.
*/ */
#include <errno.h> #include <errno.h>

View File

@@ -1,19 +1,10 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2009 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2011-2014 Stefan Tauner * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2011-2014 Stefan Tauner
* 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 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.
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@@ -1,28 +1,10 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* It comes originally from the musl libc project and is licensed under the * It comes originally from the musl libc project.
* terms of the MIT license.
* *
* Copyringht (C) 2023 Rich Felker and the musl authors * SPDX-License-Identifier: MIT
* Adjusted for flashrom by Thomas Heijligen<thomas.heijligen@secunet.com> * SPDX-FileCopyrightText: 2023 Rich Felker and the musl authors
* * SPDX-FileCopyrightText: Thomas Heijligen <thomas.heijligen@secunet.com>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/ */
#include <cli_getopt.h> #include <cli_getopt.h>

View File

@@ -1,18 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2011 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009 Sean Nelson <audiohacked@gmail.com>
* * SPDX-FileCopyrightText: 2011 Carl-Daniel Hailfinger
* 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 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.
*/ */
#include <cli_output.h> #include <cli_output.h>

View File

@@ -1,15 +1,7 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* This program is free software; you can redistribute it and/or modify * SPDX-License-Identifier: GPL-2.0-or-later
* 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 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.
*/ */
#ifndef __CLI_GETOPT_H__ #ifndef __CLI_GETOPT_H__

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright 2024 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2024 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
* 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 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.
*/ */
#ifndef __CLI_OUTPUT_H__ #ifndef __CLI_OUTPUT_H__