aboutsummaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n217
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2006-12-05 14:13:10 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2006-12-05 14:13:10 +0000
commitd82baa1a2e9a10fc74e225cc9d472a8cf742dfa7 (patch)
treec1e39579ebfc7304904453d38dcdba0ec8b6abde /src/superio/smsc/lpc47n217
parentfe6d118b089848c2f1676e7e828901fffdbef2cf (diff)
Add missing license headers to some files (info based on svn history).
Adapt some existing license headers to use the common LinuxBIOS format. Please note that this does not make any qualitative license changes, merely cosmetic syntax changes (trivial). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2519 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/lpc47n217')
-rw-r--r--src/superio/smsc/lpc47n217/Config.lb24
-rw-r--r--src/superio/smsc/lpc47n217/chip.h36
-rw-r--r--src/superio/smsc/lpc47n217/lpc47n217.h36
-rw-r--r--src/superio/smsc/lpc47n217/lpc47n217_early_serial.c6
-rw-r--r--src/superio/smsc/lpc47n217/superio.c15
5 files changed, 90 insertions, 27 deletions
diff --git a/src/superio/smsc/lpc47n217/Config.lb b/src/superio/smsc/lpc47n217/Config.lb
index 2a8ae62d76..66548ec3bd 100644
--- a/src/superio/smsc/lpc47n217/Config.lb
+++ b/src/superio/smsc/lpc47n217/Config.lb
@@ -1,2 +1,22 @@
-config chip.h
-object superio.o
+##
+## This file is part of the LinuxBIOS project.
+##
+## Copyright (C) 2005 Digital Design Corporation
+##
+## 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.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+config chip.h
+object superio.o
diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h
index abd7e461bf..a17ded8a75 100644
--- a/src/superio/smsc/lpc47n217/chip.h
+++ b/src/superio/smsc/lpc47n217/chip.h
@@ -1,8 +1,28 @@
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47n217_ops;
-
-#include <uart8250.h>
-
-struct superio_smsc_lpc47n217_config {
- struct uart8250 com1, com2;
-};
+/*
+ * This file is part of the LinuxBIOS project.
+ *
+ * Copyright (C) 2005 Digital Design Corporation
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+struct chip_operations;
+extern struct chip_operations superio_smsc_lpc47n217_ops;
+
+#include <uart8250.h>
+
+struct superio_smsc_lpc47n217_config {
+ struct uart8250 com1, com2;
+};
diff --git a/src/superio/smsc/lpc47n217/lpc47n217.h b/src/superio/smsc/lpc47n217/lpc47n217.h
index 15c3d29e35..2dd940b3e9 100644
--- a/src/superio/smsc/lpc47n217/lpc47n217.h
+++ b/src/superio/smsc/lpc47n217/lpc47n217.h
@@ -1,8 +1,28 @@
-// These are arbitrary, but must match declarations in the mainboard config file.
-// Values chosen to match SMSC 47B37x.
-
-#define LPC47N217_PP 3 /* Parallel Port */
-#define LPC47N217_SP1 4 /* Com1 */
-#define LPC47N217_SP2 5 /* Com2 */
-
-#define LPC47N217_MAX_CONFIG_REGISTER 0x39
+/*
+ * This file is part of the LinuxBIOS project.
+ *
+ * Copyright (C) 2005 Digital Design Corporation
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+// These are arbitrary, but must match declarations in the mainboard config file.
+// Values chosen to match SMSC 47B37x.
+
+#define LPC47N217_PP 3 /* Parallel Port */
+#define LPC47N217_SP1 4 /* Com1 */
+#define LPC47N217_SP2 5 /* Com2 */
+
+#define LPC47N217_MAX_CONFIG_REGISTER 0x39
diff --git a/src/superio/smsc/lpc47n217/lpc47n217_early_serial.c b/src/superio/smsc/lpc47n217/lpc47n217_early_serial.c
index ae7c2a73a5..b29cbe557d 100644
--- a/src/superio/smsc/lpc47n217/lpc47n217_early_serial.c
+++ b/src/superio/smsc/lpc47n217/lpc47n217_early_serial.c
@@ -1,5 +1,5 @@
/*
- * lpc47n217_early_serial.c: Pre-RAM driver for SMSC LPC47N217 Super I/O chip
+ * This file is part of the LinuxBIOS project.
*
* Copyright (C) 2005 Digital Design Corporation
*
@@ -15,9 +15,11 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */
+
#include <arch/romcc_io.h>
#include <assert.h>
#include "lpc47n217.h"
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index e7a5b5c0c9..690f008637 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -1,11 +1,9 @@
/*
- * superio.c: RAM-based driver for SMSC LPC47N217 Super I/O chip
- *
- * Based on LinuxBIOS code for SMSC 47B397:
- * Copyright 2000 AG Electronics Ltd.
- * Copyright 2003-2004 Linux Networx
- * Copyright 2004 Tyan
+ * This file is part of the LinuxBIOS project.
*
+ * Copyright (C) 2000 AG Electronics Ltd.
+ * Copyright (C) 2003-2004 Linux Networx
+ * Copyright (C) 2004 Tyan
* Copyright (C) 2005 Digital Design Corporation
*
* This program is free software; you can redistribute it and/or modify
@@ -20,9 +18,12 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* RAM-based driver for SMSC LPC47N217 Super I/O chip. */
+/* Based on LinuxBIOS code for SMSC 47B397. */
+
#include <arch/io.h>
#include <device/device.h>
#include <device/pnp.h>