]> git.sur5r.net Git - u-boot/commitdiff
arm, logbuffer: make it compileclean
authorHeiko Schocher <hs@denx.de>
Wed, 12 Oct 2011 01:13:38 +0000 (01:13 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:30 +0000 (21:56 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/lib/board.c
common/cmd_log.c

index bae2892373e8d81f398c12adb2198a98b4a6630e..9b16d7552bab38c705403e1e9ba4145b41289290 100644 (file)
@@ -82,7 +82,6 @@ extern void rtl8019_get_enetaddr (uchar * addr);
 #include <i2c.h>
 #endif
 
-
 /************************************************************************
  * Coloured LED functionality
  ************************************************************************
index 0e89357e5dcd003956a6678b9a590f47126a265f..249614f340af6885eda4721f55f22a8468246d84 100644 (file)
@@ -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")));