northbridge/amd/agesa/family16kb: Remove commented code
Change-Id: Ic22f8a00e6009e104df8c4374067369ebbf90ee2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16888 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
decf90e4eb
commit
59840d1dee
|
@ -82,17 +82,6 @@ static void set_io_addr_reg(device_t dev, u32 nodeid, u32 linkn, u32 reg,
|
||||||
for (i = 0; i < node_nums; i++)
|
for (i = 0; i < node_nums; i++)
|
||||||
pci_write_config32(__f1_dev[i], reg+4, tempreg);
|
pci_write_config32(__f1_dev[i], reg+4, tempreg);
|
||||||
tempreg = 3 /*| (3<<4)*/ | ((io_min&0xf0)<<(12-4)); //base :ISA and VGA ?
|
tempreg = 3 /*| (3<<4)*/ | ((io_min&0xf0)<<(12-4)); //base :ISA and VGA ?
|
||||||
#if 0
|
|
||||||
// FIXME: can we use VGA reg instead?
|
|
||||||
if (dev->link[link].bridge_ctrl & PCI_BRIDGE_CTL_VGA) {
|
|
||||||
printk(BIOS_SPEW, "%s, enabling legacy VGA IO forwarding for %s link %s\n",
|
|
||||||
__func__, dev_path(dev), link);
|
|
||||||
tempreg |= PCI_IO_BASE_VGA_EN;
|
|
||||||
}
|
|
||||||
if (dev->link[link].bridge_ctrl & PCI_BRIDGE_CTL_NO_ISA) {
|
|
||||||
tempreg |= PCI_IO_BASE_NO_ISA;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
for (i = 0; i < node_nums; i++)
|
for (i = 0; i < node_nums; i++)
|
||||||
pci_write_config32(__f1_dev[i], reg, tempreg);
|
pci_write_config32(__f1_dev[i], reg, tempreg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue