X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Ftcl.c;h=20854c795e55c2a35391c3a67910ec92604e5f69;hb=7b9b4a0d287cdf84033a0d34d05a25fa80160cf5;hp=a06284d29b1e48b2487720decaec600947dbe4d5;hpb=2f944a34100e2824afe199fe744904465482d6d1;p=fw%2Fopenocd diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c index a06284d29..20854c795 100644 --- a/src/flash/nand/tcl.c +++ b/src/flash/nand/tcl.c @@ -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; }