From 66f10b1a193b0c8cedbd32c2a83fc9e3b129648c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 25 May 2014 13:50:14 +0200 Subject: northbridge/intel/i945/northbridge.c: Use define `TOLUD` instead of hardcoded value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4739c5544aade105399347d239ba64f5115db397 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/5869 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Kyösti Mälkki --- src/northbridge/intel/i945/northbridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/northbridge/intel/i945/northbridge.c b/src/northbridge/intel/i945/northbridge.c index 99b16de33a..f0bffb3ed3 100644 --- a/src/northbridge/intel/i945/northbridge.c +++ b/src/northbridge/intel/i945/northbridge.c @@ -99,7 +99,7 @@ static void pci_domain_set_resources(device_t dev) printk(BIOS_SPEW, "Base of stolen memory: 0x%08x\n", pci_read_config32(dev_find_slot(0, PCI_DEVFN(2, 0)), BSM)); - tolud = pci_read_config8(dev_find_slot(0, PCI_DEVFN(0, 0)), 0x9c); + tolud = pci_read_config8(dev_find_slot(0, PCI_DEVFN(0, 0)), TOLUD); printk(BIOS_SPEW, "Top of Low Used DRAM: 0x%08x\n", tolud << 24); tomk = tolud << 14; -- cgit v1.2.3