FLASH_MDC = 3
} FlashType;
-static const char FlashTypeStr[][16] =
- {"INVALID", "ADCM1", "ADCM2&3 / SHOWER", "MDC"};
+static const char FlashTypeStr[][32] =
+ {"INVALID", "ADCM1", "ADCM2&3 / SHOWER / MDCHub", "MDC OEP"};
static FlashType flashType = FLASH_INVALID;
-static const char trbflash_version[] = "$Revision: 2.12 $";
+static const char trbflash_version[] = "$Revision: 2.13 $";
static uint32_t mdcFlashSelect = 1;
static int prepareImageBuffer()
{
- char strId[3][32] = {"", ""};
+ char strId[4][32] = {"", ""};
unsigned int numIds = 0;
int found;
unsigned int end;
strncpy(strId[0], "edif_adcmv2", 32);
strncpy(strId[1], "edif_adcmv3", 32);
strncpy(strId[2], "shower", 32);
- numIds = 3;
+ strncpy(strId[3], "mdchub", 32);
+ numIds = 4;
break;
case FLASH_MDC: