diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2006-12-05 14:13:10 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2006-12-05 14:13:10 +0000 |
commit | d82baa1a2e9a10fc74e225cc9d472a8cf742dfa7 (patch) | |
tree | c1e39579ebfc7304904453d38dcdba0ec8b6abde | |
parent | fe6d118b089848c2f1676e7e828901fffdbef2cf (diff) | |
download | coreboot-staging-d82baa1a2e9a10fc74e225cc9d472a8cf742dfa7.zip coreboot-staging-d82baa1a2e9a10fc74e225cc9d472a8cf742dfa7.tar.gz |
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
-rw-r--r-- | src/superio/smsc/lpc47b272/Config.lb | 21 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b272/chip.h | 20 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b272/lpc47b272.h | 21 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b272/lpc47b272_early_serial.c | 6 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b272/superio.c | 12 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/Config.lb | 24 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/chip.h | 36 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/lpc47n217.h | 36 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/lpc47n217_early_serial.c | 6 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/superio.c | 15 |
10 files changed, 163 insertions, 34 deletions
diff --git a/src/superio/smsc/lpc47b272/Config.lb b/src/superio/smsc/lpc47b272/Config.lb index f62a567..8e7fa09 100644 --- a/src/superio/smsc/lpc47b272/Config.lb +++ b/src/superio/smsc/lpc47b272/Config.lb @@ -1,2 +1,23 @@ +## +## 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/lpc47b272/chip.h b/src/superio/smsc/lpc47b272/chip.h index 74084d7..78e76e1 100644 --- a/src/superio/smsc/lpc47b272/chip.h +++ b/src/superio/smsc/lpc47b272/chip.h @@ -1,3 +1,23 @@ +/* + * 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_lpc47b272_ops; diff --git a/src/superio/smsc/lpc47b272/lpc47b272.h b/src/superio/smsc/lpc47b272/lpc47b272.h index 486b858..4907c01 100644 --- a/src/superio/smsc/lpc47b272/lpc47b272.h +++ b/src/superio/smsc/lpc47b272/lpc47b272.h @@ -1,3 +1,23 @@ +/* + * 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 + */ + #define LPC47B272_FDC 0 /* Floppy */ #define LPC47B272_PP 3 /* Parallel Port */ #define LPC47B272_SP1 4 /* Com1 */ @@ -6,3 +26,4 @@ #define LPC47B272_RT 10 /* Runtime reg*/ #define LPC47B272_MAX_CONFIG_REGISTER 0x5F + diff --git a/src/superio/smsc/lpc47b272/lpc47b272_early_serial.c b/src/superio/smsc/lpc47b272/lpc47b272_early_serial.c index 39444c0..7b36822 100644 --- a/src/superio/smsc/lpc47b272/lpc47b272_early_serial.c +++ b/src/superio/smsc/lpc47b272/lpc47b272_early_serial.c @@ -1,5 +1,5 @@ /* - * lpc47b272_early_serial.c: Pre-RAM driver for SMSC LPC47B272 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 LPC47B272 Super I/O chip. */ + #include <arch/romcc_io.h> #include "lpc47b272.h" diff --git a/src/superio/smsc/lpc47b272/superio.c b/src/superio/smsc/lpc47b272/superio.c index be9e8b4..8e59b9f 100644 --- a/src/superio/smsc/lpc47b272/superio.c +++ b/src/superio/smsc/lpc47b272/superio.c @@ -1,9 +1,9 @@ /* - * superio.c: RAM driver for SMSC LPC47B272 Super I/O chip + * This file is part of the LinuxBIOS project. * - * Copyright 2000 AG Electronics Ltd. - * Copyright 2003-2004 Linux Networx - * Copyright 2004 Tyan + * 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 @@ -18,9 +18,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 */ +/* RAM driver for SMSC LPC47B272 Super I/O chip. */ + #include <arch/io.h> #include <device/device.h> #include <device/pnp.h> diff --git a/src/superio/smsc/lpc47n217/Config.lb b/src/superio/smsc/lpc47n217/Config.lb index 2a8ae62..66548ec 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 abd7e46..a17ded8 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 15c3d29..2dd940b 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 ae7c2a7..b29cbe5 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 e7a5b5c..690f008 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> |