summaryrefslogtreecommitdiff
path: root/common
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 /common
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>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_log.c2
1 files changed, 1 insertions, 1 deletions
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")));