summaryrefslogtreecommitdiff
path: root/src/include/pc80
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-08-17 19:35:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-08-18 22:45:17 +0200
commita7fa5dd3a9d8f56143a25b3c4ce9de6518ec9342 (patch)
tree02634851690a70bf6c37464e0602abdfd983cd43 /src/include/pc80
parent08e842c0d10c69b8fc07f6b00ea4dbeb85ac6e58 (diff)
downloadcoreboot-a7fa5dd3a9d8f56143a25b3c4ce9de6518ec9342.tar.xz
pc80/mc146818rtc.h: Replace leftover macro token
Replace a token that is not used anymore. Change-Id: I36fffd1b713ae46be972803279fc993254bb5806 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16240 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Omar Pakker
Diffstat (limited to 'src/include/pc80')
-rw-r--r--src/include/pc80/mc146818rtc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index f5630c586b..a77c1c55c6 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -101,7 +101,6 @@
#define PC_CKS_RANGE_END 45
#define PC_CKS_LOC 46
-#ifndef UTIL_BUILD_OPTION_TABLE
static inline unsigned char cmos_read(unsigned char addr)
{
int offs = 0;
@@ -168,7 +167,6 @@ static inline void cmos_write32(u8 offset, u32 value)
for (i = 0; i < sizeof(value); ++i)
cmos_write((value >> (i << 3)) & 0xff, offset + i);
}
-#endif
#if !defined(__ROMCC__)
void cmos_init(bool invalid);