summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:40:39 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 15:41:40 +0300
commitfb705b87915b574ff1edfb897d94b05263ac52a7 (patch)
treed151cf1cfa65627a2724c3cdccc2c51a4c52aa71 /board
parente1d23dc912f4106dba5fceda30732f66ad1f0255 (diff)
downloadu-boot-fb705b87915b574ff1edfb897d94b05263ac52a7.tar.xz
Correct SPL use of RESV_RAM
This converts 1 usage of this option to the non-SPL form, since there is no SPL_RESV_RAM defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/traverse/ten64/ten64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c
index 13aafb5de7..9e4c84ad2f 100644
--- a/board/traverse/ten64/ten64.c
+++ b/board/traverse/ten64/ten64.c
@@ -211,7 +211,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
base[i] = gd->bd->bi_dram[i].start;
size[i] = gd->bd->bi_dram[i].size;
/* reduce size if reserved memory is within this bank */
- if (CONFIG_IS_ENABLED(RESV_RAM) && RESV_MEM_IN_BANK(i))
+ if (IS_ENABLED(CONFIG_RESV_RAM) && RESV_MEM_IN_BANK(i))
size[i] = gd->arch.resv_ram - base[i];
}