u-boot/board/keymile
Holger Brunck 37605c466d 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>
2011-11-03 22:56:23 +01:00
..
common km/common: remove obsolete header file 2011-10-22 00:29:30 +02:00
km82xx punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
km83xx punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
km_arm arm/km: adapt bootcounter evaluation 2011-11-03 22:56:23 +01:00
scripts km/common: fix ramfs development target 2011-10-22 00:29:09 +02:00