include: 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:49 -06:00
committed by Tom Rini
parent 371dc068bb
commit f38956a687
79 changed files with 125 additions and 125 deletions

View File

@@ -120,13 +120,13 @@ static inline void bootcount_inc(void)
return;
}
#ifndef CONFIG_SPL_BUILD
#ifndef CONFIG_XPL_BUILD
/* Only increment bootcount when no bootcount support in SPL */
#if !defined(CONFIG_SPL_BOOTCOUNT_LIMIT) && !defined(CONFIG_TPL_BOOTCOUNT_LIMIT)
bootcount_store(++bootcount);
#endif
env_set_ulong("bootcount", bootcount);
#endif /* !CONFIG_SPL_BUILD */
#endif /* !CONFIG_XPL_BUILD */
}
#else