summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-26 17:15:53 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-26 17:15:53 +0000
commitb4f3da5b143f5bc63f9bfd5332e557998d4d39af (patch)
treee68f57088864b7daed81c1b3af3339f4ae2b1f3e /src/lib
parentaca6ec66bf7048e77ec960bb751a04e6b0528c70 (diff)
reasonable output for cbfs loading..
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cbfs.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 780d69f488..876f6352e0 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -88,7 +88,7 @@ struct cbfs_file *cbfs_find(const char *name)
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 @@ void * cbfs_load_stage(const char *name)
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 * cbfs_load_stage(const char *name)
(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;
}