forked from auracaster/openocd
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:
committed by
Andreas Fritiofson
parent
facd0e7827
commit
32c4c18045
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user