cosmetic: bootcount: correct comment for used scratch register
authorTomas Melin <tomas.melin@vaisala.com>
Thu, 3 Aug 2017 06:16:54 +0000 (09:16 +0300)
committerTom 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

index fa87b5e7b948cc398fc413711ffea47be94a4bb4..17829beaa237194d474906989cbb4017dac0f88d 100644 (file)
@@ -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);