diff options
| author | Holger Brunck <[email protected]> | 2011-09-13 22:41:02 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-11-03 22:56:23 +0100 |
| commit | 37605c466d10ea49c8618d8a4cdfd0176efa8f68 (patch) | |
| tree | dad48d568c32add9e3ab3ee0889fe0c6a130f3a4 /include | |
| parent | c5dd9785173ca2118609868c7efb4f19dab00d6b (diff) | |
arm/km: adapt bootcounter evaluation
The bootcounter (stored in the RAM) is not enough protected with the 4 Bytes
BOOTCOUNT_MAGIC against bit errors due to short power loss or holding a system
in RESET. It has been seen, that the bootcounter value has been changed due to
a bit flip on a system holding in RESET, but the BOOTCOUNT_MAGIC was still valid.
A bit pattern with 4000 bytes (after BOOTCOUNT_MAGIC) has been implemented,
which should be enough to detect a bit error.
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
