From ff5410d34b1ce3fa3785ecfd785704cfccc30938 Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Fri, 16 Feb 2018 15:50:42 +0000 Subject: Convert CONFIG_BOOTCOUNT_RAM to Kconfig This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski --- drivers/bootcount/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/bootcount') diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index 40a07555af..eabfd132ad 100644 --- a/drivers/bootcount/Kconfig +++ b/drivers/bootcount/Kconfig @@ -40,6 +40,12 @@ config BOOTCOUNT_ENV So the Userspace Application must set the "upgrade_available" and "bootcount" variable to 0, if a boot was successfully. +config BOOTCOUNT_RAM + bool "Boot counter in RAM" + help + Store the bootcount in DRAM protected against against bit errors + due to short power loss or holding a system in RESET. + endchoice config SYS_BOOTCOUNT_SINGLEWORD -- cgit