[coreboot] New patch to review for coreboot: 491e2ba console: Fix using CMOS for options

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Feb 8 09:45:20 CET 2013


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2323

-gerrit

commit 491e2ba8cb960cd9882a82618e9ad13aa68c0ecc
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Fri Feb 8 09:38:49 2013 +0100

    console: Fix using CMOS for options
    
    Just a tiny mistake, but it made the console driver assume that
    CMOS data isn't available.
    
    Change-Id: I4e6f53e9ed59024de7b09333f82f0ce3235ef8f6
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 src/console/console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/console/console.c b/src/console/console.c
index aec711b..34a26ec 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).
  */
-#ifdef HAVE_CMOS_DEFAULT
+#if CONFIG_HAVE_CMOS_DEFAULT
 #include <pc80/mc146818rtc.h>
 #else
 static inline int get_option(void *dest, const char *name) { return -1; }



More information about the coreboot mailing list