X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fopenrisc%2For1k.c;h=cb18075a2fbfd8da4999d59ac288c2bfa5d2973a;hp=bd373a7fff47c48c9657e84051e4bdccd9cc925b;hb=9777284ae04ac77434b8478ac566535207a3d7c0;hpb=ae3baa9d5a09fa6b3ef23c74ea16f7a10b8a6406 diff --git a/src/target/openrisc/or1k.c b/src/target/openrisc/or1k.c index bd373a7fff..cb18075a2f 100644 --- a/src/target/openrisc/or1k.c +++ b/src/target/openrisc/or1k.c @@ -18,11 +18,6 @@ * 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. * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -50,7 +45,7 @@ static int or1k_write_core_reg(struct target *target, int num); static struct or1k_core_reg *or1k_core_reg_list_arch_info; -struct or1k_core_reg_init or1k_init_reg_list[] = { +static const struct or1k_core_reg_init or1k_init_reg_list[] = { {"r0" , GROUP0 + 1024, "org.gnu.gdb.or1k.group0", NULL}, {"r1" , GROUP0 + 1025, "org.gnu.gdb.or1k.group0", NULL}, {"r2" , GROUP0 + 1026, "org.gnu.gdb.or1k.group0", NULL},