
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