From patchwork Sat Jan 31 09:29:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 44076 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 54CAD2359E for ; Sat, 31 Jan 2015 09:31:09 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e49sf12987582eek.3 for ; Sat, 31 Jan 2015 01:31:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=VEK/43dz6mjzFUDht63R9Tnvi4CbMSQpqe/0ojkSi54=; b=F/5f1BmhOWbefIWjpx8RmYc1N62W8wXDbgqiAys1grRZfHbuEfyeXezjh70RnMInF6 ZJdFZGNyvbaBnN3XpSbnDRp5HQTNvxZdp7wF2tQ4teClhx3KNtr1jeZyPGZUc+osb+k1 2Xt7rtzdbUdAPcW5yWtDEP4zDa84v75p1fj2bfR5CKwrTQDlMrHks1+DzEMnLdsZ7iD7 Xyx6v3JVpNfHO931p2uusbZiKQMaks2y0oraHjfOiSDtG8Q8DyJF5C+M6oZ8D7NRTcHL s+KQC8I4fJf/R9j4Qgk31rGto7X0NEQKaHo6iNY/PrkovX0Lx0fllAKWLT9GpAy9hEcO 9aNQ== X-Gm-Message-State: ALoCoQmQwTYmZj/ZQyW//i8jwYyC5Coxt9X6hhLUElsVYgSKHpQ+SOb+ieMz4hyDXy1isKbdUo6n X-Received: by 10.112.148.198 with SMTP id tu6mr1302136lbb.3.1422696668620; Sat, 31 Jan 2015 01:31:08 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.162 with SMTP id dd2ls150143lad.81.gmail; Sat, 31 Jan 2015 01:31:08 -0800 (PST) X-Received: by 10.112.199.39 with SMTP id jh7mr10484735lbc.46.1422696668410; Sat, 31 Jan 2015 01:31:08 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id c6si11933512lab.135.2015.01.31.01.31.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 Jan 2015 01:31:08 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id gq15so27974265lab.12 for ; Sat, 31 Jan 2015 01:31:08 -0800 (PST) X-Received: by 10.112.173.202 with SMTP id bm10mr10440499lbc.24.1422696668125; Sat, 31 Jan 2015 01:31:08 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp177433lbj; Sat, 31 Jan 2015 01:31:07 -0800 (PST) X-Received: by 10.107.3.170 with SMTP id e42mr12458903ioi.65.1422696660582; Sat, 31 Jan 2015 01:31:00 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id cy19si3388656igc.10.2015.01.31.01.30.59 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 31 Jan 2015 01:31:00 -0800 (PST) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YHUO7-0004f1-Is; Sat, 31 Jan 2015 09:30:47 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YHUO3-0004ek-5B for edk2-devel@lists.sourceforge.net; Sat, 31 Jan 2015 09:30:43 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.220.48 as permitted sender) client-ip=209.85.220.48; envelope-from=fu.wei@linaro.org; helo=mail-pa0-f48.google.com; Received: from mail-pa0-f48.google.com ([209.85.220.48]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YHUO1-0001jf-5C for edk2-devel@lists.sourceforge.net; Sat, 31 Jan 2015 09:30:43 +0000 Received: by mail-pa0-f48.google.com with SMTP id ey11so62056117pad.7 for ; Sat, 31 Jan 2015 01:30:35 -0800 (PST) X-Received: by 10.70.22.234 with SMTP id h10mr15100168pdf.118.1422696635488; Sat, 31 Jan 2015 01:30:35 -0800 (PST) Received: from localhost.localdomain ([203.175.172.123]) by mx.google.com with ESMTPSA id pp6sm13030773pdb.92.2015.01.31.01.30.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Jan 2015 01:30:35 -0800 (PST) From: fu.wei@linaro.org To: edk2-devel@lists.sourceforge.net, linaro-uefi@lists.linaro.org Date: Sat, 31 Jan 2015 17:29:24 +0800 Message-Id: <1422696566-21807-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1422696566-21807-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1422696566-21807-1-git-send-email-fu.wei@linaro.org> X-Spam-Score: -0.7 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record 0.8 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1YHUO1-0001jf-5C Subject: [edk2] [PATCH v3 3/5] ArmPlatformPkg: Add the conditionalised networking support for FVP AArch64. It is enabled by default (EDK2_ENABLE_SMSC_91X=1). If specify "-D EDK2_ENABLE_SMSC_91X=0" build variable, the networking support will be disabled. X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fu.wei@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Leif Lindholm Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm [submitting patch upstream] Signed-off-by: Fu Wei --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc | 3 +++ ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc index 7cc4e27..5547d27 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc @@ -31,6 +31,9 @@ DEFINE EDK2_SKIP_PEICORE=1 !endif +!ifndef EDK2_ENABLE_SMSC_91X + DEFINE EDK2_ENABLE_SMSC_91X=1 +!endif !include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf index 80acb95..c28d4ba 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf @@ -186,6 +186,11 @@ READ_LOCK_STATUS = TRUE INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf +!if $(EDK2_ENABLE_SMSC_91X) != 0 +!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-networking.fdf.inc + INF EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.inf +!endif + # # UEFI application (Shell Embedded Boot Loader) #