From: Shyam Saini <shyam@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount
Date: Thu, 21 Mar 2019 14:15:29 +0530 [thread overview]
Message-ID: <CA+drQ_PG+gQTfS2EG=oOL1KAud6cvV7Mqf=Z1an+iMtQ9N3u7Q@mail.gmail.com> (raw)
In-Reply-To: <20190321083553.4068-1-jagan@amarulasolutions.com>
Hi,
> SRAM address used for bootcount on exiting code is erasing
> previous count value when system reset from Linux. So use
> the dedicated imx6 scratch register, GPR2 to preserve the
> contents even if the system reset from Linux.
>
> Fixes: 4eb9aa39350e ("configs: imx6qdl_icore_mmc: Enable watchdog and bootcounter")
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
I tested this on Engicam imx6q-icore, so
Tested-by: Shyam Saini <shyam.saini@amarulasolutions.com>
next prev parent reply other threads:[~2019-03-21 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 8:35 [U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount Jagan Teki
2019-03-21 8:45 ` Shyam Saini [this message]
2019-03-21 9:05 ` Stefano Babic
2019-03-21 9:51 ` Shyam Saini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+drQ_PG+gQTfS2EG=oOL1KAud6cvV7Mqf=Z1an+iMtQ9N3u7Q@mail.gmail.com' \
--to=shyam@amarulasolutions.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.