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

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

Change-Id: I0f41016ea678f63f386c1ae7006b7221a05f6fd9
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40188
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Angel Pons 2020-04-05 13:22:23 +02:00 committed by Felix Held
parent e816d807b9
commit 96d93d142e
18 changed files with 36 additions and 234 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,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.
*/
#include <mainboard/google/parrot/onboard.h> #include <mainboard/google/parrot/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.
*/
/* The _PTS method (Prepare To Sleep) is called before the OS is /* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0 * entering a sleep state. The sleep state number is passed in Arg0

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,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.EHC1.HUB7.PRT1) Scope (\_SB.PCI0.EHC1.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.
*/
#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 <console/console.h> #include <console/console.h>
#include <bootmode.h> #include <bootmode.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 <stdint.h> #include <stdint.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.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 <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 PARROT_EC_H #ifndef PARROT_EC_H
#define PARROT_EC_H #define PARROT_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.
*/
#ifndef PARROT_GPIO_H #ifndef PARROT_GPIO_H
#define PARROT_GPIO_H #define PARROT_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.
*/
/* /*
* Parrot audio ports: * Parrot audio ports:

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 <device/device.h> #include <device/device.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 PARROT_ONBOARD_H #ifndef PARROT_ONBOARD_H
#define PARROT_ONBOARD_H #define PARROT_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 <console/console.h> #include <console/console.h>
#include <cpu/x86/smm.h> #include <cpu/x86/smm.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 PARROT_THERMAL_H #ifndef PARROT_THERMAL_H
#define PARROT_THERMAL_H #define PARROT_THERMAL_H