diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2018-10-15 09:36:34 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-10-25 07:08:28 +1100 |
commit | a92f432eae5b51d3b5a4b635b459ad84b2ab2240 (patch) | |
tree | 5d2859853dc8ab01e9d6a562b516eb2eaf15afce /core | |
parent | a3a8f7d0cf1119fba39ffd2e68c27eca1a60f06d (diff) | |
download | skiboot-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 'core')
-rw-r--r-- | core/platform.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/platform.c b/core/platform.c index 7985ce5..570a430 100644 --- a/core/platform.c +++ b/core/platform.c @@ -184,12 +184,6 @@ const struct platform_ocapi generic_ocapi = { .i2c_presence_brick3 = (1 << 7), /* top connector */ .i2c_presence_brick4 = 0, /* unused */ .i2c_presence_brick5 = 0, /* unused */ - /* - * The ZZs we typically use for BML/generic platform tend to - * have old planars and presence detection is broken there, so - * force presence. - */ - .force_presence = true, .odl_phy_swap = true, }; |