summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram_gen5.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-09-29 19:49:48 -0600
committerTom Rini <trini@konsulko.com>2024-10-11 11:44:48 -0600
commit371dc068bbf50c6ed6146c04ec83b644bcc79249 (patch)
treeedad3a36155bccf380c703c2c81e2c0a9ab210a4 /drivers/ddr/altera/sdram_gen5.c
parentdac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (diff)
drivers: 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 'drivers/ddr/altera/sdram_gen5.c')
-rw-r--r--drivers/ddr/altera/sdram_gen5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ddr/altera/sdram_gen5.c b/drivers/ddr/altera/sdram_gen5.c
index 46c53e7c7a3..3c79bb11802 100644
--- a/drivers/ddr/altera/sdram_gen5.c
+++ b/drivers/ddr/altera/sdram_gen5.c
@@ -20,7 +20,7 @@
#include "sequencer.h"
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
struct altera_gen5_sdram_priv {
struct ram_info info;
@@ -651,4 +651,4 @@ U_BOOT_DRIVER(altera_gen5_sdram) = {
.priv_auto = sizeof(struct altera_gen5_sdram_priv),
};
-#endif /* CONFIG_SPL_BUILD */
+#endif /* CONFIG_XPL_BUILD */