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>
This commit is contained in:
committed by
Stefano Babic
parent
41613a7a58
commit
1d06dc6d16
@@ -9,6 +9,11 @@
|
||||
compatible = "wdt-reboot";
|
||||
wdt = <&wdog1>;
|
||||
};
|
||||
|
||||
bootcount {
|
||||
compatible = "u-boot,bootcount-i2c-eeprom";
|
||||
i2c-eeprom = <&bootcount>;
|
||||
};
|
||||
};
|
||||
|
||||
&eeprom {
|
||||
@@ -20,7 +25,7 @@
|
||||
size = <1022>;
|
||||
};
|
||||
|
||||
bootcount {
|
||||
bootcount: bootcount {
|
||||
offset = <1022>;
|
||||
size = <2>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user