From a92f432eae5b51d3b5a4b635b459ad84b2ab2240 Mon Sep 17 00:00:00 2001 From: Frederic Barrat Date: Mon, 15 Oct 2018 09:36:34 +0200 Subject: 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 Acked-by: Andrew Donnellan Signed-off-by: Stewart Smith --- core/platform.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core') 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, }; -- cgit v1.1