Add deprecared i2c api switch for eeprom. Silent warning.