summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family15tn
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/agesa/family15tn')
-rw-r--r--src/northbridge/amd/agesa/family15tn/northbridge.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c
index 65be7d8a72..d36c9d459d 100644
--- a/src/northbridge/amd/agesa/family15tn/northbridge.c
+++ b/src/northbridge/amd/agesa/family15tn/northbridge.c
@@ -668,7 +668,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;
@@ -697,10 +696,8 @@ static void domain_set_resources(struct device *dev)
mem_hole = get_hw_mem_hole_info();
// 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)) {
+ if ((mem_hole.node_id != -1) && (mmio_basek > mem_hole.hole_startk))
mmio_basek = mem_hole.hole_startk;
- reset_memhole = 0;
- }
#endif
idx = 0x10;