summaryrefslogtreecommitdiff
path: root/src/stream/rom_stream.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-05-04 10:08:04 +0000
committerStefan Reinauer <stepan@openbios.org>2006-05-04 10:08:04 +0000
commitab4f5d0c10b23021608eaec56836a7d063837f3f (patch)
treeccfea21609a30daded72f2e6ef416c006a70664f /src/stream/rom_stream.c
parent7ac38a33f630112bc2b4caa35162a540afaa2d09 (diff)
downloadcoreboot-ab4f5d0c10b23021608eaec56836a7d063837f3f.tar.xz
fix the tree
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2296 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/stream/rom_stream.c')
-rw-r--r--src/stream/rom_stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stream/rom_stream.c b/src/stream/rom_stream.c
index f62f13d2f1..c9f2fa3f4d 100644
--- a/src/stream/rom_stream.c
+++ b/src/stream/rom_stream.c
@@ -27,15 +27,12 @@ extern unsigned char _heap, _eheap;
/*static const */unsigned char *rom_end = (unsigned char *)(CONFIG_ROM_STREAM_START + PAYLOAD_SIZE - 1);
/*XXXXXXXXXXXXXX */
-unsigned char *rom_start = (void *)CONFIG_ROM_STREAM_START;
-unsigned char *rom_end = (void *)(CONFIG_ROM_STREAM_START + PAYLOAD_SIZE - 1);
static const unsigned char *rom;
int stream_init(void)
{
#if CONFIG_COMPRESSED_ROM_STREAM
unsigned long dest;
- unsigned long ilen;
unsigned long olen;
#endif
@@ -60,7 +57,7 @@ int stream_init(void)
#endif
printk_debug("Uncompressing to RAM 0x%08lx ", dest);
- olen = unrv2b((uint8_t *) rom_start, (uint8_t *)dest, &ilen );
+ olen = unrv2b((uint8_t *) rom_start, (uint8_t *)dest );
printk_debug(" ilen = 0x%08lx olen = 0x%08lx done.\n", ilen, olen);
rom_end = dest + olen - 1;
rom = dest;