X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fflash%2Fnor%2Fem357.c;h=8f25a89b650a561a5d456bb53fbb5859019efd9d;hb=1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3;hp=664306ca5f4017be94dbc18c0d49b8902bac2260;hpb=2cb486213e01074b2e87edeb830a527866512a9a;p=openocd.git diff --git a/src/flash/nor/em357.c b/src/flash/nor/em357.c index 664306ca5f..8f25a89b65 100644 --- a/src/flash/nor/em357.c +++ b/src/flash/nor/em357.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 @@ -751,13 +751,6 @@ static int em357_auto_probe(struct flash_bank *bank) return em357_probe(bank); } - -static int get_em357_info(struct flash_bank *bank, char *buf, int buf_size) -{ - snprintf(buf, buf_size, "em357\n"); - return ERROR_OK; -} - COMMAND_HANDLER(em357_handle_lock_command) { struct target *target = NULL; @@ -946,5 +939,4 @@ struct flash_driver em357_flash = { .auto_probe = em357_auto_probe, .erase_check = default_flash_blank_check, .protect_check = em357_protect_check, - .info = get_em357_info, };