Correct SPL uses of ENV_VARS_UBOOT_RUNTIME_CONFIG
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:49 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 4 usages of this option to the non-SPL form, since there is
no SPL_ENV_VARS_UBOOT_RUNTIME_CONFIG defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/xilinx/versal-net/board.c
board/xilinx/versal/board.c
board/xilinx/zynq/board.c
board/xilinx/zynqmp/zynqmp.c

index 5fb7110..7ff2c62 100644 (file)
@@ -172,7 +172,7 @@ int board_late_init(void)
                return 0;
        }
 
-       if (!CONFIG_IS_ENABLED(ENV_VARS_UBOOT_RUNTIME_CONFIG))
+       if (!IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG))
                return 0;
 
        return board_late_init_xilinx();
index 4cdc2ec..81e1b69 100644 (file)
@@ -142,7 +142,7 @@ int board_late_init(void)
                return 0;
        }
 
-       if (!CONFIG_IS_ENABLED(ENV_VARS_UBOOT_RUNTIME_CONFIG))
+       if (!IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG))
                return 0;
 
        bootmode = versal_get_bootmode();
index df4c457..9a59445 100644 (file)
@@ -55,7 +55,7 @@ int board_late_init(void)
                return 0;
        }
 
-       if (!CONFIG_IS_ENABLED(ENV_VARS_UBOOT_RUNTIME_CONFIG))
+       if (!IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG))
                return 0;
 
        switch ((zynq_slcr_get_boot_mode()) & ZYNQ_BM_MASK) {
index e3f70c4..39da96b 100644 (file)
@@ -405,7 +405,7 @@ int board_late_init(void)
                return 0;
        }
 
-       if (!CONFIG_IS_ENABLED(ENV_VARS_UBOOT_RUNTIME_CONFIG))
+       if (!IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG))
                return 0;
 
        ret = set_fdtfile();