Commits
Simon Goldschmidt committed a47f1920b85
UPSTREAM: eeprom: fix DM_I2C support without CONFIG_SYS_I2C_EEPROM_BUS commit 4f25617758b2e768e6579202269180c5b7a817eb upstream. 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: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de>