commit | 4f25617758b2e768e6579202269180c5b7a817eb | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Tue Mar 26 13:38:52 2019 +0100 |
committer | Marek Vasut <marex@denx.de> | Thu Apr 25 00:00:49 2019 +0200 |
tree | a4273c37d73b13f031351733975e8aec0eaf442f | |
parent | a339f5249d6ad5ea8201d7513c05fa580244dabd [diff] |
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: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de>