summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-04 00:39:50 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-04 00:39:50 +0000
commit4c82318e4ac57b6da384700fb9d454535b62b3ae (patch)
tree7d92a35b73cef6e339d3dfe1d3635c5843250046 /programmer.h
parent54ce73a1f5c7ddecc7579c136dbac9c2c201b621 (diff)
downloadflashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.tar.gz
flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.tar.bz2
flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.zip
Constify flashchips array
This moves 99.5% of the .data section to .rodata (which ends up in .text). Corresponding to flashrom svn r1293. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/programmer.h b/programmer.h
index cd5d584c3..19c3a308d 100644
--- a/programmer.h
+++ b/programmer.h
@@ -515,7 +515,7 @@ struct decode_sizes {
extern struct decode_sizes max_rom_decode;
extern int programmer_may_write;
extern unsigned long flashbase;
-void check_chip_supported(struct flashchip *flash);
+void check_chip_supported(const struct flashchip *flash);
int check_max_decode(enum chipbustype buses, uint32_t size);
char *extract_programmer_param(char *param_name);