summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-03-17 16:21:28 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-17 16:32:36 +1100
commit1988e48f3726833712764e15b300961e4f305533 (patch)
tree47350b47bd84581b9c8dc80fd4586c69ae423534 /doc
parent88688d382533fb3cfb1422050481862afd6534df (diff)
downloadtalos-skiboot-1988e48f3726833712764e15b300961e4f305533.tar.gz
talos-skiboot-1988e48f3726833712764e15b300961e4f305533.zip
Add basic OPAL_XSCOM_READ and OPAL_XSCOM_WRITE docs
Intentionally lazy as lazy docs are better than no docs. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/opal-api/opal-xscom-read-write-65-66.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/opal-api/opal-xscom-read-write-65-66.txt b/doc/opal-api/opal-xscom-read-write-65-66.txt
new file mode 100644
index 00000000..92916df2
--- /dev/null
+++ b/doc/opal-api/opal-xscom-read-write-65-66.txt
@@ -0,0 +1,12 @@
+OPAL_XSCOM_READ and OPAL_XSCOM_WRITE
+------------------------------------
+
+These low level calls will read/write XSCOM values directly.
+
+They should only be used by low level manufacturing/debug tools.
+"Normal" host OS kernel code should not know about XSCOM.
+
+each takes three parameters:
+
+int xscom_read(uint32_t partid, uint64_t pcb_addr, uint64_t *val)
+int xscom_write(uint32_t partid, uint64_t pcb_addr, uint64_t val)
OpenPOWER on IntegriCloud