northbridge/amd/amdmct/mct: Initialize variables at the eol

Spotted by Clang

Change-Id: Idada98b7863ef986021943cf3ddb92d2f035e3e1
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5816
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
Edward O'Callaghan 2014-05-23 05:55:04 +10:00 committed by Marc Jones
parent f67395ee5b
commit 72ae4a3091
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ void InterleaveNodes_D(struct MCTStatStruc *pMCTstat,
u8 Node;
u32 Base;
u32 MemSize, MemSize0 = 0;
u32 Dct0MemSize = 0, DctSelBase, DctSelBaseOffset;
u32 Dct0MemSize, DctSelBase, DctSelBaseOffset = 0;
u8 Nodes;
u8 NodesWmem;
u8 DoIntlv;

View File

@ -24,7 +24,7 @@ void InterleaveNodes_D(struct MCTStatStruc *pMCTstat,
u8 Node;
u32 Base;
u32 MemSize, MemSize0 = 0;
u32 Dct0MemSize = 0, DctSelBase, DctSelBaseOffset;
u32 Dct0MemSize, DctSelBase, DctSelBaseOffset = 0;
u8 Nodes;
u8 NodesWmem;
u8 DoIntlv;