summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-08 20:30:53 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-10 20:31:53 +0000
commit2946c895a175e586a7f79797e2168c9fd0eddbbe (patch)
tree7c6e3e45eb1d487b7e6304535660011d0411c56e /src/flash
parent17d437a7a193e783e8daeb0837e6dad5e6811213 (diff)
downloadopenocd_libswd-2946c895a175e586a7f79797e2168c9fd0eddbbe.tar.gz
openocd_libswd-2946c895a175e586a7f79797e2168c9fd0eddbbe.tar.bz2
openocd_libswd-2946c895a175e586a7f79797e2168c9fd0eddbbe.tar.xz
openocd_libswd-2946c895a175e586a7f79797e2168c9fd0eddbbe.zip
ADUC702x: flash loader cleanup
- make algorithm array static const. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/aduc702x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c
index 7e81b327..88072b91 100644
--- a/src/flash/nor/aduc702x.c
+++ b/src/flash/nor/aduc702x.c
@@ -188,7 +188,7 @@ static int aduc702x_write_block(struct flash_bank *bank, uint8_t *buffer, uint32
r6 - set to 2, used to write flash command
*/
- uint32_t aduc702x_flash_write_code[] = {
+ static const uint32_t aduc702x_flash_write_code[] = {
//<_start>:
0xe3a05008, // mov r5, #8 ; 0x8
0xe5845004, // str r5, [r4, #4]