summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801dx
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-17 03:14:28 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-17 03:14:28 +0000
commitb319b1778c0546d9fc0777ccb9a0b82291b5a60e (patch)
tree34ab4f815d0e0136cfc15a051fc7683fc1bce77f /src/southbridge/intel/i82801dx
parentd4e77df5797361db39058f478ee300e9638435f9 (diff)
fix HPET base addressed.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5241 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i82801dx')
-rw-r--r--src/southbridge/intel/i82801dx/i82801dx_lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801dx/i82801dx_lpc.c b/src/southbridge/intel/i82801dx/i82801dx_lpc.c
index dc314fbcfb..6c2ef3c573 100644
--- a/src/southbridge/intel/i82801dx/i82801dx_lpc.c
+++ b/src/southbridge/intel/i82801dx/i82801dx_lpc.c
@@ -114,7 +114,7 @@ void i82801dx_1f0_misc(struct device *dev)
static void enable_hpet(struct device *dev)
{
- const unsigned long hpet_address = 0xfed0000;
+ const unsigned long hpet_address = 0xfed00000;
u32 dword;
u32 code = (0 & 0x3);
@@ -130,7 +130,7 @@ static void enable_hpet(struct device *dev)
dword &= ~(3 << 15); /* clear it */
dword |= (code << 15);
- printk_debug("enabling HPET @0x%x\n", hpet_address | (code << 12));
+ printk_debug("enabling HPET @0x%lx\n", hpet_address | (code << 12));
}
static void lpc_init(struct device *dev)