[PATCH 00/11] 'eeprom' command improvements
Marek Behún
kabel at kernel.org
Tue May 21 09:13:24 CEST 2024
Hi Tom,
this series contains improvements for the 'eeprom' command:
- refactors
- fixes
- improvements
- ability to use driver model EEPROMs (uclass UCLASS_I2C_EEPROM)
- more flexible EEPROM layout support
It should not cause any behavior change for any existing board.
This series is a dependency for some DDR issue fixes for Turris Omnia.
I will be sending that one separately.
github PR link (with CI):
https://github.com/u-boot/u-boot/pull/540
- there is a failure for
test.py for sandbox sandbox_clang
but it seems unrelated to these changes
Marek Behún (11):
common: eeprom_layout: Assign default layout methods and parameters
before specific ones
common: eeprom_layout: Split field finding code from the field update
function
common: eeprom_field: Fix updating binary field
common: eeprom_field: Drop unnecessary comparison
cmd: eeprom: Fix usage help for the eeprom command
cmd: eeprom: Hide eeprom layout versioning behind a Kconfig option
cmd: eeprom: Deduplicate parse_i2c_bus_addr() calls
cmd: eeprom: Refactor eeprom device specifier parsing
cmd: eeprom: Refactor command execution into function by action
cmd: eeprom: Don't read/write whole EEPROM if not necessary
cmd: eeprom: Extend to EEPROMs probed via driver model
cmd/Kconfig | 9 +-
cmd/eeprom.c | 305 +++++++++++++++++++++++++---------
common/eeprom/eeprom_field.c | 4 +-
common/eeprom/eeprom_layout.c | 54 +++---
configs/cm_fx6_defconfig | 1 +
configs/cm_t43_defconfig | 1 +
include/eeprom_layout.h | 4 +
7 files changed, 273 insertions(+), 105 deletions(-)
--
2.44.1
More information about the U-Boot
mailing list