summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ix
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-29 09:04:30 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-13 06:28:02 +0000
commite1738143e1b0578741e5fd32103f8d90f794dce4 (patch)
tree59e6484ac6df67a9f38075292cda0aa020cf3edf /src/southbridge/intel/i82801ix
parent4ff99a26551d9e18f4c4b43380e12203bdada8a1 (diff)
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>
Diffstat (limited to 'src/southbridge/intel/i82801ix')
-rw-r--r--src/southbridge/intel/i82801ix/acpi/lpc.asl12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/southbridge/intel/i82801ix/acpi/lpc.asl b/src/southbridge/intel/i82801ix/acpi/lpc.asl
index c351c531ad..f90386da6c 100644
--- a/src/southbridge/intel/i82801ix/acpi/lpc.asl
+++ b/src/southbridge/intel/i82801ix/acpi/lpc.asl
@@ -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