diff options
author | Heiko Schocher <hs@denx.de> | 2011-10-12 05:13:38 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 23:56:30 +0400 |
commit | ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc (patch) | |
tree | 86f17efbb594a46c3c95e35499cd6a6a98a177ef /common | |
parent | ccf7988b9ace671085a7ae6e7317c6a378c4a309 (diff) | |
download | u-boot-ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c index 0e89357e5d..249614f340 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"))); |