From patchwork Wed Oct 25 17:59:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 117149 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1120483qgn; Wed, 25 Oct 2017 11:01:20 -0700 (PDT) X-Google-Smtp-Source: ABhQp+S/PovZEvb1pZLoq9meeK2oGTc3u2aBKZ/ZhwW4lwsxJyV6nvVUMnlVcJSzCDHsjMBY8+UA X-Received: by 10.99.170.1 with SMTP id e1mr2765022pgf.12.1508954480779; Wed, 25 Oct 2017 11:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508954480; cv=none; d=google.com; s=arc-20160816; b=yNZFqILGRrfhsuBHEzeEl14Uyo3BCJWJfq7fICCEdIXVp9u4oXSZ1Io2SbECdOp+87 40SC84j/OlrRf2GJaX5kSKcid9UGpylXrDaF4VFBs+z9MeIFnAMIvprruaLBKgSRD+LZ KL+ZMJCBX5EUmYTbEU8cF2BZsuQhnQaYmEuG3IanY2wLbthT2lRDqf6ZatcrwkxkdAtB rfT8eSRbzPC5G2cfACau/yD3Eqh8g9vW1k5len6OwAPn2crCYhhpiKQbOLQT/TuUtUJb j4qmTAnihc6ipbWtwhGNITE6qPtMDojBpVhvdFK9ZdPplxUeE81q7XZrmN5zrhs3yEaO kp4Q== 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=fxcNT/zrdD9DtAejdS3UMGt9QQ9CtNfNDmzVvYgcO40=; b=UJau+aA4iJUHh1rlAMSdgTYWy/ADBRrb0yTZ4lNrvCGPj1xKKzFZQMGRko7Wppc1T+ TPJHj5SQQPp67+jB3SJoQaZq7YX+4tfOwgp5XD3vh5EIVdnw5mAlJYlDeWAMAPTdgSVS 33fQTa3QFuVH1mEWbdCr4J4LeELxDzxa/vk9Frb5Sjwce0vzfbc0fMYOMBwZ7IUnzOs5 YdrkYkTQtOy0JtX9fqOyKxBxHAAbsZwwSiMV7lzlbesGo/QbtiF1KbwMrISCSv5FDiAD yZZFxbX7tXP9q85zXQePTygL3d7jVBfIwEV4yN/4WvlmP/ApBecSC19jaeQW0gWxEXP4 2adQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gai1zEWv; 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 i19si2299750pfa.419.2017.10.25.11.01.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 11:01:20 -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=gai1zEWv; 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 3F37A2035260E; Wed, 25 Oct 2017 10:56:52 -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=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 2E63B20352609 for ; Wed, 25 Oct 2017 10:56:50 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id r68so3574147wmr.3 for ; Wed, 25 Oct 2017 11:00:35 -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=Ud7pBLyEf0B5h12Lu8wFi0ivakCYbJM/2nA7hC347iE=; b=gai1zEWvnYfvUGAbJRJlw0spuzyJm5StG8TRRt2Ox4+DHlx96bBvxVtd1bqGDKcQUb MqR4DXbjYiOAqWjD/GEwpQ5zF1MR1vVT9oVZAPhJMqksCekAB3jAdjNvgZUV1SxPWsXO TP00OvhjAvp3WYhpp3uAHue2YCxpAl63QKWsg= 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=Ud7pBLyEf0B5h12Lu8wFi0ivakCYbJM/2nA7hC347iE=; b=J5m5lMSLNe1vGEMl0eOkssoQMqGfQhNKrF/6T0+NpMcxSTtXxJE+XkUwTkJHnzzjRa aT2tQiUvqxPX1afDIRnu7G6i96a/rAs/96Urhu5Y1Qp2ZdNVOd+Uyp4OYrfBwzDCIeBq kYZhOZPdzRhpZpp4VfVFntZGmnPfLCHosAWxpN4p+HRWiLqlMzUNaWC/w77C57+zIhUh RGDVbRGn4aqBy8Ytxi9DMFSG0EqtuQYTVZXLIDvFvVp5NocUrHBySh4Hnd3/3V75W8CS RT3hAADzd2UWjWmBLBPS3Seo8SAxGTtGnFJquFxGh8mKaV/LLjqi24MgoBHT7Gp0vrM4 ZzvQ== X-Gm-Message-State: AMCzsaVzYYAI/I1blWE37krqa5AV7x0Vy8AuirFLGTISXX3RmlQnbtRS ahRyed3cWiTuwvkTgabP2CJUk3sNaUw= X-Received: by 10.28.26.138 with SMTP id a132mr2667401wma.124.1508954433768; Wed, 25 Oct 2017 11:00:33 -0700 (PDT) Received: from localhost.localdomain ([160.161.173.60]) by smtp.gmail.com with ESMTPSA id y29sm3255305wrd.3.2017.10.25.11.00.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 11:00:32 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 25 Oct 2017 18:59:41 +0100 Message-Id: <20171025175947.22798-18-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171025175947.22798-1-ard.biesheuvel@linaro.org> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> Subject: [edk2] [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: , Cc: daniel.thompson@linaro.org, masami.hiramatsu@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 7 ++++++- Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) -- 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/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 {