Refactor the i2c code to simplify logic and reduce code size.
You might want to double check the cpu_info_t names ot make sure things like vdd_regulator_addr and vdd_smbus_addr make sense.
Ideally I'd also move these in to a separate file, but this is a good start.