
On Sep 26, 2012, at 7:09 AM, Joakim Tjernlund wrote:
Joakim Tjernlund/Transmode wrote on 2012/08/30 15:12:08:
Hi.
We have a new board which we are suing with U-boot. The CPU is a P2020. I am having a few minor problems, and I was hoping to get some help.
Boot Count. We are keen to use the boot counter feature, but I
am struggling to find a suitable register in the P2020. The file arch/powerpc/lib/bootcount.c list a few locations that work with other PowerPC chips, but I can't find any of those registers in the P2020 documentation.
Me too on finding such a register
Did you find a register?
What are the requirements of the bootcount register? If it needs to persist value across hard resets of the SoC than nothing exists.
If you need a scratch register than you could possibly use one of the MPIC msg registers.
- k