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>
This commit is contained in:
Robert Beckett
2020-01-31 15:07:55 +02:00
committed by Stefano Babic
parent 1dec7fa797
commit 41613a7a58
3 changed files with 10 additions and 7 deletions

View File

@@ -5,6 +5,11 @@
*/
/ {
bootcount {
compatible = "u-boot,bootcount-i2c-eeprom";
i2c-eeprom = <&bootcount>;
};
wdt-reboot {
compatible = "wdt-reboot";
wdt = <&wdog1>;
@@ -20,7 +25,7 @@
size = <1022>;
};
bootcount {
bootcount: bootcount {
offset = <1022>;
size = <2>;
};