From patchwork Thu Nov 30 09:07:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120085 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp414750qgn; Thu, 30 Nov 2017 01:07:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMab4Di9+zqtDkTACO4izZrrkx2SLjar0Iucc0Oopv1iSt1vGNgX7rLJpND1cQAaPHBz5wkO X-Received: by 10.99.64.68 with SMTP id n65mr1746186pga.312.1512032853155; Thu, 30 Nov 2017 01:07:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512032853; cv=none; d=google.com; s=arc-20160816; b=ydpXtuKekWUn2i0LwSgGgnMeyWbc6/mHHNoepdDaeF2JVpd2xa80K8r2rupUJkPcui 069NfewYQXY+Xaa3ZYTvcAIHfYcpl3ew4ZWiE1kMuO+nLz4TB42ZJhSiwntWjv0fXUQa mePkmcL2+A8u6y4iwff47X8XXJdj1+XzSmdZMwobN1CABuVTT5yY11B+/1bxiai5clp0 VvhPf4ESc07WjolGMA2apxxThT2GPvOYrFlz7IfYVSsc0OaL7nTVdYTDI6EGqj3tnu0z vKsVxAvJ+9RMy8hURttLgRvfApMlliMP+fe/FeGtl0MrIATmQSArdMn0b8P4DES0WP8a nwSQ== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=ng+qDehL2PqU1LaHzE10zOL/PEdgvcz0bMeYZsqmNhs=; b=gVn2x3OS2xgRwu3RnP1hD1gtpmVYKrdun1ALO+I8SzOmBISkRQVVUYshw3qtjpEAjl vtyk0WKFPQKZvlZV07080/l762Sq1tDlHjgFLaeKTS7GWBA4ubcUjIGA0bREYeeou37U 1+fF21QfnOG7U6acHsxXoUGDVXRoV3Q6JDleECOqxPH1JfKU7PtrNuc9vqyLquZQPzqg 5UaKVP+jujQ8R9SQ0iIx67pkLezCHrvWpxDlef/l2xVCqck0TPj5TgmcuCwUILrSHGMK pQzlMzphd5CCUcRMndC0966sAZDlp7U78zGllovud0eZueo9YqIwc3jwno7bAJ6d+VRp pzCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=giA1Lxz3; 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 34si2814066plz.53.2017.11.30.01.07.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 01:07:33 -0800 (PST) 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=giA1Lxz3; 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 7DD29220C1623; Thu, 30 Nov 2017 01:03:07 -0800 (PST) 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=2a00:1450:400c:c09::244; helo=mail-wm0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 EBA9621A10963 for ; Thu, 30 Nov 2017 01:03:05 -0800 (PST) Received: by mail-wm0-x244.google.com with SMTP id i11so10912703wmf.4 for ; Thu, 30 Nov 2017 01:07:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=gWv1Fihso2IonTaQssc6uvPiJn9NnDIhuE0+weMn1So=; b=giA1Lxz36QEwwMoOq3Z7FdYZZFJE/1RWLSrJnJVH3QP+9lgu6cyU9qagnZZp/WHmTw HLVjo2gp4VnhpKCYlYN7ktQJCDSpdOwqdJBnuWqIzb3TWuzpUEMzEzbF9I+An3ip9LKr Bl/teMenv9KRAcU1t9P/fjfBrTGSjXwsv/8vQ= 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; bh=gWv1Fihso2IonTaQssc6uvPiJn9NnDIhuE0+weMn1So=; b=sTOANN2UtY5hJCfN6Aer5YnHS7QlOH/AATsatlQ6iBlGI/dbmJWndb9OqBxcIMXfVG oZM9IajH4ny/dLT/PM1TfFMDFnjy3BxFfxr09Yntfuhz/4wuj/glO3pbXFuZgZtDXcGI gVu9s2tTJCDl3wnHooXPSSgRCj+4Jx1PMXiM5xmcXZce40mEUEWosprsQKW2pGZlkxTG C8CGDmrVNwR3UbMR7+6gogEFRrxkeWDwrpREGzB2BlJg1qzq64cKl1+vIVOQKuF7dvpi G7XdnNZ7IzjC89gfmIEm6bl/MCzOcJRfeqP9HGb4BLAnJp80c1qt07Ud4keetfk7tssO ed7Q== X-Gm-Message-State: AJaThX6nNBMC2Sz5mI5T66+XqzFx7zEbDS1BwBKwegCmbsdT3m/LrQ5/ bGHYtz+8rl+HSj3pV593pkMJfbMzaZQ= X-Received: by 10.28.214.70 with SMTP id n67mr593711wmg.83.1512032848938; Thu, 30 Nov 2017 01:07:28 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id i65sm12991581wme.20.2017.11.30.01.07.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 01:07:28 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 30 Nov 2017 09:07:21 +0000 Message-Id: <20171130090721.32065-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms] Platform/ARM: move to new TFTP Shell command implementation 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: joakim.bech@linaro.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Upstream EDK2 has refactored the implementation of the TFTP Shell command so update the ARM platforms accordingly. Instead of having to add the new module to all .FDF files under Platform/ARM, add it to the 'networking FDF' include file and include that everywhere. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/ARM/JunoPkg/ArmJuno.fdf | 13 ++----------- Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf | 13 ++----------- Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc | 5 +++++ Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 2 +- 4 files changed, 10 insertions(+), 23 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Platform/ARM/JunoPkg/ArmJuno.fdf b/Platform/ARM/JunoPkg/ArmJuno.fdf index 52586135b525..72771b1170b0 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.fdf +++ b/Platform/ARM/JunoPkg/ArmJuno.fdf @@ -183,17 +183,8 @@ [FV.FvMain] # # Networking stack # - INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf - INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf +!include Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc + INF EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf !if 0 INF OptionRomPkg/MarvellYukonDxe/MarvellYukonDxe.inf diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf index 46e4b9ac6758..3c75a51570b8 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf +++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf @@ -148,17 +148,8 @@ [FV.FvMain] # # Networking stack # - INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf - INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf +!include Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc + INF EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf # diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc b/Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc index 57af0f70eee8..b0107f2bbabd 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-networking.fdf.inc @@ -25,3 +25,8 @@ INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf + + # + # TFTP Shell command + # + INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc index d4c38747b33f..3f6aa31ec434 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -477,11 +477,11 @@ [Components.common] NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf - NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf } + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf [Components.ARM]