summaryrefslogtreecommitdiffstats
path: root/physmap.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-05-17 22:57:34 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-05-17 22:57:34 +0000
commiteaefb48ee5137db9c508acbb8b5a59c6f8fa1a94 (patch)
tree07041ee05a931c6a5fda882d9ac44632e94663ea /physmap.c
parent525339c32b6ec965117442bcc188b3261fb006ff (diff)
downloadast2050-flashrom-eaefb48ee5137db9c508acbb8b5a59c6f8fa1a94.zip
ast2050-flashrom-eaefb48ee5137db9c508acbb8b5a59c6f8fa1a94.tar.gz
Various smaller flashrom improvements
- Document new 'satasii' programmer in -L output and manpage. - Drop PCI_IO_BASE_ADDRESS, pci.h has such #defines already. - Beautify flashrom output and make it more consistent. - Same for the 'make' output (reordered some $CC parameters). Build-tested on i386, shouldn't break any builds, I think. - Some variable renaming and other cosmetic fixes. Corresponding to flashrom svn r529. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'physmap.c')
-rw-r--r--physmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/physmap.c b/physmap.c
index f1a68db..4bba369 100644
--- a/physmap.c
+++ b/physmap.c
@@ -81,18 +81,18 @@ void physunmap(void *virt_addr, size_t len)
void *physmap(const char *descr, unsigned long phys_addr, size_t len)
{
if (len == 0) {
- printf_debug("Not mapping %s, zero size at 0x%08lx\n",
- descr, phys_addr);
+ printf_debug("Not mapping %s, zero size at 0x%08lx.\n",
+ descr, phys_addr);
return NULL;
}
if ((getpagesize() - 1) & len) {
- fprintf(stderr, "Mapping %s at 0x%08lx, unaligned size 0x%lx\n",
+ fprintf(stderr, "Mapping %s at 0x%08lx, unaligned size 0x%lx.\n",
descr, phys_addr, (unsigned long)len);
}
if ((getpagesize() - 1) & phys_addr) {
- fprintf(stderr, "Mapping %s, 0x%lx bytes at unaligned 0x%08lx\n",
+ fprintf(stderr, "Mapping %s, 0x%lx bytes at unaligned 0x%08lx.\n",
descr, (unsigned long)len, phys_addr);
}
OpenPOWER on IntegriCloud