From patchwork Fri Mar 8 15:30:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 159990 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp8851418jad; Fri, 8 Mar 2019 07:31:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxgSmBIRAEp/XIaWyHrLo5IzAYw8NJcwSwvqqyn4oQ44K/ennMwVWzoJdPYLxcDUt9JrmIl X-Received: by 2002:a63:4e1d:: with SMTP id c29mr17440128pgb.433.1552059093212; Fri, 08 Mar 2019 07:31:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552059093; cv=none; d=google.com; s=arc-20160816; b=Igj4MsblWxKb5fC6R+gB441cGxUOrh9jNAIe8i8E60oommlps2WXLAPv4swz3pE9CF UlCI65BqiJvDZ4NvDvJUhWR6OfsRQOLcAJ8AvNTvPO6yr4xbVSQRxOEChq6zwFXv2Yjt bRIWbhXMQ7mMzbYTaW3RFvt0ZJX5NQWzykJiQe/yCsg/7biHQqlg/63tkR4vnVCOb8Zl OZYyPqN5C8VZFQ8t7Znwb8KRWaC9BOzRzkkHVLg07cABG8i6y8/VbtPLLs7sEuLPk/XU bxNn2731udrIgXC/cV12WR+WZh+wUX+G+cZz+Gn2MAGdP+NiZeKOy2lCgpMfq//A12q7 WWNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=0bEk+rAYd/IZQ0LOlyiaCc0EY4Sy8U7uzizKepj+GR8=; b=H2Ux/CUPBNit4+bIUUx4WSdIDbOdbqxQk2+PV29DnsX+FX4t99qQnkMh8uY8ZFrNX7 vJOvFGbFy3H3D2scSTPW2baznV+YEVMImpFqHoFqp8XGpOxM/PqPEx0rZxaz+mOG8Us+ RpFkRq5B5/orQHJ7868tnRfH5Z0WUO9OYEO8kSF3VQdByIq+VvB7wqqnblQbGljbGpOt 2D848aWsohXZeEP1W60IvbbhP4jdQ7gZEg/OcJ9nxL7uuuYYhg4zFkcEJNvbotBnzKc6 zSrx8bEylD5t14mb/+INc7y4Gvpj+tVA0u1aAwr5CcHiNissGpg3g3R58qKGiwxqa7kj 3SkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RcNPateH; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id l93si7399466plb.433.2019.03.08.07.31.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 07:31:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RcNPateH; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 02FBF211D59DB; Fri, 8 Mar 2019 07:31:32 -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:4864:20::441; helo=mail-wr1-x441.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 F1DA621959CB2 for ; Fri, 8 Mar 2019 07:31:30 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id o17so21825061wrw.3 for ; Fri, 08 Mar 2019 07:31:30 -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:mime-version :content-transfer-encoding; bh=GRXY9yq8D4Ba8DOvjweHhJ6FusVMztrvRUib4X/N76o=; b=RcNPateHvQ7uKNGUsH0jGqSmRDThdBlFSSUJlAbZihNhUyW7VJ9aE7SxzQl0n7nzKM a8a5ev/qK/oaOtQnLHKe1hVT+9sljPt78wci+uxzRTKvbs9ONWpFONHLd8io/fzPPUtP hHf1J47R0y4XO/pTxCn5r9wypZGxUMo0NbOh+WpmknsoIcxchSzuK/coiYKiaeR2EGm2 qOEt2LHKC757pLN5ZvuVSg2ON3anfN7CCraxyP0KuzFOzIJbOqi7tRrdExGyvQA6EzyT TssCKDP5iWjX5i8FhKViX2jfbikcBwgYU8hSC95u4VNRRWnfTrCIiwvU+c5UqgEjJkNK U7vw== 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:mime-version :content-transfer-encoding; bh=GRXY9yq8D4Ba8DOvjweHhJ6FusVMztrvRUib4X/N76o=; b=L1mO+EHeSIgcD1cPhkJPvTiyLR9W07TucOkmDz8EjflKwz2+drE+rR53tNNNuXQred Kntq5RC57ULLV20GrmTgyBJWt0Z0jCqBSywBszB92x5s8wRlLHaVjqdfvUmjCSFZFDzT 0e70rZdySYsWBw9jP8PiAzYjXZGYxAFj1vuR05izNcLz0dlSbAKEojuQypjftC5liZLO 1wcxWmCu6Aw/PtzJFPHbCpIWZjZJBZAeFaDqCilRcuJPGBZu+yVKZAXCgBgNH6vRsgA5 ZEbK2oPUoPBzhPM+rqlnotp8/O5XAgkfSqQc9FcZita2EAA5GS8iu4/plc/4f3XBNKXU ciMQ== X-Gm-Message-State: APjAAAWyQ4Re0mLsp7EC1qt1Tx73TWV3Te52IYMGG4gCTUTkL0QKrWUe cgNsqBmBE9JEUik9j6rIbu7EUoTQYTo= X-Received: by 2002:a5d:4a8a:: with SMTP id o10mr11462938wrq.189.1552059088496; Fri, 08 Mar 2019 07:31:28 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id g15sm723995wrw.78.2019.03.08.07.31.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 07:31:27 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 8 Mar 2019 16:30:09 +0100 Message-Id: <20190308153010.18486-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-platforms 1/2] Platform/ARM/SgiPkg: align with upstream StandaloneMmPkg changes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Bring SgiPkg in line with EDK2 core changes to StandaloneMmPkg: - add a resolution for ExtractGuidedSectionLib - remove reference to gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable - update the resolution of StandaloneMmDriverEntryPoint Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.20.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Thomas Abraham Reviewed-by: Leif Lindholm diff --git a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc index 65dd6ac82c4a..ef16bfa9a20e 100644 --- a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc +++ b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc @@ -43,6 +43,7 @@ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf + ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf @@ -56,7 +57,7 @@ # # Entry point # - StandaloneMmDriverEntryPoint|StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf + StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf @@ -81,9 +82,6 @@ # Pcd Section - list of all EDK II PCD Entries defined by this Platform # ################################################################################ -[PcdsFeatureFlag] - gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|TRUE - [PcdsFixedAtBuild] gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff @@ -93,6 +91,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x7FF70000 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200 + gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x2 + ################################################################################################### # # Components Section - list of the modules and components that will be processed by compilation