Re: [PATCH 1/2] bootcount: Remove legacy I2C driver

2023-10-13 Thread Heiko Schocher
Hello Phillip, On 13.10.23 13:35, Philip Oberfichtner wrote: > Hi Heiko, > > Thank you for reviewing. > > On Fri, Oct 13, 2023 at 01:21:41PM +0200, Heiko Schocher wrote: >> [...] >> >> Hmm.. I find some boards in mainline which still use this driver: >> >> u-boot [master] $ grep -lr BOOTCOUNT_I

Re: [PATCH 1/2] bootcount: Remove legacy I2C driver

2023-10-13 Thread Philip Oberfichtner
Hi Heiko, Thank you for reviewing. On Fri, Oct 13, 2023 at 01:21:41PM +0200, Heiko Schocher wrote: > [...] > > Hmm.. I find some boards in mainline which still use this driver: > > u-boot [master] $ grep -lr BOOTCOUNT_I2C . > ./configs/sandbox_defconfig > ./configs/mx53ppd_defconfig > ./configs

Re: [PATCH 1/2] bootcount: Remove legacy I2C driver

2023-10-13 Thread Heiko Schocher
Hello Philip, On 13.10.23 11:43, Philip Richard Oberfichtner wrote: > 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 driv

[PATCH 1/2] bootcount: Remove legacy I2C driver

2023-10-13 Thread Philip Richard Oberfichtner
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