summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family12/agesawrapper.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-14 11:24:36 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-12-19 22:36:59 +0100
commit8548a4888a479d0d6ad715967589003ce220a484 (patch)
tree186418dc9ab765534ada35b8dd84f69655080c07 /src/northbridge/amd/agesa/family12/agesawrapper.c
parent483bed33a967b0e91704bfc53ffcc00a47b6c96f (diff)
downloadcoreboot-8548a4888a479d0d6ad715967589003ce220a484.tar.xz
AGESA: Remove redundant redeclaration
Change-Id: I9172769c314850b384abbddf0200d5833e2a8b26 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7811 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/agesa/family12/agesawrapper.c')
-rw-r--r--src/northbridge/amd/agesa/family12/agesawrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/agesa/family12/agesawrapper.c b/src/northbridge/amd/agesa/family12/agesawrapper.c
index 0c441eee35..f25e7379a9 100644
--- a/src/northbridge/amd/agesa/family12/agesawrapper.c
+++ b/src/northbridge/amd/agesa/family12/agesawrapper.c
@@ -151,7 +151,7 @@ AGESA_STATUS agesawrapper_amdinitcpuio(VOID)
PciData = 0x00FFFF00 | 0x80;
LibAmdPciWrite(AccessWidth32, PciAddress, &PciData, &StdHeader);
PciAddress.AddressValue = MAKE_SBDFO(0, 0, 0x18, 1, 0xB8);
- PciData = (PCIE_BASE_ADDRESS >> 8) | 03;
+ PciData = (CONFIG_MMCONF_BASE_ADDRESS >> 8) | 03;
LibAmdPciWrite(AccessWidth32, PciAddress, &PciData, &StdHeader);
/* Start to set PCIIO 0000-FFFF to Node0 Link0 with ISA&VGA set. */
PciAddress.AddressValue = MAKE_SBDFO(0, 0, 0x18, 1, 0xC4);