summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */