diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-05-30 16:42:12 -0500 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-06-17 14:34:26 -0500 |
commit | 049d69c0a7f57680ad94d182c9e5534ebaf7d7f1 (patch) | |
tree | 91a5ce61f01851fd823573f2c3875d7606cefc13 | |
parent | b84dcd99529589cce0ceb2ed6e44e4e0caa2d689 (diff) | |
download | talos-skiboot-06-18-2018.tar.gz talos-skiboot-06-18-2018.zip |
Temporary fix to expose proper MVPD size to host OS06-18-2018
-rw-r--r-- | hdata/i2c.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hdata/i2c.c b/hdata/i2c.c index 9bbec665..bf29fc11 100644 --- a/hdata/i2c.c +++ b/hdata/i2c.c @@ -300,6 +300,15 @@ int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index, dev->i2cm_engine == 3) { compat = "spd"; name = "eeprom"; + } else if (proc_gen == proc_gen_p9 && dev->type == 0x2 && + dev->i2cm_engine == 1 && dev->i2cm_port == 0) { + /* HACK + * Module VPD is 64k, not 16k + * Hostboot is only indicating generic VPD type here + * Override to the 64k at24 part + */ + compat = "atmel,24c512"; + name = "eeprom"; } else if (type) { compat = type->compat; name = type->name; |