diff mbox series

[edk2,v2,03/11] StandaloneMmPkg/StandaloneMmCoreHobLib: restrict to MM_CORE_STANDALONE

Message ID 20190116202236.6977-4-ard.biesheuvel@linaro.org
State Accepted
Commit 2cc186178bfd1e1aacb83b8af29fbf427350a80b
Headers show
Series StandaloneMmPkg: assorted fixes and improvements | expand

Commit Message

Ard Biesheuvel Jan. 16, 2019, 8:22 p.m. UTC
Remove MM_STANDALONE from the list of permitted modules for this library.
It should only be used by the standalone MM core.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Yao, Jiewen Jan. 18, 2019, 3:24 p.m. UTC | #1
Reviewed-by: jiewen.yao@intel.com


> -----Original Message-----

> From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org]

> Sent: Wednesday, January 16, 2019 12:22 PM

> To: edk2-devel@lists.01.org

> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>; Achin Gupta

> <achin.gupta@arm.com>; Yao, Jiewen <jiewen.yao@intel.com>; Supreeth

> Venkatesh <supreeth.venkatesh@arm.com>; Leif Lindholm

> <leif.lindholm@linaro.org>; Jagadeesh Ujja <jagadeesh.ujja@arm.com>;

> Thomas Panakamattam Abraham <thomas.abraham@arm.com>; Sami

> Mujawar <Sami.Mujawar@arm.com>

> Subject: [PATCH v2 03/11] StandaloneMmPkg/StandaloneMmCoreHobLib:

> restrict to MM_CORE_STANDALONE

> 

> Remove MM_STANDALONE from the list of permitted modules for this

> library.

> It should only be used by the standalone MM core.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

> 

> StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCore

> HobLib.inf | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git

> a/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCor

> eHobLib.inf

> b/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCor

> eHobLib.inf

> index db19d3c926e8..ac036e31cf5e 100644

> ---

> a/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCor

> eHobLib.inf

> +++

> b/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCor

> eHobLib.inf

> @@ -24,7 +24,7 @@ [Defines]

>    MODULE_TYPE                    = MM_CORE_STANDALONE

>    VERSION_STRING                 = 1.0

>    PI_SPECIFICATION_VERSION       = 0x00010032

> -  LIBRARY_CLASS                  =

> HobLib|MM_CORE_STANDALONE MM_STANDALONE

> +  LIBRARY_CLASS                  =

> HobLib|MM_CORE_STANDALONE

> 

>  #

>  #  VALID_ARCHITECTURES           = AARCH64

> --

> 2.17.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf b/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
index db19d3c926e8..ac036e31cf5e 100644
--- a/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
+++ b/StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
@@ -24,7 +24,7 @@  [Defines]
   MODULE_TYPE                    = MM_CORE_STANDALONE
   VERSION_STRING                 = 1.0
   PI_SPECIFICATION_VERSION       = 0x00010032
-  LIBRARY_CLASS                  = HobLib|MM_CORE_STANDALONE MM_STANDALONE
+  LIBRARY_CLASS                  = HobLib|MM_CORE_STANDALONE
 
 #
 #  VALID_ARCHITECTURES           = AARCH64