aboutsummaryrefslogtreecommitdiff
path: root/include/bootcount.h
diff options
context:
space:
mode:
authorTom Rini2022-06-25 11:02:49 -0400
committerTom Rini2022-07-07 14:01:09 -0400
commit64a2a7b04b0a50e50a7cd36d7956d40c7a874478 (patch)
tree3bde2b467051d4b204e2ea29f13ace88644b0476 /include/bootcount.h
parentd9c4d66aefeab1a005d71e24cd5349095fdd8916 (diff)
Convert CONFIG_SYS_BOOTCOUNT_LE et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_BOOTCOUNT_LE CONFIG_SYS_BOOTCOUNT_BE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/bootcount.h')
-rw-r--r--include/bootcount.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/bootcount.h b/include/bootcount.h
index fccee7e15bf..bfa5d464276 100644
--- a/include/bootcount.h
+++ b/include/bootcount.h
@@ -72,14 +72,6 @@ ulong bootcount_load(void);
#if defined(CONFIG_SPL_BOOTCOUNT_LIMIT) || defined(CONFIG_TPL_BOOTCOUNT_LIMIT) || defined(CONFIG_BOOTCOUNT_LIMIT)
-#if !defined(CONFIG_SYS_BOOTCOUNT_LE) && !defined(CONFIG_SYS_BOOTCOUNT_BE)
-# if __BYTE_ORDER == __LITTLE_ENDIAN
-# define CONFIG_SYS_BOOTCOUNT_LE
-# else
-# define CONFIG_SYS_BOOTCOUNT_BE
-# endif
-#endif
-
#ifdef CONFIG_SYS_BOOTCOUNT_LE
static inline void raw_bootcount_store(volatile u32 *addr, u32 data)
{