hdata/i2c: Make SPD workaround more workaroundy
hdata/i2c: Make SPD workaround more workaroundy

We have a hack in the I2C device parser to fix up entries generated by
hostboot for the DIMM SPD devices. For some reason they get reported as
128Kbit EEPROMs which is bad since those have a different I2C interface
to an actual SPD device.

Oddly enough, the FSP also gets this wrong in a slightly different way.
In the FSP case they are reported as a at24c04 (4Kbit) EEPROM, which
also has a different I2C interface.

To fix both these problems for any eeprom we find on that bus to have
the compatible string of "spd".

Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>
Reviewed-by: Vasant Hegde <a6d753843573f7bfed5075c1e875b0be8007a0ab@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.ibm.com>

open-power/skiboot,legoater/skiboot,legoater/skiboot,qemu/skiboot,legoater/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,qemu/skiboot,shenki/skiboot,stewart-ibm/skiboot,open-power/skiboot,open-power/skiboot,shenki/skiboot,open-power/skiboot,legoater/skiboot,stewart-ibm/skiboot,stewart-ibm/skiboot,qemu/skiboot,shenki/skiboot,shenki/skiboot,open-power/skiboot