fix compile warnings of rom_stream.c (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2008-08-01 11:48:00 +00:00 committed by Stefan Reinauer
parent 951c62f074
commit 20ffc03efa
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ int stream_init(void)
#if _RAMBASE<0x00100000 #if _RAMBASE<0x00100000
olen = *(unsigned int *)dest; olen = *(unsigned int *)dest;
#if (CONFIG_CONSOLE_VGA==1) || (CONFIG_PCI_ROM_RUN == 1) #if (CONFIG_CONSOLE_VGA==1) || (CONFIG_PCI_ROM_RUN == 1)
if((dest < 0xa0000) && ((dest+olen)>0xa0000)) { if((dest < (unsigned char *)0xa0000) && ((dest+olen)>(unsigned char *)0xa0000)) {
dest = (CONFIG_LB_MEM_TOPK<<10); dest = (unsigned char *)(CONFIG_LB_MEM_TOPK<<10);
} }
#endif #endif
if((dest < (unsigned char *) 0xf0000) && ((dest+olen)> (unsigned char *)0xf0000)) { // coreboot tables etc if((dest < (unsigned char *) 0xf0000) && ((dest+olen)> (unsigned char *)0xf0000)) { // coreboot tables etc