Author: stepan Date: Wed Mar 17 05:37:52 2010 New Revision: 5249 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5249
Log: Actually enable HPET Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c
Modified: trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c ============================================================================== --- trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 05:04:20 2010 (r5248) +++ trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 05:37:52 2010 (r5249) @@ -193,7 +193,8 @@ */ 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)); }