From 8b5b764af6562235823f03c04e8184f048ab6320 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 13 Feb 2013 11:07:38 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/2381 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console') 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 #else static inline int get_option(void *dest, const char *name) { return -1; } -- cgit v1.2.3