Merge pull request #956 from hzhuang1/fix_var_in_ddr

hikey: fix uninitialized variable in ddr code
This commit is contained in:
danh-arm 2017-05-31 14:23:41 +01:00 committed by GitHub
commit fa792637c0

View File

@ -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));