aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:07:55 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commit41613a7a58fd2e2745ea32c00325d7c0dff7cc8c (patch)
tree31fb2fca7122ad7417dfb7582cab3e68e7cbd75a /include
parent1dec7fa79716adb478052798ceb0cf5c3a412f61 (diff)
downloadu-boot-41613a7a58fd2e2745ea32c00325d7c0dff7cc8c.zip
u-boot-41613a7a58fd2e2745ea32c00325d7c0dff7cc8c.tar.gz
u-boot-41613a7a58fd2e2745ea32c00325d7c0dff7cc8c.tar.bz2
board: ge: bx50v3: add i2c eeprom bootcount storage
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ge_bx50v3.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index b8b1ec7..b9227fc 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -109,9 +109,7 @@
"setcurs 5 4; " \
"lcdputs \"Monitor failed to start. " \
"Try again, or contact GE Service for support.\"; " \
- "mw.b 0x7000A000 0xbc; " \
- "mw.b 0x7000A001 0x00; " \
- "ext4write ${dev} ${devnum}:5 0x7000A000 /boot/failures 2\0" \
+ "bootcount reset; \0" \
"altbootcmd=" \
"run doquiet; " \
"setenv partnum 1; run hasfirstboot || setenv partnum 2; " \