[coreboot] [v2] r4862 - trunk/coreboot-v2/src/lib

svn at coreboot.org svn at coreboot.org
Mon Oct 26 18:15:53 CET 2009


Author: stepan
Date: 2009-10-26 18:15:53 +0100 (Mon, 26 Oct 2009)
New Revision: 4862

Modified:
   trunk/coreboot-v2/src/lib/cbfs.c
Log:
reasonable output for cbfs loading..
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/coreboot-v2/src/lib/cbfs.c
===================================================================
--- trunk/coreboot-v2/src/lib/cbfs.c	2009-10-26 17:12:21 UTC (rev 4861)
+++ trunk/coreboot-v2/src/lib/cbfs.c	2009-10-26 17:15:53 UTC (rev 4862)
@@ -88,7 +88,7 @@
 	while(1) {
 		struct cbfs_file *file = (struct cbfs_file *) offset;
 		if (!cbfs_check_magic(file)) return NULL;
-		printk_debug("Check %s\n", CBFS_NAME(file));
+		printk_spew("Check %s\n", CBFS_NAME(file));
 		if (!strcmp(CBFS_NAME(file), name))
 			return file;
 
@@ -187,7 +187,7 @@
 	if (stage == NULL)
 		return (void *) -1;
 
-	printk_info("Stage: load %s @ %d/%d bytes, enter @ %llx\n", 
+	printk_info("Stage: loading %s @ 0x%x (%d bytes), entry @ 0x%llx\n", 
 			name,
 			(u32) stage->load, stage->memlen, 
 			stage->entry);
@@ -199,10 +199,12 @@
 			     (void *) (u32) stage->load,
 			     stage->len))
 		return (void *) -1;
-	printk_info("Stage: done loading.\n");
 
+	printk_debug("Stage: done loading.\n");
+
 	entry = stage->entry;
-//	return (void *) ntohl((u32) stage->entry);
+	// entry = ntohl((u32) stage->entry);
+
 	return (void *) entry;
 }
 





More information about the coreboot mailing list