aboutsummaryrefslogtreecommitdiff
path: root/include/chip.h
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.vnet.ibm.com>2017-06-13 14:21:20 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-19 14:49:29 +1000
commit37ea3cfdc8523cb5fbbde6e364eaed3c1c67f8bb (patch)
tree59a817c8ea18aec57db33c545fecc19ac25e26ef /include/chip.h
parent43eb0ae6c2d4d05c4802b2de553f14234fe2cddf (diff)
downloadskiboot-37ea3cfdc8523cb5fbbde6e364eaed3c1c67f8bb.zip
skiboot-37ea3cfdc8523cb5fbbde6e364eaed3c1c67f8bb.tar.gz
skiboot-37ea3cfdc8523cb5fbbde6e364eaed3c1c67f8bb.tar.bz2
capi: Enable capi mode for PHB4
Enable the Coherently attached processor interface. The PHB is used as a CAPI interface. CAPI Adapters can be connected to either PEC0 or PEC2. Single port CAPI adapter can be connected to either PEC0 or PEC2, but Dual-Port Adapter can be only connected to PEC2 CAPP0 attached to PHB0(PEC0 - single port) CAPP1 attached to PHB3(PEC2 - single or dual port) As we did for PHB3, a new specific file 'phb4-capp.h' is created to contain the CAPP register definitions. Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com> Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r--include/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h
index b957e45..17f062b 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -191,6 +191,7 @@ struct proc_chip {
/* Must hold capi_lock to change */
uint8_t capp_phb3_attached_mask;
+ uint8_t capp_phb4_attached_mask;
uint8_t capp_ucode_loaded;
/* Used by hw/centaur.c */