drop shadow variable from hypertransport code.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5250 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
cfef7dff9b
commit
dfd29aa413
|
@ -551,7 +551,6 @@ unsigned int hypertransport_scan_chain(struct bus *bus,
|
||||||
#if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
|
#if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
|
||||||
if(offset_unitid && (ht_dev_num>1) && (real_last_unitid != CONFIG_HT_CHAIN_END_UNITID_BASE) && !end_used) {
|
if(offset_unitid && (ht_dev_num>1) && (real_last_unitid != CONFIG_HT_CHAIN_END_UNITID_BASE) && !end_used) {
|
||||||
uint16_t flags;
|
uint16_t flags;
|
||||||
device_t last_func = 0;
|
|
||||||
flags = pci_read_config16(real_last_dev, real_last_pos + PCI_CAP_FLAGS);
|
flags = pci_read_config16(real_last_dev, real_last_pos + PCI_CAP_FLAGS);
|
||||||
flags &= ~0x1f;
|
flags &= ~0x1f;
|
||||||
flags |= CONFIG_HT_CHAIN_END_UNITID_BASE & 0x1f;
|
flags |= CONFIG_HT_CHAIN_END_UNITID_BASE & 0x1f;
|
||||||
|
|
Loading…
Reference in New Issue