diff options
Diffstat (limited to 'src/stream/rom_stream.c')
-rw-r--r-- | src/stream/rom_stream.c | 5 |
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; |