diff options
author | Robert Beckett <bob.beckett@collabora.com> | 2020-01-31 15:07:56 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-02-09 21:47:20 +0100 |
commit | 1d06dc6d16a94611d916bef79deeaf73a726487b (patch) | |
tree | 35536154de68896edf5b1d3907b3af43c10c0143 /arch/arm/dts | |
parent | 41613a7a58fd2e2745ea32c00325d7c0dff7cc8c (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 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/imx53-ppd-uboot.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/dts/imx53-ppd-uboot.dtsi b/arch/arm/dts/imx53-ppd-uboot.dtsi index 8e45ee7679..0f81947812 100644 --- a/arch/arm/dts/imx53-ppd-uboot.dtsi +++ b/arch/arm/dts/imx53-ppd-uboot.dtsi @@ -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>; }; |