From b4d3af8888f261abb1f45ca42503f7170bdb3470 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 11 Feb 2010 03:21:29 +0000 Subject: separate build.h and config.h usage (now possible because newconfig is gone) Signed-off-by: Stefan Reinauer Acked-by: Patrick Georgi This patch is slightly reworked to include a necessary romcc change that allows more than one -include specified on the command line, and gets rid of the explicit build.h dependencies of all files. (The files do keep an explicit config.h dependency though) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5114 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/lib/console.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/arch/i386/lib') diff --git a/src/arch/i386/lib/console.c b/src/arch/i386/lib/console.c index b5d3c1bffe..2f4500cef1 100644 --- a/src/arch/i386/lib/console.c +++ b/src/arch/i386/lib/console.c @@ -1,3 +1,4 @@ +#include #include #if CONFIG_USE_PRINTK_IN_CAR == 0 @@ -6,10 +7,6 @@ #include "console_printk.c" #endif /* CONFIG_USE_PRINTK_IN_CAR */ -#ifndef COREBOOT_EXTRA_VERSION -#define COREBOOT_EXTRA_VERSION "" -#endif - void console_init(void) { static const char console_test[] = @@ -22,7 +19,6 @@ void console_init(void) print_info(console_test); } - void die(const char *str) { print_emerg(str); -- cgit v1.2.3