diff options
author | Tom Rini <trini@konsulko.com> | 2022-04-06 10:33:32 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-19 14:52:34 -0400 |
commit | 24c904f309f820f8aef4d6364e7bf584d70c0cad (patch) | |
tree | 503488f56a55410f38ddf9305e2fa0edc22bb541 /board/samsung | |
parent | bdf9831226788aaefab820e2feb054eb8f29fa1f (diff) | |
download | u-boot-24c904f309f820f8aef4d6364e7bf584d70c0cad.tar.gz u-boot-24c904f309f820f8aef4d6364e7bf584d70c0cad.tar.bz2 u-boot-24c904f309f820f8aef4d6364e7bf584d70c0cad.zip |
Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_MEM_TOP_HIDE
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/samsung')
-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 97791aaeff..ff178b7fe6 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; |