diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-11-16 13:34:48 -0800 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-11-20 21:56:05 +0100 |
commit | 8ada1526df06cb50a82305e840a5181a3c65575f (patch) | |
tree | f1033ee31bdff4add530dedc74b7c537cd175714 /src/arch | |
parent | 82ecf4c582fdab341d88bd80ae3e9a629619c263 (diff) | |
download | coreboot-8ada1526df06cb50a82305e840a5181a3c65575f.tar.xz |
Unify use of bool config variables
e.g.
-#if CONFIG_LOGICAL_CPUS == 1
+#if CONFIG_LOGICAL_CPUS
This will make it easier to switch over to use the config_enabled()
macro later on.
Change-Id: I0bcf223669318a7b1105534087c7675a74c1dd8a
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1874
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/lib/c_start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/lib/c_start.S b/src/arch/x86/lib/c_start.S index 9c1fdb106f..a84724d7b9 100644 --- a/src/arch/x86/lib/c_start.S +++ b/src/arch/x86/lib/c_start.S @@ -82,7 +82,7 @@ _start: /* Restore the stack location */ movl %ebp, %esp -#if CONFIG_GDB_WAIT == 1 +#if CONFIG_GDB_WAIT call gdb_stub_breakpoint #endif /* The boot_complete flag has already been pushed */ @@ -235,7 +235,7 @@ int_hand: iret -#if CONFIG_GDB_WAIT == 1 +#if CONFIG_GDB_WAIT .globl gdb_stub_breakpoint gdb_stub_breakpoint: |