diff options
author | Ian Ray <ian.ray@ge.com> | 2018-01-10 20:31:35 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-02-04 12:00:58 +0100 |
commit | 44395c85043b0cc3eb55bb043f02c70106ebc71d (patch) | |
tree | 94a38f970564a10afc6cce9448048128bb10ffbb /include/configs/ge_bx50v3.h | |
parent | 78ca33508d90cff124e3a32897590bb7ffbd396d (diff) | |
download | u-boot-44395c85043b0cc3eb55bb043f02c70106ebc71d.tar.gz |
configs: ge_bx50v3: enable bootcount
Enable bootcount using an EXT file.
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/configs/ge_bx50v3.h')
-rw-r--r-- | include/configs/ge_bx50v3.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index 605d92e8ee..15635d7032 100644 --- a/include/configs/ge_bx50v3.h +++ b/include/configs/ge_bx50v3.h @@ -109,6 +109,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ + "bootlimit=10\0" \ "image=/boot/fitImage\0" \ "console=" CONSOLE_DEV "\0" \ "fdt_high=0xffffffff\0" \ @@ -241,4 +242,11 @@ #define CONFIG_BCH +#define CONFIG_BOOTCOUNT_LIMIT +#define CONFIG_BOOTCOUNT_EXT +#define CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE "mmc" +#define CONFIG_SYS_BOOTCOUNT_EXT_DEVPART "1:5" +#define CONFIG_SYS_BOOTCOUNT_EXT_NAME "/boot/failures" +#define CONFIG_SYS_BOOTCOUNT_ADDR 0x7000A000 + #endif /* __GE_BX50V3_CONFIG_H */ |