summaryrefslogtreecommitdiff
path: root/util/flashrom/spi.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
commitdcb9abdf4ce76910191c5b3abf56d03ad800e1f7 (patch)
tree16815aa22f39b0acec9667aab1dfd6df5f412b57 /util/flashrom/spi.c
parent7dabe5ea0d8af4b60c07a075fa03d4c837d2e698 (diff)
downloadcoreboot-dcb9abdf4ce76910191c5b3abf56d03ad800e1f7.tar.xz
Some cosmetic cleanups in the flashrom code and output.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2873 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/spi.c')
-rw-r--r--util/flashrom/spi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/flashrom/spi.c b/util/flashrom/spi.c
index 8a6a61c6c3..5dae5be731 100644
--- a/util/flashrom/spi.c
+++ b/util/flashrom/spi.c
@@ -123,7 +123,7 @@ static int it8716f_spi_command(uint16_t port, unsigned char writecnt, unsigned c
busy = inb(port) & 0x80;
} while (busy);
if (readcnt > 3) {
- printf("%s called with unsupported readcnt %i\n",
+ printf("%s called with unsupported readcnt %i.\n",
__FUNCTION__, readcnt);
return 1;
}
@@ -153,7 +153,7 @@ static int it8716f_spi_command(uint16_t port, unsigned char writecnt, unsigned c
writeenc = 0x3;
break;
default:
- printf("%s called with unsupported writecnt %i\n",
+ printf("%s called with unsupported writecnt %i.\n",
__FUNCTION__, writecnt);
return 1;
}
@@ -184,7 +184,7 @@ static int generic_spi_rdid(unsigned char *readarr)
if (generic_spi_command(JEDEC_RDID_OUTSIZE, JEDEC_RDID_INSIZE, cmd, readarr))
return 1;
- printf("RDID returned %02x %02x %02x\n", readarr[0], readarr[1], readarr[2]);
+ printf("RDID returned %02x %02x %02x.\n", readarr[0], readarr[1], readarr[2]);
return 0;
}