Skip to content

board: ge: Move bootcount to EEPROM

Fabien Lahoudere u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest6 patches 0 repliesNew

Changes in v3 from the cover letter

- Patches have been rebased to apply correctly on master.
- Remove a build time warning
- Remove checkpatch.pl warning

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6board: ge: Remove EEPROM bus param from read_vpd()board/ge/bx50v3/bx50v3.c board/ge/mx53ppd/mx53ppd.c+6 -61 reply
2/6board: ge: Move VPD EEPROM configuration to the defconfigboard/ge/bx50v3/Kconfig board/ge/bx50v3/bx50v3.c board/ge/common/Kconfig +4 more+45 -231 reply
3/6bootcount: i2c: Add bus switching to the I2C bootcount driverdrivers/bootcount/Kconfig drivers/bootcount/bootcount_i2c.c+77 -91 reply
4/6bootcount: Configure length limit for I2C bootcountdrivers/bootcount/Kconfig drivers/bootcount/bootcount_i2c.c+12 -41 reply
5/6board: ge: Move VPD reading to the vpd_readerboard/ge/bx50v3/bx50v3.c board/ge/common/vpd_reader.c board/ge/common/vpd_reader.h +1 more+63 -761 reply
6/6board: ge: Store bootcount in EEPROM on PPD and Bx50v3board/ge/common/vpd_reader.c configs/ge_bx50v3_defconfig configs/mx53ppd_defconfig +2 more+55 -141 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH V3 0/6] board: ge: Move bootcount to EEPROM

GE boards need bootcount set in EEPROM instead of file to avoid some issues.

This series replace v2 sent by Sebastian Reichel on 2018-07-20.

Changes since v2:
- Patches have been rebased to apply correctly on master.
- Remove a build time warning
- Remove checkpatch.pl warning

Denis Zalevskiy (6):
board: ge: Remove EEPROM bus param from read_vpd()
board: ge: Move VPD EEPROM configuration to the defconfig
bootcount: i2c: Add bus switching to the I2C bootcount driver
bootcount: Configure length limit for I2C bootcount
board: ge: Move VPD reading to the vpd_reader
board: ge: Store bootcount in EEPROM on PPD and Bx50v3

 board/ge/bx50v3/Kconfig           |  2 +
 board/ge/bx50v3/bx50v3.c          | 57 ++++++----------------------
 board/ge/common/Kconfig           | 14 +++++++
 board/ge/common/vpd_reader.c      | 57 ++++++++++++++++++++++++++--
 board/ge/common/vpd_reader.h      | 16 +++++---
 board/ge/mx53ppd/Kconfig          |  2 +
 board/ge/mx53ppd/mx53ppd.c        | 44 ++++------------------
 configs/ge_bx50v3_defconfig       | 27 +++++++++++--
 configs/mx53ppd_defconfig         | 29 ++++++++++++--
 drivers/bootcount/Kconfig         | 21 ++++++++++-
 drivers/bootcount/bootcount_i2c.c | 79 +++++++++++++++++++++++++++++++++------
 include/configs/ge_bx50v3.h       |  6 +--
 include/configs/mx53ppd.h         |  6 +--
 13 files changed, 243 insertions(+), 117 deletions(-)
 create mode 100644 board/ge/common/Kconfig
Signature · 1 line
1.8.3.1