summaryrefslogtreecommitdiff
path: root/board/mpl/vcma9/cmd_vcma9.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpl/vcma9/cmd_vcma9.c')
-rw-r--r--board/mpl/vcma9/cmd_vcma9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpl/vcma9/cmd_vcma9.c b/board/mpl/vcma9/cmd_vcma9.c
index cdafc50..80bb61b2b 100644
--- a/board/mpl/vcma9/cmd_vcma9.c
+++ b/board/mpl/vcma9/cmd_vcma9.c
@@ -102,7 +102,7 @@ int do_vcma9(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf("\nplease defined 'ethaddr'\n");
}
} else if (strcmp(argv[2], "dump") == 0) {
- uchar addr, endaddr, csum; ushort data;
+ uchar addr = 0, endaddr, csum; ushort data;
printf("Dump of CS8900 config device: ");
cs8900_e2prom_read(addr, &data);