summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-05-25 12:40:03 +0000
committerStefan Reinauer <stepan@openbios.org>2006-05-25 12:40:03 +0000
commitd0cffada3cbdd801d984242939b6f51ef1e090fc (patch)
tree5845f5b136fbbbe203b2ffbe1c9522729ca7ac60
parent9dd8d56192f617bb0afd20a59622f69b92353b2d (diff)
fix broadcom/blast, tyan/s2735, tyan/s2891, tyan/s2895 broken by r2307
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2311 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/lib/nrv2b.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/nrv2b.c b/src/lib/nrv2b.c
index 1c0fa7f0a3..4dd71e52a7 100644
--- a/src/lib/nrv2b.c
+++ b/src/lib/nrv2b.c
@@ -37,7 +37,9 @@ static unsigned long unrv2b(uint8_t * src, uint8_t * dst)
const uint8_t *m_pos;
unsigned long file_len = *(unsigned long *) src;
- printk_debug("compressed file len is supposed to be %d bytes\n", file_len);
+ // we only have printk_debug in copy_and_run.c if CONFIG_USE_INIT is
+ // not set, so comment it out.
+ // printk_debug("compressed file len is supposed to be %d bytes\n", file_len);
// skip length
src += 4;
/* FIXME: check olen with the length stored in first 4 bytes */
@@ -79,7 +81,9 @@ static unsigned long unrv2b(uint8_t * src, uint8_t * dst)
} while (--m_len > 0);
}
- printk_debug("computed len is %d, file len is %d\n", olen, file_len);
+ // we only have printk_debug in copy_and_run.c if CONFIG_USE_INIT is
+ // not set, so comment it out.
+ //printk_debug("computed len is %d, file len is %d\n", olen, file_len);
return olen;
}