X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstr9x.c;h=7d93b187dffa95360bb78c15266921a3fe5ce0a4;hb=ba2fbe22470915359e1905aaad4c613eacbdf6dc;hp=a66541fe117194c75d1afaef7ce6cdd3c21accaa;hpb=4da4e1cfb7d93dcedc333c11c787b83b8baf7dfa;p=openocd.git diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c index a66541fe11..7d93b187df 100644 --- a/src/flash/nor/str9x.c +++ b/src/flash/nor/str9x.c @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -606,12 +606,6 @@ COMMAND_HANDLER(str9x_handle_part_id_command) } #endif -static int get_str9x_info(struct flash_bank *bank, char *buf, int buf_size) -{ - snprintf(buf, buf_size, "str9x flash driver info"); - return ERROR_OK; -} - COMMAND_HANDLER(str9x_handle_flash_config_command) { struct target *target = NULL; @@ -686,5 +680,4 @@ struct flash_driver str9x_flash = { .auto_probe = str9x_probe, .erase_check = default_flash_blank_check, .protect_check = str9x_protect_check, - .info = get_str9x_info, };