Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig
[platform/kernel/u-boot.git] / common / board_f.c
index 5b655ad..4d7e400 100644 (file)
@@ -327,7 +327,7 @@ static int setup_dest_addr(void)
         * Ram is setup, size stored in gd !!
         */
        debug("Ram size: %08lX\n", (ulong)gd->ram_size);
-#if defined(CONFIG_SYS_MEM_TOP_HIDE)
+#if CONFIG_VAL(SYS_MEM_TOP_HIDE)
        /*
         * Subtract specified amount of memory to hide so that it won't
         * get "touched" at all by U-Boot. By fixing up gd->ram_size