Skip to content
Commit 4f256177 authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Marek Vasut
Browse files

eeprom: fix DM_I2C support without CONFIG_SYS_I2C_EEPROM_BUS



The current device model enabled eeprom code only works if
CONFIG_SYS_I2C_EEPROM_BUS is set.

This patch makes it work without that define so that the bus
number passed to 'eeprom_init' is used.

Signed-off-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent a339f524
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment