diff options
Diffstat (limited to 'board/mpl')
-rw-r--r-- | board/mpl/common/common_util.c | 2 | ||||
-rw-r--r-- | board/mpl/vcma9/cmd_vcma9.c | 2 | ||||
-rw-r--r-- | board/mpl/vcma9/vcma9.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/board/mpl/common/common_util.c b/board/mpl/common/common_util.c index 0a67090..19ead33 100644 --- a/board/mpl/common/common_util.c +++ b/board/mpl/common/common_util.c @@ -49,7 +49,9 @@ int mpl_prg(unsigned long src,unsigned long size) unsigned long start; flash_info_t *info; int i,rc; +#if defined(CONFIG_PIP405) || defined(CONFIG_MIP405) unsigned long *magic = (unsigned long *)src; +#endif info = &flash_info[0]; 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); diff --git a/board/mpl/vcma9/vcma9.c b/board/mpl/vcma9/vcma9.c index 8e3552e..e452a7b 100644 --- a/board/mpl/vcma9/vcma9.c +++ b/board/mpl/vcma9/vcma9.c @@ -183,7 +183,6 @@ static uchar Get_Board_PCB(void) int checkboard(void) { unsigned char s[50]; - unsigned char bc, var, rc; int i; backup_t *b = (backup_t *) s; |