Skip to content

Commit

Permalink
Add sensor cache read as an explorer inband command
Browse files Browse the repository at this point in the history
A read of the sensor cache is done via 2 32-byte MMIO reads. There is
no system implementation that can handle a 32 byte transaction size
currently, but implement the structure and wrapper so it is available.

Change-Id: Ib7e11d08fcc2989de0ee79ca3405a5c268b779c3
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67106
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Benjamin Gass <bgass@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80968
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
rpking42 authored and RAJA DAS committed Jul 25, 2019
1 parent 0a61601 commit 2ce7e14
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -49,6 +49,7 @@ enum ffdc_codes
EXP_I2C_GET_FIELD = 0x0000,
EXP_I2C_SET_FIELD = 0x0001,
READ_HOST_FW_RESPONSE_STRUCT = 0x0003,
READ_SENSOR_CACHE_STRUCT = 0x0004,
};

namespace i2c
Expand Down

0 comments on commit 2ce7e14

Please sign in to comment.