]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_log.c
arm, logbuffer: make it compileclean
[karo-tx-uboot.git] / common / cmd_log.c
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")));