summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-26 18:11:07 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-29 09:05:37 +0200
commitd638c2b34bae222ad16670c72ad7c9a8841a3ec9 (patch)
treed31e7c8b23a42ca77bb4130306cf2cf05c030e4a /src
parent95b0c3d75a40cea40a15e8f7d6f56af2ebe2db77 (diff)
include/pc80/mc146818rtc.h: Inconsequential, comment ifdef maze
Change-Id: Ie1ec8dbcdbbe0f2b05fdb10b1dca43cfee2a58cb Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6120 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r--src/include/pc80/mc146818rtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index 56f8cafe90..a4018219f8 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -187,9 +187,9 @@ static inline enum cb_err get_option(void *dest __attribute__((unused)),
{ return CB_CMOS_OTABLE_DISABLED; }
#define read_option_lowlevel(start, size, def) def
#endif
-#else
+#else /* defined(__ROMCC__) */
#include <drivers/pc80/mc146818rtc_early.c>
-#endif
+#endif /* !defined(__ROMCC__) */
#define read_option(name, default) read_option_lowlevel(CMOS_VSTART_ ##name, CMOS_VLEN_ ##name, (default))
#if CONFIG_CMOS_POST