diff options
| author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:47 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:48 -0600 |
| commit | dac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (patch) | |
| tree | c6990967a19a9ae6112711010086b246be590880 /board/xilinx/zynqmp/zynqmp.c | |
| parent | bef9fdbed2e525ce9264d2ae2fbcb37db7472052 (diff) | |
board: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/xilinx/zynqmp/zynqmp.c')
| -rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 20a675c010d..8cdd9d86009 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -86,7 +86,7 @@ int __maybe_unused psu_uboot_init(void) return 0; } -#if !defined(CONFIG_SPL_BUILD) +#if !defined(CONFIG_XPL_BUILD) # if defined(CONFIG_DEBUG_UART_BOARD_INIT) void board_debug_uart_init(void) { @@ -120,7 +120,7 @@ static int multi_boot(void) return multiboot; } -#if defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_XPL_BUILD) static void restore_jtag(void) { if (current_el() != 3) @@ -155,7 +155,7 @@ int board_init(void) int ret; #endif -#if defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_XPL_BUILD) /* Check *at build time* if the filename is an non-empty string */ if (sizeof(CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE) > 1) zynqmp_pmufw_load_config_object(zynqmp_pm_cfg_obj, |
