flashrom: Trivial indent fix in ichspi.c
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3417 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
5bc95858d5
commit
5dc95de5e6
|
@ -573,9 +573,9 @@ int ich_spi_write(struct flashchip *flash, uint8_t * buf)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flashbus == BUS_TYPE_VIA_SPI) {
|
if (flashbus == BUS_TYPE_VIA_SPI)
|
||||||
maxdata = 16;
|
maxdata = 16;
|
||||||
}
|
|
||||||
for (j = 0; j < erase_size / page_size; j++) {
|
for (j = 0; j < erase_size / page_size; j++) {
|
||||||
ich_spi_write_page(flash, (void *)(buf + (i * erase_size) + (j * page_size)),
|
ich_spi_write_page(flash, (void *)(buf + (i * erase_size) + (j * page_size)),
|
||||||
(i * erase_size) + (j * page_size), maxdata);
|
(i * erase_size) + (j * page_size), maxdata);
|
||||||
|
|
Loading…
Reference in New Issue