flash/nor: Make info function optional
[fw/openocd] / src / flash / nor / ocl.c
index 4e7198a736fe2c6ec9ecd50eea994ae1b1b3dd80..6b297b0d366c929c8d8dfa18d8a25d797f9e72e5 100644 (file)
@@ -321,11 +321,6 @@ static int ocl_probe(struct flash_bank *bank)
        return ERROR_OK;
 }
 
-static int ocl_info(struct flash_bank *bank, char *buf, int buf_size)
-{
-       return ERROR_OK;
-}
-
 static int ocl_auto_probe(struct flash_bank *bank)
 {
        struct ocl_priv *ocl = bank->driver_priv;
@@ -346,6 +341,5 @@ struct flash_driver ocl_flash = {
        .probe = ocl_probe,
        .erase_check = ocl_erase_check,
        .protect_check = ocl_protect_check,
-       .info = ocl_info,
        .auto_probe = ocl_auto_probe,
 };