Skip to content
Commit 40ee163c authored by Jagan Teki's avatar Jagan Teki Committed by Stefano Babic
Browse files

configs: icorem6: Use imx6 cratch register for bootcount

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: 4eb9aa39

 ("configs: imx6qdl_icore_mmc: Enable watchdog and bootcounter")
Signed-off-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Tested-by: default avatarShyam Saini <shyam.saini@amarulasolutions.com>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 8b9cba02
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment