summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-02-13 11:07:38 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-04-01 20:54:48 +0200
commit8b5b764af6562235823f03c04e8184f048ab6320 (patch)
tree32f7a6cf434de8cadd80989477891ccd0caa2c50 /src/console
parentd2be1f11e11b68d88f9065ae75f32d7982cc3fe6 (diff)
downloadcoreboot-8b5b764af6562235823f03c04e8184f048ab6320.tar.xz
console: Make use of CONFIG_USE_OPTION_TABLE
It makes much more sense to use CONFIG_USE_OPTION_TABLE instead of CONFIG_HAVE_CMOS_DEFAULT. As we want to read the used debug_level from our CMOS. This change makes it possible to change log_debug via nvramtool and make use of the new value after a reboot/poweroff. CONFIG_HAVE_CMOS_DEFAULT does have an other meaning Change-Id: I438dd01a2b4171dba2b73f2001511c71f4317725 Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/2381 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 34a26ecb51..afbba9dd4f 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -30,7 +30,7 @@
* storage can be used. This will benefit machines without CMOS as well as those
* without a battery-backed CMOS (e.g. some laptops).
*/
-#if CONFIG_HAVE_CMOS_DEFAULT
+#if CONFIG_USE_OPTION_TABLE
#include <pc80/mc146818rtc.h>
#else
static inline int get_option(void *dest, const char *name) { return -1; }