]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Thu, 19 Jul 2012 21:46:20 +0000 (21:46 +0000)
committerhadeshyp <hadeshyp>
Thu, 19 Jul 2012 21:46:20 +0000 (21:46 +0000)
libtrbnet/trbflash.c

index ba4b11cb951fdba5aea0fb839a984e93be6a2bf1..5c6560f2e0a172d1f8e33a30c8c9b3f6ebe705f4 100644 (file)
@@ -120,7 +120,7 @@ typedef struct {
 } FlashParam;
 
 static FlashParam flashParamRef;
-static const char trbflash_version[] = "$Revision: 2.43 $";
+static const char trbflash_version[] = "$Revision: 2.44 $";
 
 static uint32_t mdcFlashSelect = 1;
 
@@ -244,6 +244,14 @@ static int setFlashParam(FlashParam* flashParam, uint16_t hardwareId)
     flashParam->numPages = 16384;
     break;
     
+    /* CTS_FPGA2 */
+  case 0x5200:
+    flashParam->flashType = FLASH_CTS_FPGA2;
+    flashParam->manId = 0x00471f;
+    strcpy(flashParam->allowedStringId[0], "cts_fpga2");
+    flashParam->numPages = 16384;
+    break;    
+    
     /* TRB3 */
   case 0x9000:
     flashParam->flashType = FLASH_TRB3_CENTRAL;