From 50d65160957c47a13d9cd17c1605ab8607961f66 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Thu, 19 Jul 2012 21:46:20 +0000 Subject: [PATCH] *** empty log message *** --- libtrbnet/trbflash.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libtrbnet/trbflash.c b/libtrbnet/trbflash.c index ba4b11c..5c6560f 100644 --- a/libtrbnet/trbflash.c +++ b/libtrbnet/trbflash.c @@ -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; -- 2.43.0