From ab4f5d0c10b23021608eaec56836a7d063837f3f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 4 May 2006 10:08:04 +0000 Subject: fix the tree git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2296 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/stream/rom_stream.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/stream') 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; -- cgit v1.2.3