From cfef7dff9b80b42e2c9373e8c80d8e5ba2bf8d02 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 17 Mar 2010 04:37:52 +0000 Subject: Actually enable HPET Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5249 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/intel/i82801dx/i82801dx_lpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/southbridge') diff --git a/src/southbridge/intel/i82801dx/i82801dx_lpc.c b/src/southbridge/intel/i82801dx/i82801dx_lpc.c index 0aff9f4560..181f5454e1 100644 --- a/src/southbridge/intel/i82801dx/i82801dx_lpc.c +++ b/src/southbridge/intel/i82801dx/i82801dx_lpc.c @@ -193,7 +193,8 @@ static void enable_hpet(struct device *dev) */ reg32 &= ~(3 << 15); /* Clear it */ reg32 |= (code << 15); - /* TODO: reg32 is never written to anywhere? */ + pci_write_config32(dev, GEN_CNTL, reg32); + printk_debug("Enabling HPET @0x%x\n", HPET_ADDR | (code << 12)); } -- cgit v1.2.3