From f382e352ac63108ec0f912ff52b538c99f46c340 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Tue, 8 Nov 2011 11:55:24 +0000 Subject: ichspi: print flash descriptor dependent information only when it is valid Also, fix some coding style issues. Corresponding to flashrom svn r1462. Signed-off-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- ichspi.c | 59 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 26 deletions(-) (limited to 'ichspi.c') diff --git a/ichspi.c b/ichspi.c index d1443ee..c684522 100644 --- a/ichspi.c +++ b/ichspi.c @@ -1092,7 +1092,7 @@ static int ich_spi_send_command(unsigned int writecnt, unsigned int readcnt, (opcode->spi_type == SPI_OPCODE_TYPE_WRITE_NO_ADDRESS)) { int i; msg_pspew("The data was:\n"); - for(i=0; i