summaryrefslogtreecommitdiffstats
path: root/doc/opal-api
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2016-09-13 19:39:22 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-12-08 13:03:23 +1100
commit33fada1a6f4b1f5fcf131765f37fcb76c079bfb2 (patch)
tree2b4f11fee2f8d812b77c22b21cdce7fce102e188 /doc/opal-api
parentaed1fbe848ec7dcfef5c2831ab779ae9c21b41f6 (diff)
downloadtalos-skiboot-33fada1a6f4b1f5fcf131765f37fcb76c079bfb2.tar.gz
talos-skiboot-33fada1a6f4b1f5fcf131765f37fcb76c079bfb2.zip
sensor: add a family field in the handler
Currently, we are hijacking the last bit of the resource field of the sensor handler to differentiate the sensor families and route the opal_sensor_read() call to the appropriate component. Let's reserve the last 3bits and provide an API to set the sensor family for current use and future use. This gives us a maximum of 8 families and 32 resource classes. The FSP uses 15, so we should be fine for a while. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc/opal-api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud