#!/usr/bin/perl
+# SPDX-License-Identifier: GPL-2.0-or-later
+
# Automatically generates the StellarisParts struct in src/flash/nor/stellaris.c
# Uses the header files from TI/Luminary's StellarisWare complete Firmware Development Package
# available from: http://www.luminarymicro.com/products/software_updates.html
$comment = "// Autogenerated by contrib/gen-stellaris-part-header.pl
// From Stellaris Firmware Development Package revision";
-$struct_header = "static struct {
+$struct_header = "static const struct {
uint8_t class;
uint8_t partno;
const char *partname;