summaryrefslogtreecommitdiff
path: root/drivers/bootcount
diff options
context:
space:
mode:
authorTomas Melin <tomas.melin@vaisala.com>2017-08-03 09:16:54 +0300
committerTom Rini <trini@konsulko.com>2017-09-12 17:58:54 -0400
commitbac9170fb269eba370e5014d3990c07a083dc508 (patch)
treefe0747250cafc6070fe5a7fc1a158b70c2cceb37 /drivers/bootcount
parentde6567522e7f5c9ad95030e9eeb45a4bb080d04a (diff)
cosmetic: bootcount: correct comment for used scratch register
Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Diffstat (limited to 'drivers/bootcount')
-rw-r--r--drivers/bootcount/bootcount_davinci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bootcount/bootcount_davinci.c b/drivers/bootcount/bootcount_davinci.c
index fa87b5e7b9..17829beaa2 100644
--- a/drivers/bootcount/bootcount_davinci.c
+++ b/drivers/bootcount/bootcount_davinci.c
@@ -18,9 +18,9 @@ void bootcount_store(ulong a)
(struct davinci_rtc *)CONFIG_SYS_BOOTCOUNT_ADDR;
/*
- * write RTC kick register to enable write
- * for RTC Scratch registers. Scratch0 and 1 are
- * used for bootcount values.
+ * write RTC kick registers to enable write
+ * for RTC Scratch registers. Scratch register 2 is
+ * used for bootcount value.
*/
writel(RTC_KICK0R_WE, &reg->kick0r);
writel(RTC_KICK1R_WE, &reg->kick1r);