summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-09-27 18:49:46 +0000
committerStefan Reinauer <stepan@openbios.org>2010-09-27 18:49:46 +0000
commit2a8ad41e7b3fd0aba353312f3580db079c8988d9 (patch)
treec45b83227f1f8ae64472887c8bc2dcf50dfd6b29
parent2dd1ded19736b322e410eee05375446af013feb5 (diff)
downloadcoreboot-2a8ad41e7b3fd0aba353312f3580db079c8988d9.tar.xz
Add 2 missing license headers based on svn logs and remove an unneeded #include
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/console/console.c18
-rw-r--r--src/include/console/console.h20
2 files changed, 35 insertions, 3 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 833d287c6c..fb31c46a7a 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -1,5 +1,20 @@
/*
- * Bootstrap code for the INTEL
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2003 Eric Biederman
+ *
+ * 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.
+ *
+ * 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
*/
#include <console/console.h>
@@ -102,7 +117,6 @@ void __attribute__((noreturn)) die(const char *msg)
void console_init(void)
{
-
#if CONFIG_CONSOLE_NE2K
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
#endif
diff --git a/src/include/console/console.h b/src/include/console/console.h
index 5501edf629..c2e4258c70 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -1,7 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2003 Eric Biederman
+ *
+ * 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.
+ *
+ * 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
+ */
+
#ifndef CONSOLE_CONSOLE_H_
#define CONSOLE_CONSOLE_H_
-#include <stdint.h>
#include <console/loglevel.h>
#ifndef __PRE_RAM__