public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] bootcount: Replace I2C legacy implementation by driver model
@ 2023-10-13  9:43 Philip Richard Oberfichtner
  2023-10-13  9:43 ` [PATCH 1/2] bootcount: Remove legacy I2C driver Philip Richard Oberfichtner
  2023-10-13  9:43 ` [PATCH 2/2] bootcount: Add driver model " Philip Richard Oberfichtner
  0 siblings, 2 replies; 14+ messages in thread
From: Philip Richard Oberfichtner @ 2023-10-13  9:43 UTC (permalink / raw)
  To: u-boot; +Cc: hs, sjg, trini, Philip Richard Oberfichtner

The generic I2C bootcounter driver does not yet adhere to driver model.
This patchset intends to replace the legacy implementation.

There are currently no upstream boards using the driver, so it should be
safe to just remove it. For downstream users it should be straighforward to
switch to the new implementation.

Philip Richard Oberfichtner (2):
  bootcount: Remove legacy I2C driver
  bootcount: Add driver model I2C driver

 drivers/bootcount/Kconfig            |  34 +++-----
 drivers/bootcount/Makefile           |   2 +-
 drivers/bootcount/bootcount_dm_i2c.c | 126 +++++++++++++++++++++++++++
 drivers/bootcount/bootcount_i2c.c    |  43 ---------
 4 files changed, 140 insertions(+), 65 deletions(-)
 create mode 100644 drivers/bootcount/bootcount_dm_i2c.c
 delete mode 100644 drivers/bootcount/bootcount_i2c.c

-- 
2.42.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-10-20  3:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13  9:43 [PATCH 0/2] bootcount: Replace I2C legacy implementation by driver model Philip Richard Oberfichtner
2023-10-13  9:43 ` [PATCH 1/2] bootcount: Remove legacy I2C driver Philip Richard Oberfichtner
2023-10-13 11:21   ` Heiko Schocher
2023-10-13 11:35     ` Philip Oberfichtner
2023-10-13 12:10       ` Heiko Schocher
2023-10-13  9:43 ` [PATCH 2/2] bootcount: Add driver model " Philip Richard Oberfichtner
2023-10-13 11:28   ` Heiko Schocher
2023-10-13 12:58     ` Philip Oberfichtner
2023-10-17 12:55       ` Philip Oberfichtner
2023-10-18  3:33         ` Simon Glass
2023-10-18  4:31           ` Heiko Schocher
2023-10-18 10:58             ` Philip Oberfichtner
2023-10-18 16:10               ` Simon Glass
2023-10-20  3:18                 ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox