diff options
| author | Simon Glass <[email protected]> | 2024-09-29 19:49:49 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 11:44:48 -0600 |
| commit | f38956a687c42db8d9736e09df2d68705369950e (patch) | |
| tree | ea397b639b37d2651ae245509b5034786cf3e641 /include/bootcount.h | |
| parent | 371dc068bbf50c6ed6146c04ec83b644bcc79249 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/bootcount.h')
| -rw-r--r-- | include/bootcount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bootcount.h b/include/bootcount.h index bc06e17c9fb..847c0f02d98 100644 --- a/include/bootcount.h +++ b/include/bootcount.h @@ -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 |
