]> git.sur5r.net Git - u-boot/commit
Blackfin: implement bootcount support
authorMike Frysinger <vapier@gentoo.org>
Thu, 29 Apr 2010 05:34:57 +0000 (01:34 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 5 Jul 2010 08:18:18 +0000 (04:18 -0400)
commita5384ae49a52e2d4744aed20d729ccf20e7a907a
tree92e7f90207776496873152932497e90d47631ab5
parent66a4909a3d4d684f7a102f4d4d2ba8ae8c66d786
Blackfin: implement bootcount support

The default storage location for bootcount is EVT0.  This version uses
one 32bit value and combines the magic/count value in the upper/lower
16bits.  If there is demand for more, should be easy to do.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/Makefile
arch/blackfin/cpu/bootcount.c [new file with mode: 0644]