]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootcount: Remove legacy I2C driver
authorPhilip Richard Oberfichtner <pro@denx.de>
Tue, 31 Oct 2023 07:38:44 +0000 (08:38 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Oct 2023 08:08:36 +0000 (09:08 +0100)
commit31f4ee4b13d974ba4b973211eeb57db70bc5ea77
tree08731c3db436ad7da4c93be788dde8acf8bdfcfe
parent35e8007ef382cb1f0523a9106fbc8d4d4404cb27
bootcount: Remove legacy I2C driver

The legacy I2C bootcounter will hereby be removed and eventually
be replaced by a driver model implementation in the follow-up commit.

The legacy driver has the following drawbacks:
- It's not adhering to the driver model
- Settings are grabbed from Kconfig rather than device tree
- i2c_{read,write} are being used instead of dm_i2c_{read,write}

Signed-off-by: Philip Richard Oberfichtner <pro@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/bootcount/Kconfig
drivers/bootcount/Makefile
drivers/bootcount/bootcount_i2c.c [deleted file]