From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 206AFECAAD3 for ; Mon, 19 Sep 2022 08:11:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B043A84BF9; Mon, 19 Sep 2022 10:11:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1663575085; bh=28XeOX5ivGQzf5F+o2agOlucjQtMER1sx3Q0LM6MkWQ=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=jupPOANoPoNUWD2XKzW/TLAVMjAUZlad4Ghl1zsoHRdDjpGegNYGNsZAwoG1FPvLc HxziDymsM5m6ekNIe+Yf5QzHDZElBdsCI7a0XN3yVzHUDv5kscRwJQWcDhdzdWE+1A sgA60j7RwV5wlC9Hw6auEixXs7m2M1wrvYRVBhB280nnCrLJ0FfWbWCT4biRHJQ+zb nU4B6YzBw+mnkhfIUJerHcrVbCU8aqewIX45dlnHS7MiXtCkrOzTYdtwERrGAg1vd/ ev9ZfaSr9SMNNiybEptkXveXKTqqUQHMxr19s+bIdsflrukpSLbX7xZTce7rVy0Ejz jNGPVJQIPQIjg== Received: by phobos.denx.de (Postfix, from userid 109) id 2472E84BF8; Mon, 19 Sep 2022 10:11:24 +0200 (CEST) Received: from xpert.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 322B584C03 for ; Mon, 19 Sep 2022 10:11:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=pro@denx.de Received: by xpert.denx.de (Postfix, from userid 535) id 9282E3E0508; Mon, 19 Sep 2022 10:11:21 +0200 (CEST) From: Philip Oberfichtner To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Heinrich Schuchardt , Niel Fourie , Philip Oberfichtner , Heiko Schocher , Jaehoon Chung , Michael Opdenacker Subject: [PATCH] bootcount: pmic: Correct misleading comment Date: Mon, 19 Sep 2022 10:11:00 +0200 Message-Id: <20220919081101.3544195-1-pro@denx.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Fix a copy-paste error I did when inserting the comment. Signed-off-by: Philip Oberfichtner --- 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 * * 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 -- 2.37.2