summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/common
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-01-23 17:12:32 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-01-30 12:08:41 +0000
commit3f3eca9b32f7472469b6d4ce1ac155d9ce425749 (patch)
tree3649646f9ef3885bc08f7f332fec7e006ac9c7f7 /src/superio/nuvoton/common
parent874466481c59bbaceafc64c3631e8c705224033a (diff)
src/superio: replace license boilerplate with SPDX
The authors from the header of the files are added in a previous commit. Change-Id: Iafeaafb9689c65bd2f5de3960097ec0d4c1009e7 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38544 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/nuvoton/common')
-rw-r--r--src/superio/nuvoton/common/Kconfig16
-rw-r--r--src/superio/nuvoton/common/early_serial.c19
-rw-r--r--src/superio/nuvoton/common/hwm.c17
-rw-r--r--src/superio/nuvoton/common/hwm.h17
-rw-r--r--src/superio/nuvoton/common/nuvoton.h18
5 files changed, 10 insertions, 77 deletions
diff --git a/src/superio/nuvoton/common/Kconfig b/src/superio/nuvoton/common/Kconfig
index 0af556caab..35052e9061 100644
--- a/src/superio/nuvoton/common/Kconfig
+++ b/src/superio/nuvoton/common/Kconfig
@@ -1,17 +1,5 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2011 Advanced Micro Devices, Inc.
-##
-## 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.
-##
+# SPDX-License-Identifier: GPL-2.0-only
+# This file is part of the coreboot project.
# Generic Nuvoton romstage driver - Just enough UART initialisation code for
# pre-ram.
diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c
index 29418dbf9e..ed31b721fb 100644
--- a/src/superio/nuvoton/common/early_serial.c
+++ b/src/superio/nuvoton/common/early_serial.c
@@ -1,20 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2011 Advanced Micro Devices, Inc.
- * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
- * Copyright (C) 2014 Felix Held <felix-coreboot@felixheld.de>
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* This file is part of the coreboot project. */
/*
* A generic romstage (pre-ram) driver for Nuvoton variant Super I/O chips.
diff --git a/src/superio/nuvoton/common/hwm.c b/src/superio/nuvoton/common/hwm.c
index bfc916fedc..d6c15af7ed 100644
--- a/src/superio/nuvoton/common/hwm.c
+++ b/src/superio/nuvoton/common/hwm.c
@@ -1,18 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2019 Felix Held <felix-coreboot@felixheld.de>
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* This file is part of the coreboot project. */
/* Nuvoton is a Winbond spin-off, so this code is for both */
diff --git a/src/superio/nuvoton/common/hwm.h b/src/superio/nuvoton/common/hwm.h
index 15dcf62448..be47a77727 100644
--- a/src/superio/nuvoton/common/hwm.h
+++ b/src/superio/nuvoton/common/hwm.h
@@ -1,18 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2019 Felix Held <felix-coreboot@felixheld.de>
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* This file is part of the coreboot project. */
#ifndef SUPERIO_NUVOTON_COMMON_HWM_H
#define SUPERIO_NUVOTON_COMMON_HWM_H
diff --git a/src/superio/nuvoton/common/nuvoton.h b/src/superio/nuvoton/common/nuvoton.h
index 688364a0d2..f5b317671d 100644
--- a/src/superio/nuvoton/common/nuvoton.h
+++ b/src/superio/nuvoton/common/nuvoton.h
@@ -1,19 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
- * Copyright (C) 2014 Felix Held <felix-coreboot@felixheld.de>
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* This file is part of the coreboot project. */
#ifndef SUPERIO_NUVOTON_COMMON_PRE_RAM_H
#define SUPERIO_NUVOTON_COMMON_PRE_RAM_H