[PATCH] bootcount: pmic: Correct misleading comment

Philip Oberfichtner pro at denx.de
Mon Sep 19 10:11:00 CEST 2022


Fix a copy-paste error I did when inserting the comment.

Signed-off-by: Philip Oberfichtner <pro at denx.de>

---

 drivers/bootcount/Kconfig         | 2 +-
 drivers/bootcount/pmic_pfuze100.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index e918f74694..8d6424c9da 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -132,7 +132,7 @@ config DM_BOOTCOUNT_PMIC_PFUZE100
 	depends on DM_PMIC_PFUZE100
 	help
 	  Enable support for the bootcounter using PMIC PFUZE100 registers.
-	  This works only, if the PMIC is not connected.
+	  This works only, if the PMIC is not connected to a battery.
 
 config DM_BOOTCOUNT_SPI_FLASH
 	bool "Support SPI flash devices as a backing store for bootcount"
diff --git a/drivers/bootcount/pmic_pfuze100.c b/drivers/bootcount/pmic_pfuze100.c
index ad3bc03829..df046f1b0a 100644
--- a/drivers/bootcount/pmic_pfuze100.c
+++ b/drivers/bootcount/pmic_pfuze100.c
@@ -5,7 +5,7 @@
  * Philip Oberfichtner <pro at denx.de>
  *
  * A bootcount driver using the registers MEMA - MEMD on the PFUZE100.
- * This works only, if the PMIC is not connected.
+ * This works only, if the PMIC is not connected to a battery.
  */
 
 #include <common.h>
-- 
2.37.2



More information about the U-Boot mailing list