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>
This commit is contained in:
parent
7c52283f78
commit
e1df7eef91
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue