diff options
author | Tomas Melin <tomas.melin@vaisala.com> | 2017-08-03 09:16:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-12 17:58:54 -0400 |
commit | bac9170fb269eba370e5014d3990c07a083dc508 (patch) | |
tree | fe0747250cafc6070fe5a7fc1a158b70c2cceb37 /drivers/bootcount | |
parent | de6567522e7f5c9ad95030e9eeb45a4bb080d04a (diff) | |
download | u-boot-bac9170fb269eba370e5014d3990c07a083dc508.zip u-boot-bac9170fb269eba370e5014d3990c07a083dc508.tar.gz u-boot-bac9170fb269eba370e5014d3990c07a083dc508.tar.bz2 |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bootcount/bootcount_davinci.c b/drivers/bootcount/bootcount_davinci.c index fa87b5e..17829be 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, ®->kick0r); writel(RTC_KICK1R_WE, ®->kick1r); |