diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2014-05-25 13:50:14 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-31 13:11:02 +0200 |
commit | 66f10b1a193b0c8cedbd32c2a83fc9e3b129648c (patch) | |
tree | d39c9765b999d96bf0e70d2fc723e21fa8e1aac0 /src/northbridge/intel/i945/northbridge.c | |
parent | 355ce38dc2891c491387707ffe2e4e802ce4e864 (diff) | |
download | coreboot-66f10b1a193b0c8cedbd32c2a83fc9e3b129648c.tar.xz |
northbridge/intel/i945/northbridge.c: Use define `TOLUD` instead of hardcoded value
Change-Id: I4739c5544aade105399347d239ba64f5115db397
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/5869
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/northbridge/intel/i945/northbridge.c')
-rw-r--r-- | src/northbridge/intel/i945/northbridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |