From e1df7eef91c4f2e7b87a02d0cff837c8805e4bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 4 Jan 2020 16:15:50 +0200 Subject: drivers/pc80/rtc: Drop ARCH_X86 guard in header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I03c25ad5d9864406e1a021e39a5736ac72c8825a Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/38197 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/include/pc80/mc146818rtc.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/include/pc80') diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index c9e054b04866..a2c65cb4c04d 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 #include -#ifndef RTC_BASE_PORT #define RTC_BASE_PORT 0x70 -#endif #define RTC_PORT(x) (RTC_BASE_PORT + (x)) @@ -181,7 +179,4 @@ int cmos_lb_cks_valid(void); 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 */ -- cgit v1.2.3