diff options
author | Priyanka Singh <priyanka.singh@nxp.com> | 2020-10-27 13:20:14 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-12-10 11:26:39 +0300 |
commit | f6cb837721425000fc666ef350b77d400a08f584 (patch) | |
tree | d4b12754519ce4a678b8be20992607a6c5e68b54 /board/freescale/common | |
parent | fc9a3d1b295cb15da06788fbb2f32d06b3888c57 (diff) | |
download | u-boot-f6cb837721425000fc666ef350b77d400a08f584.tar.xz |
board: freescale: vid.c: Initialize variable 'i2caddress'
Initialize variable 'i2caddress' in adjust_vdd() to zero
Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r-- | board/freescale/common/vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 77a3be68ef..2617f61520 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -485,7 +485,7 @@ int adjust_vdd(ulong vdd_override) u8 vid; #endif int vdd_target, vdd_current, vdd_last; - int ret, i2caddress; + int ret, i2caddress = 0; unsigned long vdd_string_override; char *vdd_string; #if defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LX2162A) |