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>
This commit is contained in:
Simon Glass 2024-09-29 19:49:48 -06:00 committed by Tom Rini
parent dac3ce976a
commit 371dc068bb
116 changed files with 289 additions and 289 deletions

View file

@ -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 */