summaryrefslogtreecommitdiff
path: root/physmap.c
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-17 22:57:34 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-17 22:57:34 +0000
commitd67cd5bfe25ce53742097a61e217613f7ad05e1d (patch)
tree07041ee05a931c6a5fda882d9ac44632e94663ea /physmap.c
parentecb3238c4c1904c6f23d3b3f3e988a9401797e6e (diff)
downloadflashrom-d67cd5bfe25ce53742097a61e217613f7ad05e1d.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. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@529 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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);
}