sb/intel/i82801gx,ix: Use HPTS() for HPET visibility

Change-Id: Id38228265ad89e3f96ea6f37bcc0da574a3f8c3f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49484
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2020-12-29 09:04:30 +02:00
parent 4ff99a2655
commit e1738143e1
2 changed files with 2 additions and 22 deletions

View File

@ -65,17 +65,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

@ -65,17 +65,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 (LGreaterEqual(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