summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-i440fx/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx/acpi')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/acpi/hpet.asl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/acpi/hpet.asl b/src/mainboard/emulation/qemu-i440fx/acpi/hpet.asl
index da670cf889..e9b48584ac 100644
--- a/src/mainboard/emulation/qemu-i440fx/acpi/hpet.asl
+++ b/src/mainboard/emulation/qemu-i440fx/acpi/hpet.asl
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/hpet.h>
+
/****************************************************************
* HPET
****************************************************************/
@@ -8,7 +10,7 @@ Scope(\_SB) {
Device(HPET) {
Name(_HID, EISAID("PNP0103"))
Name(_UID, 0)
- OperationRegion(HPTM, SystemMemory, 0xFED00000, 0x400)
+ OperationRegion(HPTM, SystemMemory, HPET_BASE_ADDRESS, 0x400)
Field(HPTM, DWordAcc, Lock, Preserve) {
VEND, 32,
PRD, 32,
@@ -27,7 +29,7 @@ Scope(\_SB) {
}
Name(_CRS, ResourceTemplate() {
Memory32Fixed(ReadOnly,
- 0xFED00000, // Address Base
+ HPET_BASE_ADDRESS, // Address Base
0x00000400, // Address Length
)
})