summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-07-07 05:14:06 +0000
committerPeter Stuge <peter@stuge.se>2008-07-07 05:14:06 +0000
commit6a214163c098f63a2fc3595d69f41b1cab0e64c9 (patch)
treefb30c50bcfa3015281f8ecca3a6ae92b394063e3
parent8b114399d6e183141275b5a72a4c0bbc61abacae (diff)
downloadast2050-flashrom-6a214163c098f63a2fc3595d69f41b1cab0e64c9.zip
ast2050-flashrom-6a214163c098f63a2fc3595d69f41b1cab0e64c9.tar.gz
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>
-rw-r--r--ichspi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ichspi.c b/ichspi.c
index 492f548..93887b3 100644
--- a/ichspi.c
+++ b/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);
OpenPOWER on IntegriCloud