mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 23:43:42 +02:00
Trivial indent fix in ichspi.c
Corresponding to flashrom svn r301 and coreboot v2 svn r3417. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
8b114399d6
commit
6a214163c0
6
ichspi.c
6
ichspi.c
@ -573,9 +573,9 @@ int ich_spi_write(struct flashchip *flash, uint8_t * buf)
|
||||
break;
|
||||
}
|
||||
|
||||
if (flashbus == BUS_TYPE_VIA_SPI) {
|
||||
maxdata = 16;
|
||||
}
|
||||
if (flashbus == BUS_TYPE_VIA_SPI)
|
||||
maxdata = 16;
|
||||
|
||||
for (j = 0; j < erase_size / page_size; j++) {
|
||||
ich_spi_write_page(flash, (void *)(buf + (i * erase_size) + (j * page_size)),
|
||||
(i * erase_size) + (j * page_size), maxdata);
|
||||
|
Loading…
x
Reference in New Issue
Block a user