]> Git Repo - u-boot.git/commit
configs: icorem6: Use imx6 cratch register for bootcount
authorJagan Teki <[email protected]>
Thu, 21 Mar 2019 08:35:53 +0000 (14:05 +0530)
committerStefano Babic <[email protected]>
Sun, 31 Mar 2019 18:12:37 +0000 (20:12 +0200)
commit40ee163cc4e304d3b0a84cd0be37520270b95271
tree0dfda4cdde622e7f5b5f17834576d564bde021c7
parent8b9cba0295dcdce5eb8bb10d79f6dafb5a167349
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: 4eb9aa39350e ("configs: imx6qdl_icore_mmc: Enable watchdog and bootcounter")
Signed-off-by: Michael Trimarchi <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Tested-by: Shyam Saini <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
configs/imx6qdl_icore_mmc_defconfig
This page took 0.038294 seconds and 4 git commands to generate.