summaryrefslogtreecommitdiff
path: root/src/pc80/mc146818rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80/mc146818rtc.c')
-rw-r--r--src/pc80/mc146818rtc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pc80/mc146818rtc.c b/src/pc80/mc146818rtc.c
index 1b39db21d1..4bee1cdffe 100644
--- a/src/pc80/mc146818rtc.c
+++ b/src/pc80/mc146818rtc.c
@@ -3,6 +3,9 @@
#include <pc80/mc146818rtc.h>
#include <boot/coreboot_tables.h>
#include <string.h>
+#if CONFIG_HAVE_OPTION_TABLE
+#include <option_table.h>
+#endif
/* control registers - Moto names
*/
@@ -257,7 +260,7 @@ int get_option(void *dest, const char *name)
}
}
if(!found) {
- printk(BIOS_DEBUG, "WARNING: No cmos option '%s'\n", name);
+ printk(BIOS_DEBUG, "WARNING: No CMOS option '%s'.\n", name);
return(-2);
}