summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-22 21:34:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-24 09:34:36 +0000
commitfa82e0db64f67fa7adb84bb423b23887a3dfed98 (patch)
tree59ef76d49a312a7ba6d9b5311e1472fad2150a97
parent2e1fea408d8c7287497f0846715ee933fa9449f0 (diff)
downloadcoreboot-fa82e0db64f67fa7adb84bb423b23887a3dfed98.tar.xz
nb/amd/pi/00660F01: Remove variable set but not used
Change-Id: I14c69b324de795ba6dead7932b3267887130a6df Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32946 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--src/northbridge/amd/pi/00660F01/northbridge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/northbridge/amd/pi/00660F01/northbridge.c b/src/northbridge/amd/pi/00660F01/northbridge.c
index 43df7259fc..41641ee65f 100644
--- a/src/northbridge/amd/pi/00660F01/northbridge.c
+++ b/src/northbridge/amd/pi/00660F01/northbridge.c
@@ -678,7 +678,6 @@ static void domain_set_resources(struct device *dev)
struct bus *link;
#if CONFIG_HW_MEM_HOLE_SIZEK != 0
struct hw_mem_hole_info mem_hole;
- u32 reset_memhole = 1;
#endif
pci_tolm = 0xffffffffUL;
@@ -708,7 +707,6 @@ static void domain_set_resources(struct device *dev)
/* Use hole_basek as mmio_basek, and we don't need to reset hole anymore */
if ((mem_hole.node_id != -1) && (mmio_basek > mem_hole.hole_startk)) {
mmio_basek = mem_hole.hole_startk;
- reset_memhole = 0;
}
#endif