From: Denis Mukhin <[email protected]> Ensure that bootcount-gpt device is enabled in U-Boot when running as a coreboot payload.
Signed-off-by: Denis Mukhin <[email protected]> --- drivers/bootcount/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index eccd610e3390..70ef44a0dc82 100644 --- a/drivers/bootcount/Kconfig +++ b/drivers/bootcount/Kconfig @@ -13,7 +13,8 @@ if BOOTCOUNT_LIMIT choice prompt "Boot count device" default BOOTCOUNT_AM33XX if AM33XX || SOC_DA8XX - default BOOTCOUNT_GENERIC + default BOOTCOUNT_GENERIC if !VENDOR_COREBOOT + default DM_BOOTCOUNT if VENDOR_COREBOOT config BOOTCOUNT_GENERIC bool "Generic default boot counter" -- 2.54.0

