summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap3/sdrc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-09-29 19:49:46 -0600
committerTom Rini <trini@konsulko.com>2024-10-11 11:44:47 -0600
commitbef9fdbed2e525ce9264d2ae2fbcb37db7472052 (patch)
tree2f2d2438160813a1dd77792d01a23581011c7e69 /arch/arm/mach-omap2/omap3/sdrc.c
parentac644df9a4d5d39b3214d230a14e5ef5c8cfcdf4 (diff)
arch: 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 'arch/arm/mach-omap2/omap3/sdrc.c')
-rw-r--r--arch/arm/mach-omap2/omap3/sdrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap3/sdrc.c b/arch/arm/mach-omap2/omap3/sdrc.c
index 404333689f6..24fae484369 100644
--- a/arch/arm/mach-omap2/omap3/sdrc.c
+++ b/arch/arm/mach-omap2/omap3/sdrc.c
@@ -146,7 +146,7 @@ static void do_sdrc_init(u32 cs, u32 early)
* then set cs_cfg to the appropriate value then try and
* setup CS1.
*/
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
/* set/modify board-specific timings */
get_board_mem_timings(&timings);
#endif
@@ -166,7 +166,7 @@ static void do_sdrc_init(u32 cs, u32 early)
writel(ENADLL | DLLPHASE_90, &sdrc_base->dlla_ctrl);
sdelay(0x20000);
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
write_sdrc_timings(CS0, sdrc_actim_base0, &timings);
make_cs1_contiguous();
write_sdrc_timings(CS1, sdrc_actim_base1, &timings);