intel/broadwell,lynxpoint: Use HPTS() for HPET visibility

Platforms do not initialise OSYS so HPET is always hidden.

Change-Id: I5f030b156355ea407d37cdb2eda8a3161085436f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49485
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki 2021-01-15 11:49:42 +02:00
parent 9a05600004
commit 4797bb9be0
2 changed files with 2 additions and 22 deletions

View File

@ -69,17 +69,7 @@ Device (LPCB)
Method (_STA, 0) // Device Status
{
If (HPTE) {
// Note: Ancient versions of Windows don't want
// to see the HPET in order to work right
If (OSYS >= 2001) {
Return (0xf) // Enable and show device
} Else {
Return (0xb) // Enable and don't show device
}
}
Return (0x0) // Not enabled, don't show.
Return (\HPTS(HPTE))
}
Method (_CRS, 0, Serialized) // Current resources

View File

@ -71,17 +71,7 @@ Device (LPCB)
Method (_STA, 0) // Device Status
{
If (HPTE) {
// Note: Ancient versions of Windows don't want
// to see the HPET in order to work right
If (OSYS >= 2001) {
Return (0xf) // Enable and show device
} Else {
Return (0xb) // Enable and don't show device
}
}
Return (0x0) // Not enabled, don't show.
Return (\HPTS(HPTE))
}
Method (_CRS, 0, Serialized) // Current resources