Author: stepan Date: Wed Mar 17 04:14:28 2010 New Revision: 5241 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5241
Log: fix HPET base addressed.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/southbridge/intel/i82801ax/i82801ax.h trunk/src/southbridge/intel/i82801bx/i82801bx.h trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c trunk/src/southbridge/intel/i82801ex/i82801ex_lpc.c
Modified: trunk/src/southbridge/intel/i82801ax/i82801ax.h ============================================================================== --- trunk/src/southbridge/intel/i82801ax/i82801ax.h Wed Mar 17 04:10:39 2010 (r5240) +++ trunk/src/southbridge/intel/i82801ax/i82801ax.h Wed Mar 17 04:14:28 2010 (r5241) @@ -115,6 +115,6 @@ #define SMBUS_TIMEOUT (10 * 1000 * 100)
/* HPET, if present */ -#define HPET_ADDR 0xfed0000 +#define HPET_ADDR 0xfed00000
#endif /* SOUTHBRIDGE_INTEL_I82801AX_I82801AX_H */
Modified: trunk/src/southbridge/intel/i82801bx/i82801bx.h ============================================================================== --- trunk/src/southbridge/intel/i82801bx/i82801bx.h Wed Mar 17 04:10:39 2010 (r5240) +++ trunk/src/southbridge/intel/i82801bx/i82801bx.h Wed Mar 17 04:14:28 2010 (r5241) @@ -115,7 +115,7 @@ #define SMBUS_TIMEOUT (10 * 1000 * 100)
/* HPET, if present */ -#define HPET_ADDR 0xfed0000 +#define HPET_ADDR 0xfed00000
#endif /* SOUTHBRIDGE_INTEL_I82801BX_I82801BX_H */
Modified: trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c ============================================================================== --- trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 04:10:39 2010 (r5240) +++ trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 04:14:28 2010 (r5241) @@ -114,7 +114,7 @@
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 @@ 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)
Modified: trunk/src/southbridge/intel/i82801ex/i82801ex_lpc.c ============================================================================== --- trunk/src/southbridge/intel/i82801ex/i82801ex_lpc.c Wed Mar 17 04:10:39 2010 (r5240) +++ trunk/src/southbridge/intel/i82801ex/i82801ex_lpc.c Wed Mar 17 04:14:28 2010 (r5241) @@ -214,7 +214,7 @@
static void enable_hpet(struct device *dev) { -const unsigned long hpet_address = 0xfed0000; + const unsigned long hpet_address = 0xfed00000;
uint32_t dword; uint32_t code = (0 & 0x3);