[LinuxBIOS] r2611 - trunk/LinuxBIOSv2/src/boot
svn at openbios.org
svn at openbios.org
Sat Apr 14 18:34:32 CEST 2007
Author: stepan
Date: 2007-04-14 18:34:32 +0200 (Sat, 14 Apr 2007)
New Revision: 2611
Modified:
trunk/LinuxBIOSv2/src/boot/elfboot.c
Log:
This patch makes a some elf debugging information available at log level
debug instead of spew. (trivial)
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/LinuxBIOSv2/src/boot/elfboot.c
===================================================================
--- trunk/LinuxBIOSv2/src/boot/elfboot.c 2007-04-14 16:32:59 UTC (rev 2610)
+++ trunk/LinuxBIOSv2/src/boot/elfboot.c 2007-04-14 16:34:32 UTC (rev 2611)
@@ -627,7 +627,7 @@
for(i = 0; i < ELF_HEAD_SIZE - (sizeof(Elf_ehdr) + sizeof(Elf_phdr)); i+=16) {
ehdr = (Elf_ehdr *)(&header[i]);
if (memcmp(ehdr->e_ident, ELFMAG, 4) != 0) {
- printk_spew("NO header at %d\n", i);
+ printk_debug("No header at %d\n", i);
continue;
}
printk_debug("Found ELF candidate at offset %d\n", i);
@@ -646,12 +646,12 @@
}
ehdr = 0;
}
- printk_spew("header_offset is %d\n", header_offset);
+ printk_debug("header_offset is %d\n", header_offset);
if (header_offset == -1) {
goto out;
}
- printk_spew("Try to load at offset 0x%x\n", header_offset);
+ printk_debug("Try to load at offset 0x%x\n", header_offset);
result = elfload(mem,
header + header_offset , ELF_HEAD_SIZE - header_offset);
out:
@@ -659,7 +659,7 @@
/* Shutdown the stream device */
stream_fini();
- printk_err("Cannot Load ELF Image\n");
+ printk_err("Can not load ELF Image.\n");
post_code(0xff);
}
More information about the coreboot
mailing list