summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/ck804/lpc.c
diff options
context:
space:
mode:
authorJonathan A. Kollasch <jakllsch@kollasch.net>2015-07-15 13:47:33 -0500
committerJonathan A. Kollasch <jakllsch@kollasch.net>2015-08-09 21:16:41 +0200
commit6f0e8bdc169e152a8065694c5ef69f0a654d9f31 (patch)
tree8d187ec3f10def0506be034caf715f423e0ea2a7 /src/southbridge/nvidia/ck804/lpc.c
parent0dee57837b213c4c3f61feecb24a98bcb9b0fb85 (diff)
amd8111, ck804, mcp55: use CONFIG_HPET_ADDRESS
As acpi_write_hpet() uses CONFIG_HPET_ADDRESS in the HPET table we need to use CONFIG_HPET_ADDRESS when assigning it to the device. Change-Id: I656f917658f1c1717bb3653fa048a6d36fca2454 Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net> Reviewed-on: http://review.coreboot.org/10925 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com> Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/nvidia/ck804/lpc.c')
-rw-r--r--src/southbridge/nvidia/ck804/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/ck804/lpc.c b/src/southbridge/nvidia/ck804/lpc.c
index d0f687f16b..be8a39c258 100644
--- a/src/southbridge/nvidia/ck804/lpc.c
+++ b/src/southbridge/nvidia/ck804/lpc.c
@@ -207,7 +207,7 @@ static void ck804_lpc_read_resources(device_t dev)
res = find_resource(dev, 0x44); /* HPET */
if (res) {
- res->base = 0xfed00000;
+ res->base = CONFIG_HPET_ADDRESS;
res->flags |= IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
}
}