u16 bnk, sec;
u16 arch;
u32 cidr;
- u8 banks_num;
- u16 num_nvmbits;
- u16 sectors_num;
- u16 pages_per_sector;
- u16 page_size;
+ u8 banks_num = 0;
+ u16 num_nvmbits = 0;
+ u16 sectors_num = 0;
+ u16 pages_per_sector = 0;
+ u16 page_size = 0;
u32 ext_freq;
u32 bank_size;
u32 base_address = 0;
mips32_common_t *mips32 = target->arch_info;
mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
int i;
- u16 num_pages;
+ u16 num_pages = 0;
u32 device_id;
int page_size;
mips32_common_t *mips32 = target->arch_info;
mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
u32 device_id;
- int printed, i;
+ int printed = 0, i;
device_id = ejtag_info->idcode;