mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
qca: Fix KW variable initialization issue
Change-Id: I90363e8da0f1f3cf89e0e9635707a9b2fd555770 Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This commit is contained in:
parent
f46ee781bf
commit
79fd2cc72c
2 changed files with 2 additions and 2 deletions
|
|
@ -907,7 +907,7 @@ static int ipq807x_eth_init(struct eth_device *eth_dev, bd_t *this)
|
|||
char *lstatus[] = {"up", "Down"};
|
||||
char *dp[] = {"Half", "Full"};
|
||||
int linkup=0;
|
||||
int mac_speed, speed_clock1, speed_clock2;
|
||||
int mac_speed = 0, speed_clock1 = 0, speed_clock2 = 0;
|
||||
int phy_addr, port_8033 = -1, node, aquantia_port = -1;
|
||||
|
||||
node = fdt_path_offset(gd->fdt_blob, "/ess-switch");
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ int ipq_sw_mdio_init(const char *name)
|
|||
static int do_ipq_mdio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
char op[2];
|
||||
unsigned int addr, reg;
|
||||
unsigned int addr = 0, reg = 0;
|
||||
unsigned short data = 0;
|
||||
|
||||
if (argc < 2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue