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
This commit is contained in:
parent
08e842c0d1
commit
a7fa5dd3a9
|
@ -101,7 +101,6 @@
|
||||||
#define PC_CKS_RANGE_END 45
|
#define PC_CKS_RANGE_END 45
|
||||||
#define PC_CKS_LOC 46
|
#define PC_CKS_LOC 46
|
||||||
|
|
||||||
#ifndef UTIL_BUILD_OPTION_TABLE
|
|
||||||
static inline unsigned char cmos_read(unsigned char addr)
|
static inline unsigned char cmos_read(unsigned char addr)
|
||||||
{
|
{
|
||||||
int offs = 0;
|
int offs = 0;
|
||||||
|
@ -168,7 +167,6 @@ static inline void cmos_write32(u8 offset, u32 value)
|
||||||
for (i = 0; i < sizeof(value); ++i)
|
for (i = 0; i < sizeof(value); ++i)
|
||||||
cmos_write((value >> (i << 3)) & 0xff, offset + i);
|
cmos_write((value >> (i << 3)) & 0xff, offset + i);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__ROMCC__)
|
#if !defined(__ROMCC__)
|
||||||
void cmos_init(bool invalid);
|
void cmos_init(bool invalid);
|
||||||
|
|
Loading…
Reference in New Issue