diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-07-17 09:58:07 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-07-23 11:51:56 -0500 |
commit | c865c731af71ca5218eaedd6707120c90f234213 (patch) | |
tree | bec568d121602c66b39dde83b66d3379ec9e7db3 /src/usr/i2c | |
parent | 72f32c4cb878036921ee1228e71abb7ba21adcbc (diff) | |
download | talos-hostboot-c865c731af71ca5218eaedd6707120c90f234213.tar.gz talos-hostboot-c865c731af71ca5218eaedd6707120c90f234213.zip |
Register EEPROM_CACHE device route for NODE targets for PVPD support
Previously when adding PVPD support for Axone we we forgot to register
the NODE targets for the EEPROM_CACHE device route. This was causing
the PVPD eeprom to not be cached. This commit registers the device
route and fixes the issue.
Change-Id: Ib530c552eb5c2fed1757f536a400752369de161f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80559
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Glenn Miles <milesg@ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/i2c')
-rw-r--r-- | src/usr/i2c/eepromCache.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/i2c/eepromCache.C b/src/usr/i2c/eepromCache.C index b50f899bf..851459376 100644 --- a/src/usr/i2c/eepromCache.C +++ b/src/usr/i2c/eepromCache.C @@ -639,6 +639,11 @@ DEVICE_REGISTER_ROUTE( DeviceFW::READ, TARGETING::TYPE_DIMM, genericI2CEepromCache ); +DEVICE_REGISTER_ROUTE( DeviceFW::READ, + DeviceFW::EEPROM_CACHE, + TARGETING::TYPE_NODE, + genericI2CEepromCache ); + errlHndl_t setIsValidCacheEntry(const TARGETING::Target * i_target, const EEPROM_ROLE &i_eepromRole, bool i_isValid) |