diff options
author | Peter Stuge <peter@stuge.se> | 2008-07-07 05:14:06 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-07-07 05:14:06 +0000 |
commit | 5dc95de5e64638d5b95d7fd1fb7ef87887bfdbdc (patch) | |
tree | 015b358b7c9b968e38ec9abf5236b0dbe60c3cab | |
parent | 5bc95858d5262d68e16c61cfef3bb309f1826c69 (diff) |
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
-rw-r--r-- | util/flashrom/ichspi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/flashrom/ichspi.c b/util/flashrom/ichspi.c index 492f548044..93887b3c33 100644 --- a/util/flashrom/ichspi.c +++ b/util/flashrom/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); |