kmp204x: support for QRIO1 bootcounter
authorRainer Boschung <rainer.boschung@keymile.com>
Mon, 27 Jan 2014 10:49:04 +0000 (11:49 +0100)
committerYork Sun <yorksun@freescale.com>
Mon, 3 Feb 2014 16:38:49 +0000 (08:38 -0800)
commitdd21f09669ee65500f1f9bce5c4024cf817f3c79
treeae8b332e5102eeba1194fa660847ac08bc111de3
parent714fd406daab6a98b2ee8d301c4888c113fdd818
kmp204x: support for QRIO1 bootcounter

Make use of the QRIO1 32bit register at 0x20 as bootcounter register
Check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read

Signed-off-by: Rainer Boschung <rainer.boschung@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
[York Sun: Minor change to commit message]
Signed-off-by: York Sun <yorksun@freescale.com>
board/keymile/kmp204x/kmp204x.c
include/configs/km/kmp204x-common.h