summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-10-11 00:13:54 +0200
committerTom Rini <trini@konsulko.com>2018-10-19 14:16:43 -0400
commit758694ff076255115b6cd936b13108db3773ee57 (patch)
tree1971435494cc09e1c1e1f481d41872c569d76343 /include/common.h
parent0533fb8b3f81051a5d18c6438b3f8fbb4bc6c84d (diff)
bootcount: Make bootcount magic configurable
Add new Kconfig option, SYS_BOOTCOUNT_MAGIC, to select the boot counter magic word. This can be useful ie. in case the entire boot counter register is not usable. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 83b3bdc58d..8b9f859c07 100644
--- a/include/common.h
+++ b/include/common.h
@@ -385,7 +385,6 @@ uint dpram_alloc(uint size);
uint dpram_alloc_align(uint size,uint align);
void bootcount_store (ulong);
ulong bootcount_load (void);
-#define BOOTCOUNT_MAGIC 0xB001C041
/* $(CPU)/.../<eth> */
void mii_init (void);