Hello Simon,

Am 26.03.2019 um 13:38 schrieb Simon Goldschmidt:
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.goldschm...@gmail.com>
---

Changes in v2: None

  cmd/eeprom.c | 23 +++++++++++++++--------
  1 file changed, 15 insertions(+), 8 deletions(-)

Reviewed-by: Heiko Schocher <h...@denx.de>

bye,
Heiko

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to