Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38197 )
Change subject: drivers/pc80/rtc: Drop ARCH_X86 guard in header ......................................................................
drivers/pc80/rtc: Drop ARCH_X86 guard in header
Change-Id: I03c25ad5d9864406e1a021e39a5736ac72c8825a Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/38197 Reviewed-by: Furquan Shaikh furquan@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/include/pc80/mc146818rtc.h 1 file changed, 2 insertions(+), 7 deletions(-)
Approvals: build bot (Jenkins): Verified Furquan Shaikh: Looks good to me, approved
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index c9e054b..a2c65cb 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -1,14 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef PC80_MC146818RTC_H #define PC80_MC146818RTC_H
-#if CONFIG(ARCH_X86) - #include <arch/io.h> #include <types.h>
-#ifndef RTC_BASE_PORT #define RTC_BASE_PORT 0x70 -#endif
#define RTC_PORT(x) (RTC_BASE_PORT + (x))
@@ -181,7 +179,4 @@ int cmos_checksum_valid(int range_start, int range_end, int cks_loc); void cmos_set_checksum(int range_start, int range_end, int cks_loc);
-#endif /* CONFIG_ARCH_X86 */ - - #endif /* PC80_MC146818RTC_H */