openocd: src/target: replace the GPL-2.0-or-later license tag
[fw/openocd] / src / target / openrisc / or1k_du.h
index 58b39e909dcab4e810fecd4e856942cd90d7e29f..ae95376fa59c5a579555101bbc228d277ba905a1 100644 (file)
@@ -1,23 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /***************************************************************************
  *   Copyright (C) 2013 Franck Jullien                                     *
  *   elec4fun@gmail.com                                                    *
- *                                                                         *
- *   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, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#ifndef OR1K_DU
-#define OR1K_DU
+#ifndef OPENOCD_TARGET_OPENRISC_OR1K_DU_H
+#define OPENOCD_TARGET_OPENRISC_OR1K_DU_H
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -75,5 +64,4 @@ int or1k_adv_jtag_jsp_xfer(struct or1k_jtag *jtag_info,
                                  int *out_len, unsigned char *out_buffer,
                                  int *in_len, unsigned char *in_buffer);
 
-#endif
-
+#endif /* OPENOCD_TARGET_OPENRISC_OR1K_DU_H */