[PATCH v2] i2c: eeprom: Use reg property instead of offset and size

Simon Glass sjg at chromium.org
Tue Jun 16 15:43:55 CEST 2020


On Mon, 15 Jun 2020 at 07:41, Michal Simek <michal.simek at xilinx.com> wrote:
>
> Remove adhoc dt binding for fixed-partition definition for i2c eeprom.
> fixed-partition are using reg property instead of offset/size pair.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> Changes in v2:
> - Bootcount tested on zynqmp zcu104
> - Add missing address/size cells
> - Use dev_read_addr_size_index
> - Check parameters
>
> Just build tested - ge_bx50v3_defconfig
> Definitely please retest on hardware.
>
> ---
>  arch/arm/dts/imx53-ppd-uboot.dtsi    | 15 +++++++++------
>  arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 +++++++-----
>  drivers/misc/i2c_eeprom.c            | 20 ++++++++++----------
>  3 files changed, 26 insertions(+), 21 deletions(-)
>

We have a sandbox I2C EEPROM, so you should be able to use the
existing test, right?

REgards,
Simon


More information about the U-Boot mailing list