From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::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 888CC2035261E for ; Thu, 26 Oct 2017 14:24:57 -0700 (PDT) Received: by mail-wr0-x244.google.com with SMTP id j15so4463651wre.8 for ; Thu, 26 Oct 2017 14:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=w+UA08w9JiosF+KwTWZDgH7h7uAV/4P1cTftzClYUMg=; b=Qycy05RKaXUyD1o2Ix8z4m/8G+xj1gn9WD8MIGChJaJOxx5aH72KrFhT33KfOWDPnv IqhhP3Nz7Q8XTpTDcjguFvA3eaOoIoM1VauGtbcsiFXm7kR6xY4wP3OcGPZcQk4XA13/ XjhISbPgKjwBEXjettbYvd27biFMGqtSUTpR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=w+UA08w9JiosF+KwTWZDgH7h7uAV/4P1cTftzClYUMg=; b=Gm1Yc3LvNrf9S8H1CKbLzpLNomCpb403znok/aYvT3YxE8nJtib/wEI2cOlqSXfVru jx2voOTsXmzNaMQVpI9nJXs4tWEIUUVVq3qewFAtq97mWArn2CArojT4bHe1SLf0siCR bcEQNMPbQR0LI6GIImlUFliT37+V0It2S1R6ndYrjiHQDslvdawN5MpWfMDL0ddWNLiT rWBTJVSwb30Iz9XakCN1rg2qf46VKMuzQg9pwd3WMO8rtmyT9wde7jjEu03vJ96iZngy j5/FSttKloGyx8PBx+MJV1VVBW/kA4TnVDP+oZ9OkcPV/RzvWJ7EvZBoa7UPjNKsbPuT MDKg== X-Gm-Message-State: AMCzsaXeRlEL8qOK98Idrj1T4SvfaGAnQcQBP2PajQnQYdzZs++vnXut yBELhBVYBzHKezzsXq/nQXezCA== X-Google-Smtp-Source: ABhQp+SbUUL/veabFpa0YtpvwlY4kespPIctMO0d3qyIMwkQREvMd7bzSXhaxhGe6WE4x+ZuHCXRhA== X-Received: by 10.223.178.150 with SMTP id g22mr5987967wrd.267.1509053322738; Thu, 26 Oct 2017 14:28:42 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id p49sm9962423wrc.61.2017.10.26.14.28.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 14:28:41 -0700 (PDT) Date: Thu, 26 Oct 2017 22:28:40 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, daniel.thompson@linaro.org, masami.hiramatsu@linaro.org Message-ID: <20171026212840.dngzsj2y2ra24krl@bivouac.eciton.net> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> <20171025175947.22798-18-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20171025175947.22798-18-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 17/23] Socionext/SynQuacerEvalBoard: wire up basic capsule support 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: Thu, 26 Oct 2017 21:24:57 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 25, 2017 at 06:59:41PM +0100, Ard Biesheuvel wrote: > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm > --- > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 7 ++++++- > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 2 ++ > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > index e1983ff43676..cb6922a5940e 100644 > --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > @@ -154,6 +154,7 @@ [LibraryClasses.common.DXE_CORE] > [LibraryClasses.common.DXE_DRIVER] > SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf > + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf > > # > # PCI > @@ -178,7 +179,7 @@ [LibraryClasses.common.UEFI_APPLICATION] > > [LibraryClasses.common.DXE_RUNTIME_DRIVER] > HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf > - CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf > + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf > ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf > > ################################################################################ > @@ -194,6 +195,8 @@ [PcdsFeatureFlag] > gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE > gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE > > + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE > + > [PcdsFixedAtBuild.common] > gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Linaro" > > @@ -380,7 +383,9 @@ [Components.common] > ArmPlatformPkg/PlatformPei/PlatformPeim.inf > ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf > ArmPkg/Drivers/CpuPei/CpuPei.inf > + MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf > MdeModulePkg/Universal/Variable/Pei/VariablePei.inf > + MdeModulePkg/Universal/CapsulePei/CapsulePei.inf > MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { > > NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf > diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > index 27582be34cb4..dc1e15420818 100644 > --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > @@ -237,7 +237,9 @@ [FV.FVMAIN_COMPACT] > INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf > INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf > INF ArmPkg/Drivers/CpuPei/CpuPei.inf > + INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf > INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf > + INF MdeModulePkg/Universal/CapsulePei/CapsulePei.inf > INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf > > FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { > -- > 2.11.0 >