diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-08-03 10:35:06 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-08-03 10:35:06 +0000 |
commit | 912857ec6c0995281460260de8da9f19277eb2f3 (patch) | |
tree | b22605aafc05f54d624902d6810fb8db9b69ec73 /src/arch/i386/lib/console.c | |
parent | 87c938f139b14a2e0b7fbfa6476c3caaa953e968 (diff) | |
download | coreboot-912857ec6c0995281460260de8da9f19277eb2f3.tar.xz |
fix lots of warnings for cache as ram builds (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3467 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib/console.c')
-rw-r--r-- | src/arch/i386/lib/console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/i386/lib/console.c b/src/arch/i386/lib/console.c index 59bb1000be..abeb2d90a1 100644 --- a/src/arch/i386/lib/console.c +++ b/src/arch/i386/lib/console.c @@ -13,9 +13,11 @@ static void __console_tx_byte(unsigned char byte) #include "console_printk.c" +#if CONFIG_USE_INIT == 0 // do_printk #include "../../../console/vtxprintf.c" #include "printk_init.c" +#endif #endif /* CONFIG_USE_PRINTK_IN_CAR */ @@ -23,7 +25,6 @@ static void __console_tx_byte(unsigned char byte) #define COREBOOT_EXTRA_VERSION "" #endif - static void console_init(void) { static const char console_test[] = |