[U-Boot] [PATCH] configs: icorem6: Use imx6 cratch register for bootcount

Shyam Saini shyam at amarulasolutions.com
Thu Mar 21 08:45:29 UTC 2019


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 at amarulasolutions.com>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>

I tested this on Engicam imx6q-icore, so

Tested-by: Shyam Saini <shyam.saini at amarulasolutions.com>


More information about the U-Boot mailing list