mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user