summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-10-12 01:13:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:30 +0200
commitee4014b0053a5d56c3b6d7d0da56ad9ceb011efc (patch)
tree86f17efbb594a46c3c95e35499cd6a6a98a177ef
parentccf7988b9ace671085a7ae6e7317c6a378c4a309 (diff)
downloadu-boot-imx-ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc.zip
u-boot-imx-ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc.tar.gz
u-boot-imx-ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc.tar.bz2
arm, logbuffer: make it compileclean
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-rw-r--r--arch/arm/lib/board.c1
-rw-r--r--common/cmd_log.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index bae2892..9b16d75 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -82,7 +82,6 @@ extern void rtl8019_get_enetaddr (uchar * addr);
#include <i2c.h>
#endif
-
/************************************************************************
* Coloured LED functionality
************************************************************************
diff --git a/common/cmd_log.c b/common/cmd_log.c
index 0e89357..249614f 100644
--- a/common/cmd_log.c
+++ b/common/cmd_log.c
@@ -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")));