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:
committed by
Stefano Babic
parent
1dec7fa797
commit
41613a7a58
@@ -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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user