From 1d06dc6d16a94611d916bef79deeaf73a726487b Mon Sep 17 00:00:00 2001 From: Robert Beckett Date: Fri, 31 Jan 2020 15:07:56 +0200 Subject: 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 --- include/configs/mx53ppd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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; " \ -- cgit v1.3.1