diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-01 09:50:32 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-01 09:50:32 +0000 |
commit | 0c781b2694b2c137d9761704954ea38be5ba8a15 (patch) | |
tree | 55c8bb4ea9f5875da7e4f7ffa6b5e7d2aa87a4b8 /src/arch/i386/lib | |
parent | 84b685af5f1e1cf49c2c2f22ae80a8a0df8472f8 (diff) |
-Â get rid of ASM_CONSOLE_LOGLEVEL except in two assembler files.
- start naming all versions of post code output "post_code()"
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5344 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib')
-rw-r--r-- | src/arch/i386/lib/c_start.S | 6 | ||||
-rw-r--r-- | src/arch/i386/lib/printk_init.c | 11 |
2 files changed, 3 insertions, 14 deletions
diff --git a/src/arch/i386/lib/c_start.S b/src/arch/i386/lib/c_start.S index 4ef59799a9..312f0cb206 100644 --- a/src/arch/i386/lib/c_start.S +++ b/src/arch/i386/lib/c_start.S @@ -15,7 +15,7 @@ _start: movl %eax, %fs movl %eax, %gs - intel_chip_post_macro(0x13) /* post 13 */ + post_code(0x13) /* post 13 */ /** clear stack */ cld @@ -74,7 +74,7 @@ _start: * bss is cleared. Now we call the main routine and * let it do the rest. */ - intel_chip_post_macro(0xfe) /* post fe */ + post_code(0xfe) /* post fe */ /* Restore the stack location */ movl %ebp, %esp @@ -83,7 +83,7 @@ _start: call hardwaremain /*NOTREACHED*/ .Lhlt: - intel_chip_post_macro(0xee) /* post ee */ + post_code(0xee) /* post ee */ hlt jmp .Lhlt diff --git a/src/arch/i386/lib/printk_init.c b/src/arch/i386/lib/printk_init.c index f3add87111..d3064046f7 100644 --- a/src/arch/i386/lib/printk_init.c +++ b/src/arch/i386/lib/printk_init.c @@ -19,19 +19,8 @@ #include <console/console.h> #include <console/vtxprintf.h> -#include <console/loglevel.h> #include <uart8250.h> -/* Using a global varible can cause problems when we reset the stack - * from cache as ram to ram. If we make this a define USE_SHARED_STACK - * we could use the same code on all architectures. - */ -#if 0 -int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL; -#else -#define console_loglevel CONFIG_DEFAULT_CONSOLE_LOGLEVEL -#endif - static void console_tx_byte(unsigned char byte) { if (byte == '\n') |