aboutsummaryrefslogtreecommitdiff
path: root/drivers/bootcount/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bootcount/Kconfig')
-rw-r--r--drivers/bootcount/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index 66ce4cc..e918f74 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -237,4 +237,15 @@ config SYS_BOOTCOUNT_MAGIC
help
Set the magic value used for the boot counter.
+choice
+ prompt "Endianness of bootcount accessors"
+ default SYS_BOOTCOUNT_LE
+
+config SYS_BOOTCOUNT_LE
+ bool "Little endian accessors"
+
+config SYS_BOOTCOUNT_BE
+ bool "Big endian accessors"
+
+endchoice
endif