diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-03 11:38:51 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-04 17:21:50 +0000 |
commit | 228746b3464d2b76bd418e2214351976c316ba68 (patch) | |
tree | d334b4c4efa6ccbebc8ce369a9396650fad2c6c1 /src/mainboard/asus/kgpe-d16/get_bus_conf.c | |
parent | af39e0ebc18ff85135c2fb2efd0a3c69fa05c081 (diff) | |
download | coreboot-228746b3464d2b76bd418e2214351976c316ba68.tar.xz |
amdfam10 boards: Drop const variable sbdn_sp5100
Change-Id: I8756a81324ba3d4374bb6b06f7f0ddade6ba530f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30636
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus/kgpe-d16/get_bus_conf.c')
-rw-r--r-- | src/mainboard/asus/kgpe-d16/get_bus_conf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/asus/kgpe-d16/get_bus_conf.c b/src/mainboard/asus/kgpe-d16/get_bus_conf.c index bcb7c43d8f..994bf1e7d4 100644 --- a/src/mainboard/asus/kgpe-d16/get_bus_conf.c +++ b/src/mainboard/asus/kgpe-d16/get_bus_conf.c @@ -47,7 +47,6 @@ u32 hcdnx[] = { }; -u32 sbdn_sp5100; void get_bus_conf(void) { @@ -64,7 +63,6 @@ void get_bus_conf(void) get_pci1234(); sysconf.sbdn = (sysconf.hcdn[0] & 0xff); - sbdn_sp5100 = 0; for (i = 0; i < 2; i++) { bus_sp5100[i] = 0; @@ -79,7 +77,7 @@ void get_bus_conf(void) /* sp5100 */ - dev = dev_find_slot(bus_sp5100[0], PCI_DEVFN(sbdn_sp5100 + 0x14, 4)); + dev = dev_find_slot(bus_sp5100[0], PCI_DEVFN(0x14, 4)); if (dev) { bus_sp5100[1] = pci_read_config8(dev, PCI_SECONDARY_BUS); } |