arch/x86/Kconfig: add HPET_MIN_TICKS

Some Intel southbridges have HPET_MIN_TICKS in their Kconfig files, but
the CONFIG_HPET_MIN_TICKS symbol is used in the common acpi code in
acpi/acpi.c, so define this option in arch/x86/Kconfig to have it
defined in all cases where the function that ends up using this
information gets called. Since we now have the type information for this
Kconfig option in a central place, it can be dropped from the Kconfig
file of the Intel southbridges that change the default value.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ibe012069dd4b51c15a8fbc6459186ad2ea405a03
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62298
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2022-02-23 16:35:58 +01:00
parent 7f8c737fe9
commit 4e03727e63
7 changed files with 3 additions and 6 deletions

View File

@ -195,6 +195,9 @@ config HPET_ADDRESS
hex hex
default 0xfed00000 default 0xfed00000
config HPET_MIN_TICKS
hex
config C_ENV_BOOTBLOCK_SIZE config C_ENV_BOOTBLOCK_SIZE
hex hex
default 0x40000 if !FIXED_BOOTBLOCK_SIZE default 0x40000 if !FIXED_BOOTBLOCK_SIZE

View File

@ -53,7 +53,6 @@ config SERIRQ_CONTINUOUS_MODE
operated in continuous mode. operated in continuous mode.
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
config HIDE_MEI_ON_ERROR config HIDE_MEI_ON_ERROR

View File

@ -30,7 +30,6 @@ config EHCI_BAR
default 0xfef00000 default 0xfef00000
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
config INTEL_TOP_SWAP_BOOTBLOCK_SIZE config INTEL_TOP_SWAP_BOOTBLOCK_SIZE

View File

@ -29,7 +29,6 @@ config EHCI_BAR
default 0xfef00000 default 0xfef00000
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
## Some enterprise variants may require an IFD ## Some enterprise variants may require an IFD

View File

@ -30,7 +30,6 @@ config EHCI_BAR
default 0xfef00000 default 0xfef00000
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
## Some enterprise variants may require an IFD ## Some enterprise variants may require an IFD

View File

@ -49,7 +49,6 @@ config SERIRQ_CONTINUOUS_MODE
operated in continuous mode. operated in continuous mode.
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
config HIDE_MEI_ON_ERROR config HIDE_MEI_ON_ERROR

View File

@ -53,7 +53,6 @@ config SERIRQ_CONTINUOUS_MODE
operated in continuous mode. operated in continuous mode.
config HPET_MIN_TICKS config HPET_MIN_TICKS
hex
default 0x80 default 0x80
config FINALIZE_USB_ROUTE_XHCI config FINALIZE_USB_ROUTE_XHCI