From 2a8ad41e7b3fd0aba353312f3580db079c8988d9 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 27 Sep 2010 18:49:46 +0000 Subject: [PATCH 1/1] Add 2 missing license headers based on svn logs and remove an unneeded #include Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/console.c | 18 ++++++++++++++++-- src/include/console/console.h | 20 +++++++++++++++++++- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/src/console/console.c b/src/console/console.c index 833d287c6..fb31c46a7 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 @@ -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 5501edf62..c2e4258c7 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 #include #ifndef __PRE_RAM__ -- 2.25.1