HAOUAS Elyes has uploaded this change for review.

View Change

nb/amd/amdmct/mct_ddr3/mct_d.c: Remove variable set but not used

Change-Id: Icd9c0541d9006f4ebddcefff9d2355056af0c5c4
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
1 file changed, 1 insertion(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/32972/1
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
index 74e5234..853419e 100644
--- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
+++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
@@ -3808,7 +3808,7 @@
{
u8 Node;
u32 NextBase, BottomIO;
- u8 _MemHoleRemap, DramHoleBase, DramHoleOffset;
+ u8 _MemHoleRemap, DramHoleBase;
u32 HoleSize, DramSelBaseAddr;

u32 val;
@@ -3867,7 +3867,6 @@
if ((DramSelBaseAddr > 0) && (DramSelBaseAddr < BottomIO))
base = DramSelBaseAddr;
val = ((base + HoleSize) >> (24-8)) & 0xFF;
- DramHoleOffset = val;
val <<= 8; /* shl 16, rol 24 */
val |= DramHoleBase << 24;
val |= 1 << DramHoleValid;

To view, visit change 32972. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icd9c0541d9006f4ebddcefff9d2355056af0c5c4
Gerrit-Change-Number: 32972
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange