Fixes to use the I2C software module from the common directory.