summaryrefslogtreecommitdiff
path: root/include/configs/mx53ppd.h
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:07:56 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commit1d06dc6d16a94611d916bef79deeaf73a726487b (patch)
tree35536154de68896edf5b1d3907b3af43c10c0143 /include/configs/mx53ppd.h
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 <bob.beckett@collabora.com>
Diffstat (limited to 'include/configs/mx53ppd.h')
-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 a11b085db8..e7eca82798 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; " \