cfi_protect is not implemented on Spansion flashes (many do not even have protection...
[fw/openocd] / src / flash / nor / lpc288x.c
index d8cecc0b10d1a1fa7e18b9ab76f35234e06f9bdc..589527f735c060f60ecfe12a1872c451b93c10b6 100644 (file)
@@ -91,7 +91,7 @@ struct lpc288x_flash_bank
 
        /* chip id register */
        uint32_t cidr;
-       char * target_name;
+       const char * target_name;
        uint32_t cclk;
 
        uint32_t sector_size_break;