Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig
[platform/kernel/u-boot.git] / board / samsung / common / board.c
index 97791aa..ff178b7 100644 (file)
@@ -107,9 +107,9 @@ int board_init(void)
        }
        boot_temp_check();
 #endif
-#ifdef CONFIG_TZSW_RESERVED_DRAM_SIZE
+#if CONFIG_VAL(SYS_MEM_TOP_HIDE)
        /* The last few MB of memory can be reserved for secure firmware */
-       ulong size = CONFIG_TZSW_RESERVED_DRAM_SIZE;
+       ulong size = CONFIG_SYS_MEM_TOP_HIDE;
 
        gd->ram_size -= size;
        gd->bd->bi_dram[CONFIG_NR_DRAM_BANKS - 1].size -= size;