nor/flash/stm32f1x: add stm32f07x support
[fw/openocd] / src / flash / nand / tcl.c
index a06284d29b1e48b2487720decaec600947dbe4d5..20854c795e55c2a35391c3a67910ec92604e5f69 100644 (file)
@@ -18,7 +18,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
@@ -500,7 +500,7 @@ COMMAND_HANDLER(handle_nand_init_command)
 
 static int nand_list_walker(struct nand_flash_controller *c, void *x)
 {
-       struct command_context *cmd_ctx = (struct command_context *)x;
+       struct command_context *cmd_ctx = x;
        command_print(cmd_ctx, "  %s", c->name);
        return ERROR_OK;
 }