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>
This commit is contained in:
parent
355ce38dc2
commit
66f10b1a19
|
@ -99,7 +99,7 @@ static void pci_domain_set_resources(device_t dev)
|
||||||
printk(BIOS_SPEW, "Base of stolen memory: 0x%08x\n",
|
printk(BIOS_SPEW, "Base of stolen memory: 0x%08x\n",
|
||||||
pci_read_config32(dev_find_slot(0, PCI_DEVFN(2, 0)), BSM));
|
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);
|
printk(BIOS_SPEW, "Top of Low Used DRAM: 0x%08x\n", tolud << 24);
|
||||||
|
|
||||||
tomk = tolud << 14;
|
tomk = tolud << 14;
|
||||||
|
|
Loading…
Reference in New Issue