]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of SYS_MEM_RSVD_FOR_MMU
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:57 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
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@chromium.org>
board/xilinx/versal-net/board.c

index 7ff2c6201101b53102545e2d6a142b03d3b774a6..6724c7290f8e2bc8e3875083dd006749e0531b5a 100644 (file)
@@ -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();