diff options
Diffstat (limited to 'util/flashrom/it87spi.c')
-rw-r--r-- | util/flashrom/it87spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/it87spi.c b/util/flashrom/it87spi.c index e6cd9d6af6..d1dd1d643f 100644 --- a/util/flashrom/it87spi.c +++ b/util/flashrom/it87spi.c @@ -192,7 +192,7 @@ int it8716f_spi_command(unsigned int writecnt, unsigned int readcnt, const unsig } /* Page size is usually 256 bytes */ -void it8716f_spi_page_program(int block, uint8_t *buf, uint8_t *bios) { +static void it8716f_spi_page_program(int block, uint8_t *buf, uint8_t *bios) { int i; spi_write_enable(); @@ -261,7 +261,7 @@ int it8716f_spi_chip_write(struct flashchip *flash, uint8_t *buf) { it8716f_over512k_spi_chip_write(flash, buf); } else { for (i = 0; i < total_size / 256; i++) { - spi_page_program(i, buf, (uint8_t *)flash->virtual_memory); + it8716f_spi_page_program(i, buf, (uint8_t *)flash->virtual_memory); } } return 0; |