From eaefb48ee5137db9c508acbb8b5a59c6f8fa1a94 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 17 May 2009 22:57:34 +0000 Subject: 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 Acked-by: Uwe Hermann --- physmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'physmap.c') 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); } -- cgit v1.1