X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fnds32_reg.h;h=30cd241724b45b18541ef439fb36a70009d97463;hb=HEAD;hp=1c61b6164bfdcb82cc88d6c767296bb5e6747022;hpb=cf8a3c3d7075abad3c88cd604f8add4d06898abc;p=fw%2Fopenocd diff --git a/src/target/nds32_reg.h b/src/target/nds32_reg.h index 1c61b6164..30cd24172 100644 --- a/src/target/nds32_reg.h +++ b/src/target/nds32_reg.h @@ -1,24 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /*************************************************************************** * Copyright (C) 2013 Andes Technology * * Hsiangkai Wang * - * * - * 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., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ -#ifndef __NDS32_REG_H__ -#define __NDS32_REG_H__ + +#ifndef OPENOCD_TARGET_NDS32_REG_H +#define OPENOCD_TARGET_NDS32_REG_H #define SRIDX(a, b, c) ((a << 7) | (b << 3) | c) #define NDS32_REGISTER_DISABLE (0x0) @@ -323,4 +311,4 @@ const char *nds32_reg_simple_name(uint32_t number); const char *nds32_reg_symbolic_name(uint32_t number); bool nds32_reg_exception(uint32_t number, uint32_t value); -#endif +#endif /* OPENOCD_TARGET_NDS32_REG_H */