summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Beckett <[email protected]>2020-01-31 15:07:56 +0200
committerStefano Babic <[email protected]>2020-02-09 21:47:20 +0100
commit1d06dc6d16a94611d916bef79deeaf73a726487b (patch)
tree35536154de68896edf5b1d3907b3af43c10c0143 /include
parent41613a7a58fd2e2745ea32c00325d7c0dff7cc8c (diff)
board: ge: mx53ppd: 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/mx53ppd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index a11b085db86..e7eca82798f 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -98,9 +98,7 @@
"setenv stdout vga; " \
"echo \"\n\n\n\n \" $msg; " \
"setenv stdout serial; " \
- "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; " \