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 <[email protected]>
> Signed-off-by: Jagan Teki <[email protected]>
I tested this on Engicam imx6q-icore, so
Tested-by: Shyam Saini <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot