diff options
Diffstat (limited to 'board/samsung/common/board.c')
-rw-r--r-- | board/samsung/common/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 97791aaeffe..ff178b7fe67 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -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; |