openocd: fix SPDX tag format for files .c
[fw/openocd] / src / rtos / rtos_ucos_iii_stackings.c
index 0d533b55e32ab625fa35d139532708c5cbd40c8d..9ba5288bf1baff2e8e4cc1c9fd535f6d6edb0787 100644 (file)
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
 /***************************************************************************
  *   Copyright (C) 2017 by Square, Inc.                                    *
  *   Steven Stallion <stallion@squareup.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/>. *
  ***************************************************************************/
 
 #ifdef HAVE_CONFIG_H
@@ -43,7 +32,7 @@ static const struct stack_register_offset rtos_ucos_iii_cortex_m_stack_offsets[]
        { ARMV7M_R13,  -2,   32 },      /* sp   */
        { ARMV7M_R14,  0x34, 32 },      /* lr   */
        { ARMV7M_PC,   0x38, 32 },      /* pc   */
-       { ARMV7M_xPSR, 0x3c, 32 },      /* xPSR */
+       { ARMV7M_XPSR, 0x3c, 32 },      /* xPSR */
 };
 
 static const struct stack_register_offset rtos_ucos_iii_esi_risc_stack_offsets[] = {