flash: declare fixed arrays const

Change-Id: Id06b8b53ec59a7b3182f60f51dde5b16563aaeef
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1887
Tested-by: jenkins
This commit is contained in:
Spencer Oliver
2014-01-20 15:03:24 +00:00
committed by Andreas Fritiofson
parent facd0e7827
commit 32c4c18045
14 changed files with 33 additions and 33 deletions

View File

@@ -43,7 +43,7 @@ struct flash_device {
.size_in_bytes = size \
}
extern struct flash_device flash_devices[];
extern const struct flash_device flash_devices[];
/* fields in SPI flash status register */
#define SPIFLASH_BSY_BIT 0x00000001 /* WIP Bit of SPI SR on SMI SR */