Commit 22db0167 authored by Haojian Zhuang's avatar Haojian Zhuang
Browse files

hikey: fix uninitialized variable in ddr code



Fix uninitliazed variable in ddr driver code.
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 572e1413
......@@ -385,7 +385,7 @@ static void ddrx_rdet(void)
static void ddrx_wdet(void)
{
unsigned int data, wdet, zero_bdl, dq[4];
unsigned int data, wdet, zero_bdl = 0, dq[4];
int i;
data = mmio_read_32((0xf712c000 + 0x0d0));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment