From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::442; helo=mail-wr1-x442.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (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 5A87C2194EB70 for ; Tue, 5 Mar 2019 05:33:00 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id l5so9465394wrw.6 for ; Tue, 05 Mar 2019 05:33:00 -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 :mime-version:content-transfer-encoding; bh=fBTPKjFBnThj3wqCC4pkNHEAK/9TzFnuRMlvF9maxoc=; b=GSgcDOrdIboM5lHuDXDSutF6UcDhqORjbXlnX1ApvCxt0XEjwqbvj9ymF5FsbBPUaL SDBj9poT2dFmLtsgUc5q6mnik0EHzJq0kI1MchuvlrBCDXL6VOmlIM2s0i4FzfvcJRuk JRYpNo5lTRK9GcgQQa1wE8T8gZmp/G5xHv+fTUdYsl5RKfLcqk1NPC2g0zyolqgmcqNC RWDsvnYNxd32VGk38AtzYqhfZulNyPDf/L2HgjNgJdWz2CZD7TErlt6H6H/3i/GAaWrL 71qodh21jSkOyDy3FrWuI937OfVVAQQvvMSDOTiZR9XpHE2IdnTFKUgxeDTpH+yW+CIu udng== 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:mime-version:content-transfer-encoding; bh=fBTPKjFBnThj3wqCC4pkNHEAK/9TzFnuRMlvF9maxoc=; b=nTDv3/3ZKY5kqITtRGbQXykKuXO6+mqQnhEWpzvHIGHSjU3yqRF6g2F3h9U4oAdVmi Oxg3tQGODMncbrtRYJtHr++kjK7eapVo4X0JP9D1YhKDj/srFXYFZro9y8XMdKpTImrR 5e1DiZm94q3I5Y0FvglXJqWy0fThoZxASsA7hcpEpUEs6CqLpkMUxZI0NMyIxQNFqpCT HYoOisFfft+BjNcczRqfHRs1l2PQY4EoX/e++1/4nKqR9CAOlWdMPZ6mBFStT3sGtc02 rITcTph48Pn3UjAKD5fLVG9B0gEY200njUOMWuO/SGmBmkk3HrXJA4n3iewrDeCbx1LM Tv8Q== X-Gm-Message-State: APjAAAUdsl5CbvlN1/mN/YHSfyUEyBbxZSJFuvZWJNrzA9yPYGlg7Zg9 mV341PrS6C8fMU4bOMLBZ9+V1jT7Q3U= X-Google-Smtp-Source: APXvYqy5rfBR3WQmgtJU0KNONgtFJNMEbSnCnr382LMqylhD0juU8fRunGL8wg0yf22Nan4D24k+DQ== X-Received: by 2002:adf:ba84:: with SMTP id p4mr16569026wrg.156.1551792778336; Tue, 05 Mar 2019 05:32:58 -0800 (PST) Received: from localhost.localdomain (aputeaux-684-1-18-114.w90-86.abo.wanadoo.fr. [90.86.221.114]) by smtp.gmail.com with ESMTPSA id i4sm8370097wrw.19.2019.03.05.05.32.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 05:32:57 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Achin Gupta , Supreeth Venkatesh , Jiewen Yao , Leif Lindholm , Jagadeesh Ujja Date: Tue, 5 Mar 2019 14:32:40 +0100 Message-Id: <20190305133248.4828-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190305133248.4828-1-ard.biesheuvel@linaro.org> References: <20190305133248.4828-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH 02/10] StandaloneMmPkg: drop unused PCD PcdStandaloneMmEnable 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: , X-List-Received-Date: Tue, 05 Mar 2019 13:33:00 -0000 Content-Transfer-Encoding: 8bit The PCD PcdStandaloneMmEnable is unused, and shouldn't exist in the first place since the value is implied by the context (it is never valid to set it to FALSE for standalone MM or TRUE for traditional MM). So drop it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- StandaloneMmPkg/StandaloneMmPkg.dec | 3 --- StandaloneMmPkg/StandaloneMmPkg.dsc | 3 --- StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf | 3 --- 3 files changed, 9 deletions(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dec b/StandaloneMmPkg/StandaloneMmPkg.dec index 0b5fbf9e1767..2d178c5e20a6 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dec +++ b/StandaloneMmPkg/StandaloneMmPkg.dec @@ -39,6 +39,3 @@ [Guids] gEfiStandaloneMmNonSecureBufferGuid = { 0xf00497e3, 0xbfa2, 0x41a1, { 0x9d, 0x29, 0x54, 0xc2, 0xe9, 0x37, 0x21, 0xc5 }} gEfiArmTfCpuDriverEpDescriptorGuid = { 0x6ecbd5a1, 0xc0f8, 0x4702, { 0x83, 0x01, 0x4f, 0xc2, 0xc5, 0x47, 0x0a, 0x51 }} -[PcdsFeatureFlag] - gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|FALSE|BOOLEAN|0x00000001 - diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc index e8d71ad56f52..f279d9e7e5c7 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -78,9 +78,6 @@ [LibraryClasses.AARCH64] # Pcd Section - list of all EDK II PCD Entries defined by this Platform # ################################################################################ -[PcdsFeatureFlag] - gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|TRUE - [PcdsFixedAtBuild] gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff diff --git a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf index eef3d7c6e253..181c15b9345a 100644 --- a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf +++ b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf @@ -37,9 +37,6 @@ [Packages] MdePkg/MdePkg.dec StandaloneMmPkg/StandaloneMmPkg.dec -[FeaturePcd] - gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable - [LibraryClasses] StandaloneMmMmuLib PcdLib -- 2.20.1