summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Beckett <[email protected]>2020-01-31 15:07:55 +0200
committerStefano Babic <[email protected]>2020-02-09 21:47:20 +0100
commit41613a7a58fd2e2745ea32c00325d7c0dff7cc8c (patch)
tree31fb2fca7122ad7417dfb7582cab3e68e7cbd75a /include
parent1dec7fa79716adb478052798ceb0cf5c3a412f61 (diff)
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 <[email protected]>
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 b8b1ec704e0..b9227fc2fee 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; " \