]> git.ipfire.org Git - thirdparty/u-boot.git/commit
py: test: Set device before running probe
authorMichal Simek <michal.simek@xilinx.com>
Thu, 21 Dec 2017 13:11:56 +0000 (14:11 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Jan 2018 15:19:13 +0000 (16:19 +0100)
commited69de1d3dd0140cf1910bd9df149dd8b112b5b7
tree44e03a7e038a95f533e6c054ba151a5850872c0d
parentd755bd0048d4c3c0bd259587f8c14fb132a23089
py: test: Set device before running probe

Several zynq/zynqmp boards are reading mac address from eeprom that's
why device is already selected. For zc1751-dc1 this is not used that's
why i2c dev needs to be called.
In general setting the first controller is good thing to do.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
test/py/tests/test_i2c.py