diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2011-09-13 22:41:02 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-03 22:56:23 +0100 |
commit | 37605c466d10ea49c8618d8a4cdfd0176efa8f68 (patch) | |
tree | dad48d568c32add9e3ab3ee0889fe0c6a130f3a4 /board/icu862 | |
parent | c5dd9785173ca2118609868c7efb4f19dab00d6b (diff) | |
download | u-boot-imx-37605c466d10ea49c8618d8a4cdfd0176efa8f68.zip u-boot-imx-37605c466d10ea49c8618d8a4cdfd0176efa8f68.tar.gz u-boot-imx-37605c466d10ea49c8618d8a4cdfd0176efa8f68.tar.bz2 |
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 <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'board/icu862')
0 files changed, 0 insertions, 0 deletions