diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-02-14 17:41:10 -0600 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2015-02-15 19:27:35 +0100 |
commit | 2012b8127bfd27ec1ce5df7c12d04136588a57b0 (patch) | |
tree | c35438e35b35abe8441b8b332572b756efdb6d24 /src/northbridge/amd/amdmct/mct_ddr3 | |
parent | b93dcec9f4c4a65915a7ba678e93e4e6d414ff81 (diff) |
northbridge/amd/amdmct: Fix FTBFS with node interleaving enabled
This fixes errors of the form:
error: 'Dct0MemSize' may be used uninitialized in this function
Change-Id: Ifc853aea9050994f5641c57a081aa0667331c995
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/8455
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/amdmct/mct_ddr3')
-rw-r--r-- | src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c index 520a178e88..0cfbc657c1 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c @@ -24,7 +24,7 @@ void InterleaveNodes_D(struct MCTStatStruc *pMCTstat, u8 Node; u32 Base; u32 MemSize, MemSize0 = 0; - u32 Dct0MemSize, DctSelBase, DctSelBaseOffset = 0; + u32 Dct0MemSize = 0, DctSelBase, DctSelBaseOffset = 0; u8 Nodes; u8 NodesWmem; u8 DoIntlv; |