northbridge/intel/i3100/raminit.c: Uninitialized variable

Spotted by Clang

Change-Id: If524a5cd984602a332c4ca28a8167a3597206b94
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5844
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Edward O'Callaghan 2014-05-25 06:30:35 +10:00 committed by Kyösti Mälkki
parent 2f237c1859
commit 636cd61346
2 changed files with 3 additions and 3 deletions

View File

@ -634,7 +634,7 @@ static void set_on_dimm_termination_enable(const struct mem_controller *ctrl)
{
u8 c1,c2;
u32 dimm,i;
u32 data32;
u32 data32 = 0;
u32 t4;
/* Set up northbridge values */

View File

@ -503,8 +503,8 @@ static void sdram_set_spd_registers(const struct mem_controller *ctrl)
static void set_on_dimm_termination_enable(const struct mem_controller *ctrl)
{
u8 c1,c2;
u32 dimm,i;
u32 data32;
u32 dimm, i;
u32 data32 = 0;
u32 t4;
/* Set up northbridge values */