summaryrefslogtreecommitdiff
path: root/include/bootcount.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-07-07 14:12:07 -0400
committerTom Rini <[email protected]>2022-07-07 14:29:37 -0400
commitea92f95d630cba9c3a324d250258ad2e35d9c997 (patch)
tree68ad93bb452ccf3873a9b457a8cca9ea7e3c1916 /include/bootcount.h
parentcb9843bda3e500eb4add1927be4ed72077a69774 (diff)
parentc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (diff)
Merge branch '2022-07-07-Kconfig-migrations-dead-code-removal' into next
- Migrate more CONFIG options to Kconfig and remove some unused code while we're at it.
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)
{