[coreboot-gerrit] Patch set updated for coreboot: pc80/mc146818rtc.h: Replace leftover macro token

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Wed Aug 17 21:24:17 CEST 2016


Antonello Dettori (dev at dettori.io) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16240

-gerrit

commit 74f0de1f5a8d913adbc0d9592ce1130478eff180
Author: Antonello Dettori <dev at dettori.io>
Date:   Wed Aug 17 19:35:27 2016 +0200

    pc80/mc146818rtc.h: Replace leftover macro token
    
    Replace a token that is not used anymore.
    
    Change-Id: I36fffd1b713ae46be972803279fc993254bb5806
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 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 f5630c5..a77c1c5 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);



More information about the coreboot-gerrit mailing list