mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
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>
This commit is contained in:
@ -201,7 +201,7 @@ static void print_supported_boards_wiki(void)
|
||||
static void print_supported_chips_wiki(int cols)
|
||||
{
|
||||
int i = 0, c = 1, chipcount = 0;
|
||||
struct flashchip *f, *old = NULL;
|
||||
const struct flashchip *f, *old = NULL;
|
||||
uint32_t t;
|
||||
|
||||
for (f = flashchips; f->name != NULL; f++)
|
||||
|
Reference in New Issue
Block a user