diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-05-17 14:07:10 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-05-24 16:28:19 +0200 |
commit | 37689fae3891d3c691063530c89054e1fecffb16 (patch) | |
tree | fdc5006c3268eac8113a6cada314694ecfb0cc4a /src/northbridge/intel | |
parent | 1d407cceaf4ba50b0fb7adacd1e76b4837c89719 (diff) | |
download | coreboot-37689fae3891d3c691063530c89054e1fecffb16.tar.xz |
nb/intel/x4x/raminit: Initialise async variable
It could end up not initialized which causes it not to build with
clang.
Change-Id: I3be9477d836123aaa87c9bebb41c1ec34689a771
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19736
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/x4x/raminit_ddr2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/x4x/raminit_ddr2.c b/src/northbridge/intel/x4x/raminit_ddr2.c index bb5ad61d6f..a4a830d75f 100644 --- a/src/northbridge/intel/x4x/raminit_ddr2.c +++ b/src/northbridge/intel/x4x/raminit_ddr2.c @@ -714,7 +714,7 @@ static void timings_ddr2(struct sysinfo *s) static void dll_ddr2(struct sysinfo *s) { - u8 i, j, r, reg8, clk, async; + u8 i, j, r, reg8, clk, async = 0; u16 reg16 = 0; u32 reg32 = 0; u8 lane; |