ARM: highbank: Add boot counter support

Add boot counter support using an sysreg which is persistent across reset.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
Rob Herring
2012-02-01 16:57:54 +00:00
committed by Albert ARIBAUD
parent 7b81649a05
commit 877012df30
4 changed files with 41 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
#include <scsi.h>
#include <asm/sizes.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;