]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/dsp5680xx_flash.c
flash/nor: Make info function optional
[openocd] / src / flash / nor / dsp5680xx_flash.c
index b935a1e895c60ae2fc94897cec694c788ed2fab1..9368d892c3296d42d9671e6bed14ab58aebc0901 100644 (file)
@@ -193,14 +193,6 @@ static int dsp5680xx_probe(struct flash_bank *bank)
        return ERROR_OK;
 }
 
-static int dsp5680xx_flash_info(struct flash_bank *bank, char *buf,
-               int buf_size)
-{
-       snprintf(buf, buf_size,
-               "\ndsp5680xx flash driver info:\n - See comments in code.");
-       return ERROR_OK;
-}
-
 /**
  * The flash module (FM) on the dsp5680xx supports both individual sector
  * and mass erase of the flash memory.
@@ -277,5 +269,4 @@ struct flash_driver dsp5680xx_flash = {
        .auto_probe = dsp5680xx_probe,
        .erase_check = dsp5680xx_flash_erase_check,
        .protect_check = dsp5680xx_flash_protect_check,
-       .info = dsp5680xx_flash_info
 };