Skip to content
Snippets Groups Projects
Commit ee4014b0 authored by Heiko Schocher's avatar Heiko Schocher Committed by Albert ARIBAUD
Browse files

arm, logbuffer: make it compileclean


Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
parent ccf7988b
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,6 @@ extern void rtl8019_get_enetaddr (uchar * addr); ...@@ -82,7 +82,6 @@ extern void rtl8019_get_enetaddr (uchar * addr);
#include <i2c.h> #include <i2c.h>
#endif #endif
/************************************************************************ /************************************************************************
* Coloured LED functionality * Coloured LED functionality
************************************************************************ ************************************************************************
......
...@@ -68,7 +68,7 @@ static char *lbuf; ...@@ -68,7 +68,7 @@ static char *lbuf;
unsigned long __logbuffer_base(void) 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"))); unsigned long logbuffer_base (void) __attribute__((weak, alias("__logbuffer_base")));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment