From 805ed37293eb13426270143c78bcb6c69319ba75 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Wed, 17 Aug 2016 19:35:27 +0200 Subject: [PATCH] UPSTREAM: pc80/mc146818rtc.h: Replace leftover macro token Replace a token that is not used anymore. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/16240 Reviewed-by: Paul Menzel Change-Id: I36fffd1b713ae46be972803279fc993254bb5806 Reviewed-on: https://chromium-review.googlesource.com/373030 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/include/pc80/mc146818rtc.h | 2 -- 1 file changed, 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);