HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33013
Change subject: nb/amd/amdfam10/northbridge.c: Remove variable set but not used ......................................................................
nb/amd/amdfam10/northbridge.c: Remove variable set but not used
Change-Id: I62a51b794dedcf320b8054125e75aa041035ce33 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/amd/amdfam10/northbridge.c 1 file changed, 0 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/33013/1
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c index 1d071c1..db40267 100644 --- a/src/northbridge/amd/amdfam10/northbridge.c +++ b/src/northbridge/amd/amdfam10/northbridge.c @@ -1690,7 +1690,6 @@
uint8_t fam15h = 0; uint8_t rev_gte_d = 0; - unsigned nb_cfg_54; uint32_t family; uint32_t model;
@@ -1700,7 +1699,6 @@ if (is_fam15h()) { /* Family 15h or later */ fam15h = 1; - nb_cfg_54 = 1; }
if ((model >= 0x8) || fam15h) @@ -1862,7 +1860,6 @@ uint8_t compute_unit_count = 0;
uint32_t f3xe8; - uint8_t dual_node = 0;
for (i = 0; i < sysconf.nodes; i++) { struct device *f3x_dev = pcidev_on_root(0x18 + i, 3); @@ -1871,10 +1868,6 @@
f3xe8 = pci_read_config32(f3x_dev, 0xe8);
- /* Check for dual node capability */ - if (f3xe8 & 0x20000000) - dual_node = 1; - /* Determine the number of active compute units on this node */ f5x80 = pci_read_config32(f5x_dev, 0x80); cu_enabled = f5x80 & 0xf;