From patchwork Fri Sep 29 03:17:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 114472 Delivered-To: patch@linaro.org Received: by 10.140.104.133 with SMTP id a5csp311013qgf; Thu, 28 Sep 2017 20:25:14 -0700 (PDT) X-Received: by 10.98.67.209 with SMTP id l78mr6287435pfi.3.1506655513987; Thu, 28 Sep 2017 20:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506655513; cv=none; d=google.com; s=arc-20160816; b=i544UK/kXayiAjFbEF8ltZfeIN32Tbmh1Mldlvn2zkWIzf1Wtbo8uYR16xEI7erkqm PtYHDdGnMvvRc4o+cxyJRX4Qf4X6zjkLNwUB16eI2EWsJYSXBMeqO5FRQDO92eIkEy4Y iO9k6rmyekoos7Ft5ZfO0soehyhEYQFMFrCqVMLIfHFXOxZ0z1YsgLLTyLv87UiEXak8 d5aJxkLt34qdfZFI8MDEV2jdE7HE0De+/x85Vnlqgler/0dn1JS6INJS0ivP18GyhLO9 q3+XnK3CTgAGgcCfX4f/Y4WfM01dUpLCmcY6EKRcHjcvfUPhEtM0o9JX8ssxqjWAc/UR czzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=WC2/6nNfSs+i7LXjY3R+/goFq0WAdtjGDlx32y40xZA=; b=oFZUpDDiB0NL60AL9X6DFVZbn7qtviWPLSpbyDxHR/GdM7xyE+W4P9Z3IcSUTkoG0H ArtxHSlD21lz7xz9gv1yrcuhyMNwrnR+It+KolNGsA7ONkNdnsBCRttlEJI+iVA4YRQa 9c1RL69sew1rMk5N/IFYf3x31+T1uW7IwUNNLd+iOvAg830zojOJbKlDBZatV2F7HFxK YV/cxml5saSPL0cmlTtHjQbUoT4P71jFdxOIA9aJZNFMgdWO+ukW8v4oLVqxFv9ILHzM flbeeE/Fvwy6sFz6HVs0vvdtiBDKE9V5KAPeX3Nc5q6b8EwypL3LiLtoCp2RpOij0dUX ypwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WsQjP11b; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id q9si2523069pfa.465.2017.09.28.20.25.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Sep 2017 20:25:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WsQjP11b; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1073121E1B74E; Thu, 28 Sep 2017 20:21:58 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::22e; helo=mail-pg0-x22e.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8151C20945B68 for ; Thu, 28 Sep 2017 20:21:56 -0700 (PDT) Received: by mail-pg0-x22e.google.com with SMTP id j70so55883pgc.10 for ; Thu, 28 Sep 2017 20:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NJbd4fvCUjpz/i2tmtDrTbX31cydujh4sdQv0sAfoYA=; b=WsQjP11bgs/Fm8SVKND9VlnP2Zkv09MdFkxjeAaMKvH3W3IOk6wdy48pCBkZeikf0y l5rEJOWAvJn4e58W20WkOvkY94vCc1sV0p1AJB4wmYHxK/Yzh1DoUwXSzZIami4TbL/6 tDe8XORgUm+HGaKKEa4Yn+rlQ4INsdB3EgBxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NJbd4fvCUjpz/i2tmtDrTbX31cydujh4sdQv0sAfoYA=; b=eAyIr300z5qyOVkRUI6KKKs3lDsV9t5Fw3gRV8lIzWwLgTpGbguHWNrs2IpVeIXa6p hYaLv6jcJMl2AaXVMAR32M5Zuq3xu2i0TFLJYUaF0Age8LabMV6iTYh46X7NDjBVUc90 JO2VimOaRaUra4Cg1LrN3ucnFIJMYkjuyy2m1GVnp311tQMSBVfIimguykGpinyaxXk7 eu3oWiuct9vY5C4IcQisvcYGFn1Sbs1jtXoKAn+/Pi7mMesL6NGNznl/3zJ2wSP4NasT xvEqG8xRmGTGZsNQAyX9q10ePdLl7/LWJIfnsKu5IY/x0Ncz5GT7m7WQ1OYcd9ntfn5R 363w== X-Gm-Message-State: AMCzsaVPiMyELP2xtjcF42rHLt+urwO8u2/7mWBFvOlrMjZ+Qi3fqeuc HjDCscK3FWDV0HQYqJpejEJQ8Q== X-Google-Smtp-Source: AOwi7QD+SOmp0UU3dk2+2+4u46lCMb5oNr5dsgcTaYzdmf61isSreZKHZXWPLbSi+8AqpXNt2Ubg8A== X-Received: by 10.99.146.12 with SMTP id o12mr834359pgd.217.1506655511525; Thu, 28 Sep 2017 20:25:11 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id h9sm4740838pfi.60.2017.09.28.20.25.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Sep 2017 20:25:11 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 29 Sep 2017 11:17:47 +0800 Message-Id: <1506655072-56179-6-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506655072-56179-1-git-send-email-heyi.guo@linaro.org> References: <1506655072-56179-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v5 05/10] Hisilicon/D05/Net: Update Snp driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , wanghuiqiang@huawei.com, guoheyi@huawei.com, waip23@126.com, mengfanrong@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 1. Replace SnpPV660Dxe with SnpPV600Dxe; 2. Add SnpPlatform: Install protocol to enable nic port which are using. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi | Bin 0 -> 28544 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf | 24 +++++++++++++++++ Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi | Bin 56512 -> 0 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf | 27 -------------------- Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi | Bin 0 -> 3392 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf | 24 +++++++++++++++++ 6 files changed, 48 insertions(+), 27 deletions(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi new file mode 100644 index 0000000..bc7942a Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf new file mode 100644 index 0000000..90e478d --- /dev/null +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +#**/ + +[Defines] + INF_VERSION = 0x00010019 + BASE_NAME = SnpPV600Dxe + FILE_GUID = 3247F15F-3612-4803-BD4E-4104D7EF944A + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi deleted file mode 100644 index c54538f..0000000 Binary files a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi and /dev/null differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf deleted file mode 100644 index 98cc3b8..0000000 --- a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf +++ /dev/null @@ -1,27 +0,0 @@ -#/** @file -# -# Copyright (c) 2016, Hisilicon Limited. All rights reserved. -# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. -# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -#**/ - -[Defines] - INF_VERSION = 0x00010019 - BASE_NAME = SnpPV600Dxe - FILE_GUID = 85F85FDE-FDA1-465A-B22E-488F1A6F966C - MODULE_TYPE = UEFI_DRIVER - VERSION_STRING = 1.0 - - ENTRY_POINT = InitializeSnpPV600Driver - UNLOAD_IMAGE = SnpPV600Unload - -[Binaries] - PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi new file mode 100644 index 0000000..42c26de Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf new file mode 100644 index 0000000..10b2003 --- /dev/null +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +#**/ + +[Defines] + INF_VERSION = 0x00010019 + BASE_NAME = SnpPlatform + FILE_GUID = 102D8FC9-20A4-42EB-AC14-1C98BA5B17A8 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|SnpPlatform.efi|*