diff options
| author | Simon Glass <[email protected]> | 2024-09-29 19:49:47 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 11:44:48 -0600 |
| commit | dac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (patch) | |
| tree | c6990967a19a9ae6112711010086b246be590880 /board/kontron | |
| 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 <[email protected]>
Diffstat (limited to 'board/kontron')
| -rw-r--r-- | board/kontron/pitx_imx8m/Makefile | 2 | ||||
| -rw-r--r-- | board/kontron/sl-mx6ul/Makefile | 2 | ||||
| -rw-r--r-- | board/kontron/sl-mx8mm/Makefile | 2 | ||||
| -rw-r--r-- | board/kontron/sl28/Makefile | 4 | ||||
| -rw-r--r-- | board/kontron/sl28/ddr.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/board/kontron/pitx_imx8m/Makefile b/board/kontron/pitx_imx8m/Makefile index 6ebe5d07709..50ca56f4efd 100644 --- a/board/kontron/pitx_imx8m/Makefile +++ b/board/kontron/pitx_imx8m/Makefile @@ -2,7 +2,7 @@ obj-y += pitx_imx8m.o pitx_misc.o -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-y += spl.o pitx_misc.o obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing_2gb.o lpddr4_timing_4gb.o endif diff --git a/board/kontron/sl-mx6ul/Makefile b/board/kontron/sl-mx6ul/Makefile index 6af5f65450a..dfed1991ee7 100644 --- a/board/kontron/sl-mx6ul/Makefile +++ b/board/kontron/sl-mx6ul/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0+ # (C) Copyright 2018 Kontron Electronics GmbH -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-y := spl.o else obj-y := sl-mx6ul.o diff --git a/board/kontron/sl-mx8mm/Makefile b/board/kontron/sl-mx8mm/Makefile index fceed684ede..b47fafc5733 100644 --- a/board/kontron/sl-mx8mm/Makefile +++ b/board/kontron/sl-mx8mm/Makefile @@ -3,7 +3,7 @@ obj-y := sl-mx8mm.o -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-y += spl.o obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o endif diff --git a/board/kontron/sl28/Makefile b/board/kontron/sl28/Makefile index 084c11da376..2cb41251708 100644 --- a/board/kontron/sl28/Makefile +++ b/board/kontron/sl28/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0+ -ifndef CONFIG_SPL_BUILD +ifndef CONFIG_XPL_BUILD obj-y += sl28.o cmds.o endif @@ -8,7 +8,7 @@ obj-y += common.o ddr.o obj-$(CONFIG_ARMV8_PSCI) += psci.o -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-y += spl.o obj-$(CONFIG_SPL_ATF) += spl_atf.o endif diff --git a/board/kontron/sl28/ddr.c b/board/kontron/sl28/ddr.c index 9b881fdc265..1f1a6aa1b16 100644 --- a/board/kontron/sl28/ddr.c +++ b/board/kontron/sl28/ddr.c @@ -98,7 +98,7 @@ int fsl_initdram(void) break; } - if (!IS_ENABLED(CONFIG_SPL) || IS_ENABLED(CONFIG_SPL_BUILD)) + if (!IS_ENABLED(CONFIG_SPL) || IS_ENABLED(CONFIG_XPL_BUILD)) fsl_ddr_set_memctl_regs(&ddr_cfg_regs, 0, 0); gd->ram_size = dram_size; |
