aboutsummaryrefslogtreecommitdiff
path: root/include/xscom.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-03-23 17:15:08 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-24 12:51:29 +1100
commit74311a97190d33e3753dc09a5fe6064120c8363a (patch)
tree981bf00892543d34b9331a533dfd554bfd30c4d5 /include/xscom.h
parentded2533b5b31252639ac354521127a239df39e30 (diff)
downloadskiboot-74311a97190d33e3753dc09a5fe6064120c8363a.zip
skiboot-74311a97190d33e3753dc09a5fe6064120c8363a.tar.gz
skiboot-74311a97190d33e3753dc09a5fe6064120c8363a.tar.bz2
xscom: Add indirect form 1 scoms
Add code to perform indirect form 1 scoms. POWER8 does form 0 only. POWER9 adds form 1. The form is determined from the address only. Hardware only allows writes for form 1. Only hostboot uses these scoms during IPL, so they are unused by skiboot currently. Signed-off-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/xscom.h')
-rw-r--r--include/xscom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xscom.h b/include/xscom.h
index bad9140..871d210 100644
--- a/include/xscom.h
+++ b/include/xscom.h
@@ -192,6 +192,7 @@
#define XSCOM_DATA_IND_COMPLETE PPC_BIT(32)
#define XSCOM_DATA_IND_ERR PPC_BITMASK(33,35)
#define XSCOM_DATA_IND_DATA PPC_BITMASK(48,63)
+#define XSCOM_DATA_IND_FORM1_DATA PPC_BITMASK(12,63)
/* HB folks say: try 10 time for now */
#define XSCOM_IND_MAX_RETRIES 10