From patchwork Tue Oct 31 10:52:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 117553 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp3794656edm; Tue, 31 Oct 2017 03:54:11 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RK6d140WkAojEq2E5g1eacN/3qyqME1+DEqu5U1uZZNhDBcfmEjzNTBflVIa8OSCxJej5A X-Received: by 10.98.68.8 with SMTP id r8mr1591695pfa.161.1509447251246; Tue, 31 Oct 2017 03:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509447251; cv=none; d=google.com; s=arc-20160816; b=A/klmN0CRefYixCgwhWWFa4oEMMM/QTMM6lcC3QwPY1lMfrs7VKnHbnIFBhcuvLxvE bHHKhCIvYhgR63DqK0BiTY/DemDH/fAKpVMOeZ1HQrgLog6wKHAYks2swXOomM/lDkkC lWAxB6f6J2rMZ2MNd4/J88SmKlOGX4XGx1JFnoFJVneDCR4VZhQLxtX7O1dfRe/OAH9c ub6YRWL9+7egkeohewQ/Dm/qPn0KN2tnk3KCaPPIIleR4zGIE+vjlE5F8tq0iJG1S3Ou XO9U4exQiZfovcGCKFeNLPBQuw2e0CPHhgBOm/xSeLvEiVY9aRTOZJe/2rHegTJbNQjG wxuQ== 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=VJY5pMOsQEO+ldEeMFUDh3JOxlVnkA74nxhA9p1cRVs=; b=rhKkY2847JxC+eOZJBerVg3tdsYJK0HgGl1CwDVRBwve2la75JcYxMB6jIaOtJNGx0 aCdlFpc9jvZNz4a13g32/7Hdz50E+/hkjUUqupnBo2F2VM2Ktxhoksc9ceuOiQptxZDE Z3Ge1S8Udnwq88JNq4NrI6V1r28B415axNkTKbTqK1uWKkp5kR0lvm/Rc7g59qHJjIRg Sqi/CBBDsSVeMonYgBfH9crOZfo6cY7cAr76DUEF15Sb4WY7/ldGpGNvxsLtHKB2LNP0 Dn4LUaPiSC9nFTJtNJqiVp03HJXFfiHjOlJRf/Wtdy1SdqRYBvKo0jhNyoNb7PUxSugK dTYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FnL0np3D; 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 u3si1267404plb.329.2017.10.31.03.54.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2017 03:54:11 -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=FnL0np3D; 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 897342035D100; Tue, 31 Oct 2017 03:49:29 -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:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 DDB5F2035D0ED for ; Tue, 31 Oct 2017 03:49:27 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id u40so15476652wrf.10 for ; Tue, 31 Oct 2017 03:53:19 -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=olZt3ygL+2zCzz08ccnS+Yn/KL12AhrOnPMzZ03nwSk=; b=FnL0np3DYC7rLHDYWvSKSwEpELH5BSnaILS/EGAKxn4u+AiiqLuG7+McQWRzb/Ondf iIjvxqAAsf9mkJ16Fp8zQnHAl+q8IjarShZR/qBOa08Auom61PDiLXC6/nH2Jt9LxXNY 8aHcuw7qhcUSLSWW4S1dhuoTU11fWt55ohwdU= 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=olZt3ygL+2zCzz08ccnS+Yn/KL12AhrOnPMzZ03nwSk=; b=mLGDPGLqohB/4OHfdUzzUWNffmmSQ+NTX8uwQQDtg+5FbhZtuTji+0tKqdrPLHnnOX H4vowhjwWLpPJOP9rngKUm4f73T6pkxMzphtnh0ntxabWgFfv18r+6byj/fayRrsgc3T f7epypSey9AGhE+8twaMz7avArAzKer6HIjqKQnatVqWL/n5Gh6xtVJlV7MVwYCc4Sif s5HU20mRx2e/yXZ454BqOSrdPtN9M6kGpNvXYTFu1PlOh1UMXm8p2H1pja3UmZBsH/6k EVhYEQcRkKJPx+Q9psHst7ady5//YA/SQ2hSr49tMaFr3qmZqgHKxsTeEmkJHtNS3fiZ 0F2Q== X-Gm-Message-State: AMCzsaWkfYtzQclOs7qeXfP5iIc9WzBODcN8x0eqXGITsZ3nlvNdzxSg Y4iMj4DghU6QtLH/juQgukR7HvqUVLc= X-Received: by 10.223.162.152 with SMTP id s24mr1510009wra.173.1509447197996; Tue, 31 Oct 2017 03:53:17 -0700 (PDT) Received: from localhost.localdomain ([105.129.222.2]) by smtp.gmail.com with ESMTPSA id o14sm460985wra.54.2017.10.31.03.53.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2017 03:53:17 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 31 Oct 2017 10:52:10 +0000 Message-Id: <20171031105218.30208-20-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171031105218.30208-1-ard.biesheuvel@linaro.org> References: <20171031105218.30208-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 19/27] 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, Ard Biesheuvel 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 Reviewed-by: Leif Lindholm --- 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 diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc index ea9d0bbcbf7b..5d2736a6130e 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" @@ -384,7 +387,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 5ff6bcacf838..f39f67f053be 100644 --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf @@ -242,7 +242,9 @@ [FV.FVMAIN_PEI] 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 [FV.FVMAIN_COMPACT]