arm, logbuffer: make it compileclean

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
This commit is contained in:
Heiko Schocher 2011-10-12 01:13:38 +00:00 committed by Albert ARIBAUD
parent ccf7988b9a
commit ee4014b005
2 changed files with 1 additions and 2 deletions

View File

@ -82,7 +82,6 @@ extern void rtl8019_get_enetaddr (uchar * addr);
#include <i2c.h>
#endif
/************************************************************************
* Coloured LED functionality
************************************************************************

View File

@ -68,7 +68,7 @@ static char *lbuf;
unsigned long __logbuffer_base(void)
{
return CONFIG_SYS_SDRAM_BASE + gd->bd->bi_memsize - LOGBUFF_LEN;
return CONFIG_SYS_SDRAM_BASE + gd->ram_size - LOGBUFF_LEN;
}
unsigned long logbuffer_base (void) __attribute__((weak, alias("__logbuffer_base")));