From 9d3e131461e36229a3a4bbcd16a430a62be37e10 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 5 Jun 2014 08:50:17 +0200 Subject: intel/i945: Use define for `BSM` Change-Id: Ia58d8b410a145f27f0b267c115714580c366e063 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/5929 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/northbridge/intel/i945/early_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index b12ad3a63e..0b2acd70b7 100644 --- a/src/northbridge/intel/i945/early_init.c +++ b/src/northbridge/intel/i945/early_init.c @@ -943,7 +943,7 @@ void i945_late_initialization(int s3resume) { /* This will not work if TSEG is in place! */ - u32 tom = pci_read_config32(PCI_DEV(0, 2, 0), 0x5c); + u32 tom = pci_read_config32(PCI_DEV(0, 2, 0), BSM); printk(BIOS_DEBUG, "TOM: 0x%08x\n", tom); ram_check(0x00000000, 0x000a0000); -- cgit v1.2.3