]> git.sur5r.net Git - u-boot/blobdiff - common/board_r.c
spl: make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN
[u-boot] / common / board_r.c
index ecca1edb04e0a4335bc4f5e6c5d2638b6d64ba45..985aa95c2aea2c664169d5acf453d0f557e663b1 100644 (file)
@@ -256,7 +256,7 @@ static int initr_malloc(void)
 {
        ulong malloc_start;
 
-#ifdef CONFIG_SYS_MALLOC_F_LEN
+#if CONFIG_VAL(SYS_MALLOC_F_LEN)
        debug("Pre-reloc malloc() used %#lx bytes (%ld KB)\n", gd->malloc_ptr,
              gd->malloc_ptr / 1024);
 #endif