[U-Boot] [PATCH 0/4] arm: zynq: migrate to DM I2C driver

Luis Araneda luaraneda at gmail.com
Mon Jul 9 05:00:02 UTC 2018


This series migrate most zynq boards to using the
Cadence DM I2C driver

The first patch adds kconfig options to generalize the concept
of reading the MAC address from an I2C EEPROM. Then the zynq and
zynqmp boards were migrated with patches two and three to use
the options

Finally, the last patch migrates the boards to the Cadence I2C driver.
The boards ZC702 and ZC706 were not migrated because they have
I2C multiplexers and I don't have a board with a multiplexer to
perform testing and validation

I ran a round of reproducible builds on master and another one
after the third patch for all zynq and zynqmp boards, and the same
binaries where generated for all boards

All commits were tested on a Digilent Zybo board

Luis Araneda (4):
  drivers/misc: add options to read MAC address from EEPROM
  arm: zynq: migrate EEPROM MAC address options to kconfig
  arm64: zynqmp: migrate EEPROM MAC address options to kconfig
  arm: zynq: use i2c cadence DM driver

 arch/arm/dts/zynq-syzygy-hub.dts              |  1 +
 arch/arm/dts/zynq-zybo.dts                    | 10 ++++++
 board/xilinx/zynq/board.c                     | 27 ++++++++++++----
 board/xilinx/zynqmp/zynqmp.c                  | 10 +++---
 configs/syzygy_hub_defconfig                  |  9 +++---
 configs/topic_miami_defconfig                 |  5 ++-
 configs/topic_miamilite_defconfig             |  5 ++-
 configs/topic_miamiplus_defconfig             |  5 ++-
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig |  5 ++-
 configs/xilinx_zynqmp_zcu102_revA_defconfig   |  5 ++-
 configs/xilinx_zynqmp_zcu102_revB_defconfig   |  5 ++-
 configs/xilinx_zynqmp_zcu106_revA_defconfig   |  5 ++-
 configs/xilinx_zynqmp_zcu111_revA_defconfig   |  5 ++-
 configs/zynq_zybo_defconfig                   | 10 +++---
 drivers/misc/Kconfig                          | 32 +++++++++++++++----
 include/configs/syzygy_hub.h                  |  3 --
 include/configs/xilinx_zynqmp_zcu102.h        |  2 --
 include/configs/xilinx_zynqmp_zcu106.h        |  2 --
 include/configs/xilinx_zynqmp_zcu111.h        |  2 --
 include/configs/zynq_zybo.h                   |  2 --
 20 files changed, 98 insertions(+), 52 deletions(-)

-- 
2.18.0



More information about the U-Boot mailing list