#define VERSION_MASK 0x00FF
#define BANK_MASK 0x0001
-#define CONFIG_RESET 0x1
+#define CFG_RESET 0x1
#define INIT_RESET 0x1
#define CPLD_SET_MUX_SERDES 0x20
if (need_reset == 1) {
printf("Reset board to enable configuration\n");
- cpld_data->system_rst = CONFIG_RESET;
+ cpld_data->system_rst = CFG_RESET;
}
}
cpld_data->vbank = bank;
printf("Reset board to enable configuration.\n");
- cpld_data->system_rst = CONFIG_RESET;
+ cpld_data->system_rst = CFG_RESET;
}
static int flash_bank_cmd(struct cmd_tbl *cmdtp, int flag, int argc,
if (argc > 2)
return CMD_RET_USAGE;
if ((argc == 1) || (strcmp(argv[1], "conf") == 0))
- cpld_data->system_rst = CONFIG_RESET;
+ cpld_data->system_rst = CFG_RESET;
else if (strcmp(argv[1], "init") == 0)
cpld_data->global_rst = INIT_RESET;
else