mainboard/system76: Use SPDX for GPL-2.0-only files

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

Change-Id: I2aa745e03e62ff8b9b5c9cb6f91d7f832f599f8d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40102
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Angel Pons 2020-04-03 01:23:34 +02:00 committed by Felix Held
parent 274a037f08
commit 4f2dacbf7f
17 changed files with 34 additions and 221 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.
*/
Device (AC) Device (AC)
{ {

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.
*/
Device (BAT0) Device (BAT0)
{ {

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.
*/
Device (PWRB) Device (PWRB)
{ {

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.
*/
Device (EC0) Device (EC0)
{ {

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.
*/
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF) OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
Field (ERAM, ByteAcc, Lock, Preserve) Field (ERAM, ByteAcc, Lock, Preserve)

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.
*/
// GPP_D9 SCI // GPP_D9 SCI
Method (_L29, 0, Serialized) { Method (_L29, 0, Serialized) {

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.
*/
Device (HIDD) Device (HIDD)
{ {

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.
*/
Device (LID0) Device (LID0)
{ {

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.
*/
Scope (\_SB) { Scope (\_SB) {
#include "ac.asl" #include "ac.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.
*/
// Notifications: // Notifications:
// 0x80 - hardware backlight toggle // 0x80 - hardware backlight toggle

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.
*/
/* Method called from _PTS prior to enter sleep state */ /* Method called from _PTS prior to enter sleep state */
Method (MPTS, 1) { Method (MPTS, 1) {

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 <bootblock_common.h> #include <bootblock_common.h>
#include <gpio.h> #include <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 <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.
*/
#ifndef MAINBOARD_GPIO_H #ifndef MAINBOARD_GPIO_H
#define MAINBOARD_GPIO_H #define MAINBOARD_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 <device/azalia_device.h> #include <device/azalia_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.
*/
#include <soc/ramstage.h> #include <soc/ramstage.h>
#include "gpio.h" #include "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 <soc/cnl_memcfg_init.h> #include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h> #include <soc/romstage.h>