diff options
author | stuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2008-07-07 05:14:06 +0000 |
---|---|---|
committer | stuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2008-07-07 05:14:06 +0000 |
commit | e0b01e8016f8a21b3ba497c081328de7cce18416 (patch) | |
tree | fb30c50bcfa3015281f8ecca3a6ae92b394063e3 /ichspi.c | |
parent | 56c01035da16435ab7d6ab8cd4a5f839fd2bba88 (diff) | |
download | flashrom-e0b01e8016f8a21b3ba497c081328de7cce18416.tar.gz |
Original v2 revision: 3417
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: https://code.coreboot.org/svn/flashrom/trunk@301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'ichspi.c')
-rw-r--r-- | ichspi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |