From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shyam Saini Date: Thu, 21 Mar 2019 14:15:29 +0530 Subject: [U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount In-Reply-To: <20190321083553.4068-1-jagan@amarulasolutions.com> References: <20190321083553.4068-1-jagan@amarulasolutions.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Jagan Teki I tested this on Engicam imx6q-icore, so Tested-by: Shyam Saini