All of
 help / color / mirror / Atom feed
From: Jagan Teki <>
Subject: [U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount
Date: Thu, 21 Mar 2019 14:05:53 +0530	[thread overview]
Message-ID: <> (raw)

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 <>
Signed-off-by: Jagan Teki <>
 configs/imx6qdl_icore_mmc_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig
index 68ad1c6d20..24e99718e6 100644
--- a/configs/imx6qdl_icore_mmc_defconfig
+++ b/configs/imx6qdl_icore_mmc_defconfig
@@ -16,7 +16,7 @@ CONFIG_CMD_BOOTCOUNT=y

             reply	other threads:[~2019-03-21  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21  8:35 Jagan Teki [this message]
2019-03-21  8:45 ` [U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount Shyam Saini
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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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.