diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-25 11:02:49 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-07-07 14:01:09 -0400 |
commit | 64a2a7b04b0a50e50a7cd36d7956d40c7a874478 (patch) | |
tree | 3bde2b467051d4b204e2ea29f13ace88644b0476 /drivers/bootcount/Kconfig | |
parent | d9c4d66aefeab1a005d71e24cd5349095fdd8916 (diff) | |
download | u-boot-64a2a7b04b0a50e50a7cd36d7956d40c7a874478.tar.gz u-boot-64a2a7b04b0a50e50a7cd36d7956d40c7a874478.tar.bz2 u-boot-64a2a7b04b0a50e50a7cd36d7956d40c7a874478.zip |
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 'drivers/bootcount/Kconfig')
-rw-r--r-- | drivers/bootcount/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index 66ce4cc29b..e918f74694 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 |