aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2018-10-15 09:36:34 +0200
committerStewart Smith <stewart@linux.ibm.com>2018-10-25 07:08:28 +1100
commita92f432eae5b51d3b5a4b635b459ad84b2ab2240 (patch)
tree5d2859853dc8ab01e9d6a562b516eb2eaf15afce /platforms
parenta3a8f7d0cf1119fba39ffd2e68c27eca1a60f06d (diff)
downloadskiboot-a92f432eae5b51d3b5a4b635b459ad84b2ab2240.zip
skiboot-a92f432eae5b51d3b5a4b635b459ad84b2ab2240.tar.gz
skiboot-a92f432eae5b51d3b5a4b635b459ad84b2ab2240.tar.bz2
npu2-opencapi: Enable presence detection on ZZ
Presence detection for opencapi adapters was broken for ZZ planars v3 and below. All ZZ systems currently used in the lab have had their planar upgraded, so we can now remove the override we had to force presence and activate presence detection. Which should improve boot time. Considering the state of opal support on ZZ, this is really only for lab usage on BML. The opencapi enablement team has okay'd the change. In the unlikely case somebody tries opencapi on an old ZZ, the presence detection through i2c will show that no adapter is present and skiboot won't try to access or train the link. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/ibm-fsp/zz.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index e544726..040eca1 100644
--- a/platforms/ibm-fsp/zz.c
+++ b/platforms/ibm-fsp/zz.c
@@ -42,11 +42,6 @@ const struct platform_ocapi zz_ocapi = {
.i2c_presence_brick3 = (1 << 7), /* top connector */
.i2c_presence_brick4 = 0, /* unused */
.i2c_presence_brick5 = 0, /* unused */
- /*
- * i2c presence detection is broken on ZZ planar < v4 so we
- * force the presence until all our systems are upgraded
- */
- .force_presence = true,
.odl_phy_swap = true,
};