src/drivers/pc80/rtc/Kconfig
raw| 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | config DRIVERS_MC146818 |
| 4 | bool |
| 5 | default y if ARCH_X86 |
| 6 | depends on PC80_SYSTEM |
| 7 | |
| 8 | config USE_PC_CMOS_ALTCENTURY |
| 9 | bool "Use legacy-BIOS alt-century byte in CMOS" |
| 10 | default y if !USE_OPTION_TABLE |
| 11 | depends on DRIVERS_MC146818 |
| 12 | help |
| 13 | May be useful for legacy OSes that assume its presence. |
| 14 | |
| 15 | config PC_CMOS_BASE_PORT_BANK0 |
| 16 | hex |
| 17 | default 0x70 |
| 18 | |
| 19 | config PC_CMOS_BASE_PORT_BANK1 |
| 20 | hex |
| 21 | default 0x72 |