common, env: Fix support for environment in i2c eeprom
When using CONFIG_SYS_I2C i2c needs to be initialized by
i2c_init_all(). This is done in some places but not in
eeprom_init().
Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd.eu>
Showing
想要评论请 注册 或 登录