summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-25 20:21:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-03 13:32:50 +0000
commit6b7171b32c59fd8aa4aea79f88e59a376ef00064 (patch)
tree2f6fb112122387856789d00da87033ec4bf429f0 /src/northbridge/amd
parent95794693cb0270b63b9f209567313c2e052cce02 (diff)
downloadcoreboot-6b7171b32c59fd8aa4aea79f88e59a376ef00064.tar.xz
nb/amd/pi/00630F01/northbridge.c: Remove variable set but not used
Change-Id: Id5e762880ddfcb65872a50e8ffe10d86b3719b5d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33012 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/pi/00630F01/northbridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/northbridge/amd/pi/00630F01/northbridge.c b/src/northbridge/amd/pi/00630F01/northbridge.c
index eca2f0c73d..309a762840 100644
--- a/src/northbridge/amd/pi/00630F01/northbridge.c
+++ b/src/northbridge/amd/pi/00630F01/northbridge.c
@@ -463,11 +463,9 @@ static unsigned long agesa_write_acpi_tables(struct device *device,
acpi_header_t *ssdt;
acpi_header_t *alib;
acpi_header_t *ivrs;
- acpi_hest_t *hest;
/* HEST */
current = ALIGN(current, 8);
- hest = (acpi_hest_t *)current;
acpi_write_hest((void *)current, acpi_fill_hest);
acpi_add_table(rsdp, (void *)current);
current += ((acpi_header_t *)current)->length;
@@ -680,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;
@@ -711,7 +708,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