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:
parent
2f237c1859
commit
636cd61346
|
@ -634,7 +634,7 @@ static void set_on_dimm_termination_enable(const struct mem_controller *ctrl)
|
||||||
{
|
{
|
||||||
u8 c1,c2;
|
u8 c1,c2;
|
||||||
u32 dimm,i;
|
u32 dimm,i;
|
||||||
u32 data32;
|
u32 data32 = 0;
|
||||||
u32 t4;
|
u32 t4;
|
||||||
|
|
||||||
/* Set up northbridge values */
|
/* Set up northbridge values */
|
||||||
|
|
|
@ -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)
|
static void set_on_dimm_termination_enable(const struct mem_controller *ctrl)
|
||||||
{
|
{
|
||||||
u8 c1,c2;
|
u8 c1,c2;
|
||||||
u32 dimm,i;
|
u32 dimm, i;
|
||||||
u32 data32;
|
u32 data32 = 0;
|
||||||
u32 t4;
|
u32 t4;
|
||||||
|
|
||||||
/* Set up northbridge values */
|
/* Set up northbridge values */
|
||||||
|
|
Loading…
Reference in New Issue