]> git.baikalelectronics.ru Git - uboot.git/commit
ti: common: Remove additional i2c read for board detection
authorMichal Simek <michal.simek@xilinx.com>
Thu, 27 Aug 2020 13:43:48 +0000 (15:43 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 31 Aug 2020 09:10:28 +0000 (14:40 +0530)
commit64d024339c4048a4e82187e3bdc0033b740afa9d
treefd18833531709dc576e5e995d0ea032f6b9afdab
parenta6bcfb93bcaefbd75268891d4d544618c7f1bf51
ti: common: Remove additional i2c read for board detection

There shouldn't be a need to call additional i2c read if above failed
already. Based on comment it should be enough to try to detect legacy
boards which are mentioned in the comment.

Fixes: 1fdd38dc5eba ("ti: common: board_detect: Allow DM I2C without CONFIG_DM_I2C_COMPAT")
Fixes: 0bea813d0018 ("ARM: omap-common: Add standard access for board description EEPROM")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/ti/common/board_detect.c