flash/nor/at91samd: Use 32-bit register writes for ST-Link compat
[fw/openocd] / contrib / loaders / checksum / mips32.s
index f8f08a230636900f5c209fa749e495edb97533c5..52de547b45e9599bbd8ceeb4b0d7f406e0e75b17 100644 (file)
@@ -1,21 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /***************************************************************************
  *   Copyright (C) 2010 by Spencer Oliver                                  *
  *   spen@spen-soft.co.uk                                                  *
- *                                                                         *
- *   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.             *
  ***************************************************************************/
 
        .global main
@@ -31,7 +18,7 @@
  * temps:
  * t3 v0 a3 a2 t0 v1
  */
+
 .ent main
 main:
        addiu   $t4, $a0, 0             /* address in */
@@ -65,7 +52,7 @@ loop:
 ncomp:
        bne             $t2, $t3, nbyte /* all bytes processed */
        addiu   $t3, $t3, 1
-       
+
 wait:
        sdbbp