From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::244; helo=mail-lf0-x244.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::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 5986B2035624D for ; Mon, 4 Dec 2017 21:52:56 -0800 (PST) Received: by mail-lf0-x244.google.com with SMTP id l81so21842369lfl.6 for ; Mon, 04 Dec 2017 21:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ps5Eq3+eotZsZAH4oCHVdOrhewNyhSJcOab+9TCqly4=; b=O0kCDMaGLE0RYMsFYXmREOOI2/MmxA3TBLwJEubSj8wzmDOfH3NSYH7nAT9rGf3qLO O+H9ONQbut+ZJdlL3/aZbC3EK4h2dD7Y0xZhMoLc7vdDPWJ2Yj7oAAVuX54upCCUEoDi UyOMrsIEaefLt2yqI9LijDwGzoDWnJsDMVgHOFZNR0uWiSp7H+KWM0cmkH/Nq27NZS+2 6kgD/qgYyo79M/efSFOE1wIighCpmdkqEPR/2aQauf7ghrzX/rMtYvk2z0WeOrWvf8f2 4AQAkpKLZS3rnTDLCZMOGM72RmH2dJleO6AdzRnkzNiYXtiCgufMJYF92o0FFIFbjuVP iFyg== 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=Ps5Eq3+eotZsZAH4oCHVdOrhewNyhSJcOab+9TCqly4=; b=Qj8mMz4Hov9ou3HFEH+N5nQ+MiKklPlyemfAVHymgUemefzDGBK/8SIJtbrqQO1ekM GGcC0LEC48bHYqaKoWO0aIExyR4mpps/yknujnFK9nX8zXFwx6X4xTeAF4uh2Y1jhSZJ yhpkh0rDmpoY1KpIh3KlvTz1yLlFutowywUa/jTBNdhgldesq5K3LpV5XfQ6G0lZMCc5 w9hxwFPhpxaxWsN2TBCGPZJeV4Kc0AGE2a45NKm/G0GuH5ozyzjakiZpOxbOxWeoKtJR YsLIfqeJO471CAfBnRkYRP+953tOjHpgIoAUyVlSviSGOI32Nxl0LPRRk49QdwsQarcC ujrA== X-Gm-Message-State: AJaThX40DbrND59t03x2H4hGhs05WwAu9dfSlWBA6fwgP6IU4HIXxylt ZCiygb6RN3KJemQcTDGaqU6wNlYShrI= X-Google-Smtp-Source: AGs4zMZ1FdffRsjdwuBScLOdLFZDYgtPPUq5e+pB5QVozRNMW4SVx51uvI8Yw+0y7QI4g10yavoqww== X-Received: by 10.46.20.83 with SMTP id 19mr10641057lju.23.1512453444812; Mon, 04 Dec 2017 21:57:24 -0800 (PST) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id t80sm1033671lfe.26.2017.12.04.21.57.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 21:57:23 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com Date: Tue, 5 Dec 2017 06:57:02 +0100 Message-Id: <1512453425-25446-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512453425-25446-1-git-send-email-mw@semihalf.com> References: <1512453425-25446-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH v3 1/4] Marvell/Armada: Switch to dynamic tftp command 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: , X-List-Received-Date: Tue, 05 Dec 2017 05:52:56 -0000 After removal of the tftp library in EDK2, the tftp was disabled on Armada platform. Re-enable this functionality as a dynamic command on Armada 70x0 DB board. For this purpose add it as an option, depending on a new INCLUDE_TFTP_COMMAND parameter, which can be passed in the command line during build time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 4 ++++ Platform/Marvell/Armada/Armada70x0.fdf | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 2a8a226..6040493 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -525,6 +525,10 @@ gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 } +!ifdef $(INCLUDE_TFTP_COMMAND) + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif #$(INCLUDE_TFTP_COMMAND) + [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION] GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index ca92c60..c03bc42 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -176,6 +176,9 @@ FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c # UEFI application (Shell Embedded Boot Loader) INF ShellPkg/Application/Shell/Shell.inf +!ifdef $(INCLUDE_TFTP_COMMAND) + INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif #$(INCLUDE_TFTP_COMMAND) # Bds INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf -- 2.7.4