From patchwork Thu Oct 27 03:15:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 79590 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp407447qge; Wed, 26 Oct 2016 20:27:42 -0700 (PDT) X-Received: by 10.55.15.152 with SMTP id 24mr4395705qkp.45.1477538862763; Wed, 26 Oct 2016 20:27:42 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 29si3058117qkq.54.2016.10.26.20.27.42; Wed, 26 Oct 2016 20:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 636C36090E; Thu, 27 Oct 2016 03:27:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id DE4DF60D9D; Thu, 27 Oct 2016 03:20:39 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A6D8461DA2; Thu, 27 Oct 2016 03:20:35 +0000 (UTC) Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by lists.linaro.org (Postfix) with ESMTPS id 08F9061CD0 for ; Thu, 27 Oct 2016 03:16:47 +0000 (UTC) Received: by mail-pf0-f170.google.com with SMTP id 197so8244380pfu.0 for ; Wed, 26 Oct 2016 20:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=J6vSduu8+K5w+fNlRwRhkaNME77J8sNOX2GzDMO2e94=; b=KZFJXk1EYuc2kLimeYfDT2rTmcADZJY/U11WVNbZk7x5evWN+K5I0gFBQ0BixuqxjK Mrl6g5u3CgK3EKOcI7j2ryy1/pz61q6C1ZGQTCRR3FGhZISOBVSoddNNBPeg9hctgJA6 BQbqIiKDL4dFqk/gyK+IQ+bYZMw+fva9NnUhBk1hX9rm3Xfbnu/E8tUcsZZmibTMkM+o /Ab7VQFmEcYSFzWdi7px3m87TkmF4bfMPMpWw2uuOKxSr8PQ643JSHpEbsGR9Qf8qFt+ xlENzpopqc58/x4VdlyMwXkIAqW9rImhTkVIUwBAzp9vOjOoBUQkMhVjTC4AH07vWSoY Q7ng== X-Gm-Message-State: ABUngvd7FSIVKgDJdw6BJ+MGc7VWugt4wbvf++fPQo1xvvblXWR2+o5/Dy+I2sN0pIo3IAQ3GEU= X-Received: by 10.98.100.215 with SMTP id y206mr10193336pfb.49.1477538206165; Wed, 26 Oct 2016 20:16:46 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id h5sm7091734pfg.86.2016.10.26.20.16.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 20:16:45 -0700 (PDT) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Thu, 27 Oct 2016 11:15:21 +0800 Message-Id: <1477538129-118465-17-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477538129-118465-1-git-send-email-heyi.guo@linaro.org> References: <1477538129-118465-1-git-send-email-heyi.guo@linaro.org> Cc: Heyi Guo Subject: [Linaro-uefi] [PATCH 18/26] D03/OemMiscLib: Add interface for SAS driver X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Add OemIsNeedDisableExpanderBuffer() interface for SAS driver. Change-Id: I85262a7800cb0a22e6ddc072d566b9df4405a126 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- Platforms/Hisilicon/D03/Library/OemMiscLib2P/OemMiscLib2PHi1610.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Platforms/Hisilicon/D03/Library/OemMiscLib2P/OemMiscLib2PHi1610.c b/Platforms/Hisilicon/D03/Library/OemMiscLib2P/OemMiscLib2PHi1610.c index 75b23d5..c673c42 100644 --- a/Platforms/Hisilicon/D03/Library/OemMiscLib2P/OemMiscLib2PHi1610.c +++ b/Platforms/Hisilicon/D03/Library/OemMiscLib2P/OemMiscLib2PHi1610.c @@ -143,3 +143,8 @@ VOID OemBiosSwitch(UINT32 Master) (VOID)Master; return; } + +BOOLEAN OemIsNeedDisableExpanderBuffer(VOID) +{ + return TRUE; +}