commit | 3094682e5af24e60ec174886c8e939a51d65afa1 | [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 | 65c5210201a6e01fd3d6b46c49f659d1b9039b08 [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>