From patchwork Fri Nov 10 14:21:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118552 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2259171edl; Fri, 10 Nov 2017 06:23:21 -0800 (PST) X-Google-Smtp-Source: AGs4zMaHhFbK64TCs1RDzDCTE458qftFdpaFUeUolIw4gC5VXq6hlJrfyMkZiHQHfTGpL3sr5Ktv X-Received: by 10.98.71.194 with SMTP id p63mr583729pfi.26.1510323800946; Fri, 10 Nov 2017 06:23:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510323800; cv=none; d=google.com; s=arc-20160816; b=ToTNBVkFsNwB4BRrFPEJQhOGi+4OrYJ4zhZmeGkwwu/b2KM2whhEda4usBZ7B3nk8F wpZI9VqtEwOAVN3+hluk6m0mUtQK4/CsQ3jj/Tu3XRMF5usFETcM+NJbvJQGOj9KaJNI w/wqwWn8yxdSUqtWRLPkBYzwMlKbhnolXAYclFISP0gvUZND5dPoIZ22yMhbrI1Jd2zs zuZdtyoyaFpQ2ySJbOC03F24wRps327eC0QyGI51m9u3/21jnuiYddesu5N+4rq6SDwC 39y6bePRSHDgmuYwDKv8GUSAG/jN46snrh65gAfwgy2S54QZrQxaVya2WhApgRCkpNi+ B9aw== 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=JsWlIOGDyxaqlODPMWo0zbI7ymW4VL3j2Re80qsf3SU=; b=tlPAqZyEx6Q7D8dBQGa+WB44gxkJdTwtGX6cMT/xBwH4McGafY8XyI0/RbZYpySycP ZJRx9zszQY3huoesX0jDh4Pevrwz8TxKGepzk/E8KG1uPfKVVk7M/XuFXa+hH2/LlH6u HQ6fL+4gIFkqOkrJzdMdNS27UR58HzgRrN7zge/nFeY7nxynFKOswPQ8i2sNLFF0l2qC NaOC+DbnVCRdBFejeVpjYQK45SNACMmLO4vwdCJxxWyohCL0YxsO0XXqI59obFHb+8HE aE3dexye7Q+RSiKKSg7L1gcFu3ehZmXWXkzuGYdGPY4OoGYamZ6P4ltqu3wDUUkGxDeo y7YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=K/ztwDsn; 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 i2si9565296pfi.269.2017.11.10.06.23.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 06:23:20 -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=K/ztwDsn; 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 7ABA420355611; Fri, 10 Nov 2017 06:18:36 -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::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 BA96C20355611 for ; Fri, 10 Nov 2017 06:18:33 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id b9so3061413wmh.5 for ; Fri, 10 Nov 2017 06:22:36 -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:in-reply-to:references; bh=/3GtAw7s3Hma2V99L6iBjEKGx61koDqVHDemNVtOD2Q=; b=K/ztwDsnvQI/WpPzKA0/A4HUojKb4z+KJRDRauFul44OvKhcuqHq43b8QJB1Fh2vPS dUMiA+vzqfdjQwhX66i2JkHZO8aqBNqsDgPx7Gu/6ApEH0OeNWiyOHDF72T9A5Y9LNea +wSBB89iDgTGXfaQNq33A15zYmXPdNJPQElXI= 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=/3GtAw7s3Hma2V99L6iBjEKGx61koDqVHDemNVtOD2Q=; b=GiXv1RVEsx59kvGT9nxf0WxcwTftqzWUk7Gh83y6SPc7GNJre0DcxBd6EKygvy/Tlc IPTvmeu+yAJyX+MJScReNoxbvNx8bCFkumeWCKGrWvqjytzmX8bpR9OX1wkCnPHt41HX GN+WW1RbYqf0vjaiN5KW0YqtKL0tFe/9f3aWsT5/5TbcJDrjh7+Tifb3OMw/KoPb9VWm iINiT5o+OG3d1S0jO6FbXAhtg1ORM6KFC+4HCPEV90QfuPBkW3scMXm+0yBGCzkHULsI mbTlBl4FiQq0T0mohE5aaS+uh8zmxfBjKkTDIgzCMGgs00fg4snYdUEFGUHBawKsjg6i LRIQ== X-Gm-Message-State: AJaThX7Y6RTTD2HVL3+Ts7k/c0Kska6O1nfn4AqOJp5kRrweRpUTPEXr +umcpOJGJ6qIoM8GmRCyEKLpfaLyqig= X-Received: by 10.28.2.213 with SMTP id 204mr394093wmc.106.1510323755139; Fri, 10 Nov 2017 06:22:35 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id e131sm1036477wmg.15.2017.11.10.06.22.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 06:22:34 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, daniel.thompson@linaro.org Date: Fri, 10 Nov 2017 14:21:11 +0000 Message-Id: <20171110142127.12018-19-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171110142127.12018-1-ard.biesheuvel@linaro.org> References: <20171110142127.12018-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms v4 18/34] 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: masahisa.kojima@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 2d107f13f352..0f60bb65a11b 100644 --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc @@ -157,6 +157,7 @@ [LibraryClasses.common.DXE_DRIVER] DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf # # PCI @@ -182,7 +183,7 @@ [LibraryClasses.common.UEFI_APPLICATION] [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf - CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf ################################################################################ @@ -198,6 +199,8 @@ [PcdsFeatureFlag] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE + [PcdsFixedAtBuild.common] gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Linaro" @@ -388,7 +391,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 ac5c458134b0..c099c3dd8d2f 100644 --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf @@ -235,7 +235,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 {