提交 04e2cead 编写于 作者: L Lukasz Majewski 提交者: Tom Rini

Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to Kconfig

This converts the following to Kconfig:
   CONFIG_SYS_BOOTCOUNT_SINGLEWORD
Signed-off-by: NLukasz Majewski <lukma@denx.de>
Tested-by: NAlex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: NIan Ray <ian.ray@ge.com>
上级 d1ec9461
......@@ -26,6 +26,7 @@ CONFIG_EFI_PARTITION=y
CONFIG_ENV_IS_IN_NVRAM=y
CONFIG_SCSI_AHCI=y
CONFIG_BOOTCOUNT_LIMIT=y
CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
# CONFIG_MMC is not set
CONFIG_SCSI=y
CONFIG_OF_LIBFDT=y
......@@ -17,6 +17,12 @@ config BOOTCOUNT_LIMIT
Enable checking for exceeding the boot count limit.
More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit
config SYS_BOOTCOUNT_SINGLEWORD
bool "Use single word to pack boot count and magic value"
help
This option enables packing boot count magic value and boot count
into single word (32 bits).
if BOOTCOUNT
config BOOTCOUNT_EXT
......
......@@ -26,7 +26,6 @@
#define CONFIG_PL01x_PORTS { (void *)(0xFFF36000) }
#define CONFIG_CONS_INDEX 0
#define CONFIG_SYS_BOOTCOUNT_SINGLEWORD
#define CONFIG_SYS_BOOTCOUNT_LE /* Use little-endian accessors */
#define CONFIG_SYS_BOOTCOUNT_ADDR 0xfff3cf0c
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册