diff options
Diffstat (limited to 'board/st')
-rw-r--r-- | board/st/common/Makefile | 2 | ||||
-rw-r--r-- | board/st/common/cmd_stboard.c | 2 | ||||
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 4 | ||||
-rw-r--r-- | board/st/stm32mp1/Makefile | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/board/st/common/Makefile b/board/st/common/Makefile index b01245e4b48..fda48d2ff99 100644 --- a/board/st/common/Makefile +++ b/board/st/common/Makefile @@ -8,7 +8,7 @@ obj-$(CONFIG_PMIC_STPMIC1) += stpmic1.o ifeq ($(CONFIG_ARCH_STM32MP),y) obj-$(CONFIG_SET_DFU_ALT_INFO) += stm32mp_dfu.o -obj-$(CONFIG_$(SPL_)DFU_VIRT) += stm32mp_dfu_virt.o +obj-$(CONFIG_$(XPL_)DFU_VIRT) += stm32mp_dfu_virt.o endif obj-$(CONFIG_TYPEC_STUSB160X) += stusb160x.o diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c index 50da063051b..b9d0abdba7d 100644 --- a/board/st/common/cmd_stboard.c +++ b/board/st/common/cmd_stboard.c @@ -29,7 +29,7 @@ * Board: MB<Board> Var<VarCPN>.<VarFG> Rev.<Revision>-<BOM> */ -#ifndef CONFIG_SPL_BUILD +#ifndef CONFIG_XPL_BUILD #include <command.h> #include <console.h> #include <misc.h> diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 6d86e4fe7aa..8966a09501e 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR; int dram_init(void) { -#ifndef CONFIG_SPL_BUILD +#ifndef CONFIG_XPL_BUILD int rv; struct udevice *dev; rv = uclass_get_device(UCLASS_RAM, 0, &dev); @@ -45,7 +45,7 @@ int dram_init_banksize(void) return fdtdec_setup_memory_banksize(); } -#ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_XPL_BUILD #ifdef CONFIG_SPL_OS_BOOT int spl_start_uboot(void) { diff --git a/board/st/stm32mp1/Makefile b/board/st/stm32mp1/Makefile index f2d720b67b3..5e39b7b189f 100644 --- a/board/st/stm32mp1/Makefile +++ b/board/st/stm32mp1/Makefile @@ -3,7 +3,7 @@ # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-y += spl.o else obj-y += stm32mp1.o |