projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de65675
)
cosmetic: bootcount: correct comment for used scratch register
author
Tomas Melin
<tomas.melin@vaisala.com>
Thu, 3 Aug 2017 06:16:54 +0000
(09:16 +0300)
committer
Tom Rini
<trini@konsulko.com>
Tue, 12 Sep 2017 21:58:54 +0000
(17:58 -0400)
Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
drivers/bootcount/bootcount_davinci.c
patch
|
blob
|
history
diff --git
a/drivers/bootcount/bootcount_davinci.c
b/drivers/bootcount/bootcount_davinci.c
index fa87b5e7b948cc398fc413711ffea47be94a4bb4..17829beaa237194d474906989cbb4017dac0f88d 100644
(file)
--- 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. Scratch
0 and 1 are
- * used for bootcount value
s
.
+ * write RTC kick register
s
to enable write
+ * for RTC Scratch registers. Scratch
register 2 is
+ * used for bootcount value.
*/
writel(RTC_KICK0R_WE, ®->kick0r);
writel(RTC_KICK1R_WE, ®->kick1r);