]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: eeprom: Do not rewrite EEPROM I2C bus with DM I2C enabled
authorMarek Vasut <marex@denx.de>
Wed, 16 Feb 2022 14:27:59 +0000 (15:27 +0100)
committerHeiko Schocher <hs@denx.de>
Wed, 23 Mar 2022 06:27:37 +0000 (07:27 +0100)
commite3c2042ae7d188e00e48d984e373a2de505d8b77
tree8a216db5ee6a90deda3bd59ed9eacd1e2efb8ea6
parent6db539f983400279cd682fecbbd1fdd4c96d9034
cmd: eeprom: Do not rewrite EEPROM I2C bus with DM I2C enabled

With DM I2C, the EEPROM bus has been correctly configured in
eeprom_execute_command() already. Do not reconfigure it here
with hard-coded bus number again.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
cmd/eeprom.c