aboutsummaryrefslogtreecommitdiff
path: root/src/target/dsp563xx_once.h
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2014-09-11 22:14:31 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2014-10-06 11:57:40 +0000
commit3160c66408af858c3064e54fb14f074e54ac6701 (patch)
tree26c57bb046e4c6157a524a31f7a41b4559c00fcc /src/target/dsp563xx_once.h
parentb675edcc95935cbdf77002db1e261536026f4cbe (diff)
downloadriscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.zip
riscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.tar.gz
riscv-openocd-3160c66408af858c3064e54fb14f074e54ac6701.tar.bz2
target: constify structures
Change-Id: I875cfab8dec4ade72ed9c9cd7d52baaca182a1ef Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/2295 Tested-by: jenkins
Diffstat (limited to 'src/target/dsp563xx_once.h')
-rw-r--r--src/target/dsp563xx_once.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/dsp563xx_once.h b/src/target/dsp563xx_once.h
index b0be95b..8835d55 100644
--- a/src/target/dsp563xx_once.h
+++ b/src/target/dsp563xx_once.h
@@ -63,9 +63,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;
};