summaryrefslogtreecommitdiff
path: root/board/ti/common/board_detect.h
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2020-01-07 13:15:53 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-01-20 10:10:28 +0530
commit499681e15e7e7afcae78bdc100d6a753f9271094 (patch)
treeab994d6c1548916a6ed88be89495bffda6837127 /board/ti/common/board_detect.h
parent019d123705eb2c813af79d138538637e83dfa1bf (diff)
ti: common: board_detect: Handle EEPROM probe more gracefully
Use dm_i2c_probe() rather than i2c_get_chip() when trying to access board-detection EEPROM devices. This has the advantage of more gracefully handling the case when the EEPROM is not present by allowing to exit the function early rather than failing and outputting an error message on the I2C transactions that follow. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti/common/board_detect.h')
0 files changed, 0 insertions, 0 deletions