X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fferoceon.c;h=efe12896a0614987ec55150efdb12b5b31fbcd81;hb=5a6dc5a325756132ce20be598c278022c7b1c185;hp=9e200d626c5decb97a88e0ed4406e97dc7f71263;hpb=11ef6e64856eef2f7ad09af83128a78c01e01cf7;p=openocd.git diff --git a/src/target/feroceon.c b/src/target/feroceon.c index 9e200d626c..efe12896a0 100644 --- a/src/target/feroceon.c +++ b/src/target/feroceon.c @@ -1,26 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2008 by Marvell Semiconductors, Inc. * + * Written by Nicolas Pitre * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * 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. * + ***************************************************************************/ + /* * Marvell Feroceon (88F5182, 88F5281) support. * - * Copyright (C) 2008 Marvell Semiconductors, Inc. - * Written by Nicolas Pitre - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. - */ - -/* * The Feroceon core mimics the ARM926 ICE interface with the following * differences: * @@ -609,6 +609,7 @@ int feroceon_target_command(struct command_context_s *cmd_ctx, char *cmd, char * armv4_5_common_t *armv4_5; arm7_9_common_t *arm7_9; arm926ejs_common_t *arm926ejs = malloc(sizeof(arm926ejs_common_t)); + memset(arm926ejs, 0, sizeof(*arm926ejs)); if (argc < 4) {