From: Heiko Schocher Date: Wed, 12 Oct 2011 01:13:38 +0000 (+0000) Subject: arm, logbuffer: make it compileclean X-Git-Tag: v2011.12-rc1~343^2~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee4014b0053a5d56c3b6d7d0da56ad9ceb011efc;p=u-boot arm, logbuffer: make it compileclean Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD --- diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index bae2892373..9b16d7552b 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 #endif - /************************************************************************ * Coloured LED functionality ************************************************************************ 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")));