提交 bac9170f 编写于 作者: T Tomas Melin 提交者: Tom Rini

cosmetic: bootcount: correct comment for used scratch register

Signed-off-by: NTomas Melin <tomas.melin@vaisala.com>
上级 de656752
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册