mb/google/slippy: Use SPDX for GPL-2.0-only files

Done with sed and God Lines. Only done for C-like code for now.

Change-Id: I74fd273aff05e6635d4964f3614c2f1dd5562b4b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40194
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-04-05 13:22:44 +02:00 committed by Felix Held
parent 08b5280c9f
commit d28443e5c6
34 changed files with 68 additions and 444 deletions

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
/* mainboard configuration */ /* mainboard configuration */
#include "../ec.h" #include "../ec.h"

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
* 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; version 2 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.
*/
#include <onboard.h> #include <onboard.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <southbridge/intel/common/acpi/platform.asl> #include <southbridge/intel/common/acpi/platform.asl>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
/* mainboard configuration */ /* mainboard configuration */
#include "../ec.h" #include "../ec.h"

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
// Thermal Zone // Thermal Zone

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <types.h> #include <types.h>
#include <arch/acpi.h> #include <arch/acpi.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <bootmode.h> #include <bootmode.h>
#include <boot/coreboot_tables.h> #include <boot/coreboot_tables.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <arch/acpi.h> #include <arch/acpi.h>
DefinitionBlock( DefinitionBlock(

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <arch/acpi.h> #include <arch/acpi.h>
#include <types.h> #include <types.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef MAINBOARD_EC_H #ifndef MAINBOARD_EC_H
#define MAINBOARD_EC_H #define MAINBOARD_EC_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <types.h> #include <types.h>
#include <smbios.h> #include <smbios.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef ONBOARD_H #ifndef ONBOARD_H
#define ONBOARD_H #define ONBOARD_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <arch/romstage.h> #include <arch/romstage.h>
#include "variant.h" #include "variant.h"

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <arch/acpi.h> #include <arch/acpi.h>
#include <arch/io.h> #include <arch/io.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef THERMAL_H #ifndef THERMAL_H
#define THERMAL_H #define THERMAL_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef VARIANT_H #ifndef VARIANT_H
#define VARIANT_H #define VARIANT_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <device/azalia_device.h> #include <device/azalia_device.h>

View File

@ -1,17 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.I2C0) Scope (\_SB.PCI0.I2C0)
{ {

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef FALCO_GPIO_H #ifndef FALCO_GPIO_H
#define FALCO_GPIO_H #define FALCO_GPIO_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <device/azalia_device.h> #include <device/azalia_device.h>

View File

@ -1,17 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.I2C0) Scope (\_SB.PCI0.I2C0)
{ {

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef LEON_GPIO_H #ifndef LEON_GPIO_H
#define LEON_GPIO_H #define LEON_GPIO_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <device/azalia_device.h> #include <device/azalia_device.h>

View File

@ -1,17 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.I2C0) Scope (\_SB.PCI0.I2C0)
{ {

View File

@ -1,15 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.XHCI.HUB7.PRT1) Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
{ {

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef PEPPY_GPIO_H #ifndef PEPPY_GPIO_H
#define PEPPY_GPIO_H #define PEPPY_GPIO_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <device/azalia_device.h> #include <device/azalia_device.h>

View File

@ -1,17 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.I2C0) Scope (\_SB.PCI0.I2C0)
{ {

View File

@ -1,15 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
* 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; version 2 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.
*/
Scope (\_SB.PCI0.XHCI.HUB7.PRT1) Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
{ {

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#ifndef WOLF_GPIO_H #ifndef WOLF_GPIO_H
#define WOLF_GPIO_H #define WOLF_GPIO_H

View File

@ -1,16 +1,5 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This file is part of the coreboot project. /* This file is part of the coreboot project. */
*
*
* 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; version 2 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.
*/
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>