summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-04 16:15:50 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-06 09:40:17 +0000
commite1df7eef91c4f2e7b87a02d0cff837c8805e4bbb (patch)
tree9717cf785481e5dd1ab9da4276055778d708f160 /src/include
parent7c52283f7883f0a786c64f64b0ef2770d08dd91d (diff)
downloadcoreboot-e1df7eef91c4f2e7b87a02d0cff837c8805e4bbb.tar.xz
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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pc80/mc146818rtc.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index c9e054b048..a2c65cb4c0 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_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 */