diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-07-15 16:19:08 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-07-24 13:58:15 +0200 |
commit | f62659f6431dfb932d15ffca8c43e1205b514d5f (patch) | |
tree | d3d2512e6c6cc8ffd99b563478b5253d467cb6d8 /src/mainboard/amd/dinar/get_bus_conf.c | |
parent | 99c636f8581626c527ef5434738883feae06dbc2 (diff) | |
download | coreboot-f62659f6431dfb932d15ffca8c43e1205b514d5f.tar.xz |
AGESA fam15: Drop code that was commented out
Only references to bus_rd890, bus_sp5100 and bus_sr5650 were
in code sections that had been commented out.
Change-Id: If5552c409ce948c494345f49dbaad790b398bff8
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/6331
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/amd/dinar/get_bus_conf.c')
-rw-r--r-- | src/mainboard/amd/dinar/get_bus_conf.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mainboard/amd/dinar/get_bus_conf.c b/src/mainboard/amd/dinar/get_bus_conf.c index fdf4b6794b..3104b73cd4 100644 --- a/src/mainboard/amd/dinar/get_bus_conf.c +++ b/src/mainboard/amd/dinar/get_bus_conf.c @@ -31,7 +31,6 @@ * and acpi_tables busnum is default. */ u8 bus_sb700[2]; -u8 bus_rd890[14]; /* * Here you only need to set value in pci1234 for HT-IO that could be installed or not @@ -51,7 +50,6 @@ u32 hcdnx[] = { }; u32 sbdn_sb700; -u32 sbdn_rd890; void get_bus_conf(void) { @@ -65,13 +63,9 @@ void get_bus_conf(void) for (i = 0; i < ARRAY_SIZE(bus_sb700); i++) { bus_sb700[i] = 0; } - for (i = 0; i < ARRAY_SIZE(bus_rd890); i++) { - bus_rd890[i] = 0; - } - bus_rd890[0] = (pci1234x[0] >> 16) & 0xff; - bus_sb700[0] = bus_rd890[0]; + bus_sb700[0] = (pci1234x[0] >> 16) & 0xff; /* sb700 */ dev = dev_find_slot(bus_sb700[0], PCI_DEVFN(sbdn_sb700 + 0x14, 4)); @@ -82,13 +76,5 @@ void get_bus_conf(void) bus_sb700[1] = pci_read_config8(dev, PCI_SECONDARY_BUS); } - /* rd890 */ - for (i = 1; i < ARRAY_SIZE(bus_rd890); i++) { - dev = dev_find_slot(bus_rd890[0], PCI_DEVFN(sbdn_rd890 + i, 0)); - if (dev) { - bus_rd890[i] = pci_read_config8(dev, PCI_SECONDARY_BUS); - } - } - printk(BIOS_DEBUG, "Mainboard - Get_bus_conf.c - get_bus_conf - End.\n"); } |