aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/cx700/lpc.c')
-rw-r--r--src/northbridge/via/cx700/lpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/via/cx700/lpc.c b/src/northbridge/via/cx700/lpc.c
index 77ab97c145..5a9ced0247 100644
--- a/src/northbridge/via/cx700/lpc.c
+++ b/src/northbridge/via/cx700/lpc.c
@@ -32,7 +32,6 @@
#include <stdlib.h>
#define ACPI_IO_BASE 0x400
-#define HPET_ADDR 0xfe800000UL
static const unsigned char pci_irqs[4] = { 11, 11, 10, 10 };
@@ -229,7 +228,7 @@ static void cx700_set_lpc_registers(struct device *dev)
pci_write_config8(dev, 0x40, 0x54);
/* Enable HPET timer */
- pci_write_config32(dev, 0x68, (1 << 31) | (HPET_ADDR >> 8));
+ pci_write_config32(dev, 0x68, (1 << 31) | (CONFIG_HPET_ADDRESS >> 8));
}