[PATCH v1 7/8] bootcount: gpt: ensure coreboot payload enables DM_BOOTCOUNT
dmukhin at ford.com
dmukhin at ford.com
Fri Jun 5 05:39:06 CEST 2026
From: Denis Mukhin <dmukhin at ford.com>
Ensure that bootcount-gpt device is enabled in U-Boot when running
as a coreboot payload.
Signed-off-by: Denis Mukhin <dmukhin at ford.com>
---
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
More information about the U-Boot
mailing list