summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/post.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console/post.c b/src/console/post.c
index 81a9d398c7..f55683e4d1 100644
--- a/src/console/post.c
+++ b/src/console/post.c
@@ -21,7 +21,9 @@
#include <arch/io.h>
#include <console/console.h>
+#if CONFIG_CMOS_POST
#include <pc80/mc146818rtc.h>
+#endif
#include <elog.h>
/* Write POST information */