cfi_protect is not implemented on Spansion flashes (many do not even have protection...
[fw/openocd] / src / flash / nor / stellaris.c
index 12ea15b2099c33e10db0c93d3a8ccb99f191f7bb..851cab3344c00d6cb08c76998b43614834b458d0 100644 (file)
@@ -100,7 +100,7 @@ struct stellaris_flash_bank
        uint32_t dc0;
        uint32_t dc1;
 
-       char * target_name;
+       const char * target_name;
 
        uint32_t sramsiz;
        uint32_t flshsz;
@@ -125,7 +125,7 @@ struct stellaris_flash_bank
 
 static struct {
        uint32_t partno;
-       char *partname;
+       const char *partname;
 }      StellarisParts[] =
 {
        {0x0001,"LM3S101"},