[PATCH 150/171] Correct SPL use of SYS_MEM_RSVD_FOR_MMU
Simon Glass
sjg at chromium.org
Mon Jan 30 16:15:51 CET 2023
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_SYS_MEM_RSVD_FOR_MMU defined in Kconfig
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/xilinx/versal-net/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/xilinx/versal-net/board.c b/board/xilinx/versal-net/board.c
index 7ff2c620110..6724c7290f8 100644
--- a/board/xilinx/versal-net/board.c
+++ b/board/xilinx/versal-net/board.c
@@ -195,7 +195,7 @@ int dram_init(void)
{
int ret;
- if (CONFIG_IS_ENABLED(SYS_MEM_RSVD_FOR_MMU))
+ if (IS_ENABLED(CONFIG_SYS_MEM_RSVD_FOR_MMU))
ret = fdtdec_setup_mem_size_base();
else
ret = fdtdec_setup_mem_size_base_lowest();
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list