]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge patch series "'eeprom' command improvements"
authorTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 16:48:41 +0000 (10:48 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 16:48:41 +0000 (10:48 -0600)
Marek BehĂșn <kabel@kernel.org> says:

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

1  2 
cmd/Kconfig
cmd/eeprom.c
common/eeprom/eeprom_field.c
common/eeprom/eeprom_layout.c

diff --cc cmd/Kconfig
Simple merge
diff --cc cmd/eeprom.c
index 26f3750a80adb02ec26fb3af6e82ee3bb357e99b,a39fc5ffdcb54f6db500884b012b6001d8f886e1..cf89cfce3e4d1e71b9b2d066b2644871c6a38ca6
   *
   */
  
 -#include <common.h>
  #include <config.h>
  #include <command.h>
+ #include <dm.h>
  #include <eeprom.h>
  #include <i2c.h>
+ #include <i2c_eeprom.h>
  #include <eeprom_layout.h>
 +#include <vsprintf.h>
  #include <linux/delay.h>
  
  #ifndef       I2C_RXTX_LEN
Simple merge
Simple merge