X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fdsp563xx_once.h;h=f6d2ef1649b7d9e170b0e5a9d2daa8fe64666312;hp=dcf3bc05557688ca460db33c42536a3e129cca33;hb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee diff --git a/src/target/dsp563xx_once.h b/src/target/dsp563xx_once.h index dcf3bc0555..f6d2ef1649 100644 --- a/src/target/dsp563xx_once.h +++ b/src/target/dsp563xx_once.h @@ -13,9 +13,7 @@ * 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. * + * along with this program. If not, see . * ***************************************************************************/ #ifndef DSP563XX_ONCE_H @@ -23,6 +21,10 @@ #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #define DSP563XX_ONCE_OCR_EX (1<<5) #define DSP563XX_ONCE_OCR_GO (1<<6) #define DSP563XX_ONCE_OCR_RW (1<<7) @@ -59,9 +61,9 @@ #define DSP563XX_ONCE_NOREG 0x01F /* no register selected */ struct once_reg { - uint8_t num; - uint8_t addr; - uint8_t len; + const uint8_t num; + const uint8_t addr; + const uint8_t len; const char *name; uint32_t reg; };