diff mbox series

[edk2,v3,13/16] ArmPlatformPkg/PlatformPei: drop unused PCD references

Message ID 20181128143357.991-14-ard.biesheuvel@linaro.org
State Accepted
Commit 8b767aae652a021ea3ed3cad51fe6455abb499a5
Headers show
Series Pkg: lift 40-bit IPA space limit | expand

Commit Message

Ard Biesheuvel Nov. 28, 2018, 2:33 p.m. UTC
Drop some PCD references that are not actually referenced from the
PlatformPei code.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | 3 ---
 ArmPlatformPkg/PlatformPei/PlatformPeim.inf   | 3 ---
 2 files changed, 6 deletions(-)

-- 
2.19.1

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

Comments

Laszlo Ersek Nov. 28, 2018, 7:54 p.m. UTC | #1
On 11/28/18 15:33, Ard Biesheuvel wrote:
> Drop some PCD references that are not actually referenced from the

> PlatformPei code.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

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

> ---

>  ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | 3 ---

>  ArmPlatformPkg/PlatformPei/PlatformPeim.inf   | 3 ---

>  2 files changed, 6 deletions(-)

> 

> diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> index 314789d0a990..23bb3f37e766 100644

> --- a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> +++ b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> @@ -46,8 +46,5 @@ [FixedPcd]

>    gArmTokenSpaceGuid.PcdFvBaseAddress

>    gArmTokenSpaceGuid.PcdFvSize

>  

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize

> -

>  [depex]

>    TRUE

> diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> index 423b9ab858d1..4934baa838e1 100644

> --- a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> +++ b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> @@ -57,9 +57,6 @@ [FixedPcd]

>    gArmTokenSpaceGuid.PcdFvBaseAddress

>    gArmTokenSpaceGuid.PcdFvSize

>  

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize

> -

>  [Depex]

>    TRUE

>  

> 


Reviewed-by: Laszlo Ersek <lersek@redhat.com>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Nov. 29, 2018, 3:45 p.m. UTC | #2
On Wed, Nov 28, 2018 at 03:33:54PM +0100, Ard Biesheuvel wrote:
> Drop some PCD references that are not actually referenced from the

> PlatformPei code.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

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


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | 3 ---

>  ArmPlatformPkg/PlatformPei/PlatformPeim.inf   | 3 ---

>  2 files changed, 6 deletions(-)

> 

> diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> index 314789d0a990..23bb3f37e766 100644

> --- a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> +++ b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf

> @@ -46,8 +46,5 @@ [FixedPcd]

>    gArmTokenSpaceGuid.PcdFvBaseAddress

>    gArmTokenSpaceGuid.PcdFvSize

>  

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize

> -

>  [depex]

>    TRUE

> diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> index 423b9ab858d1..4934baa838e1 100644

> --- a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> +++ b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf

> @@ -57,9 +57,6 @@ [FixedPcd]

>    gArmTokenSpaceGuid.PcdFvBaseAddress

>    gArmTokenSpaceGuid.PcdFvSize

>  

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize

> -  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize

> -

>  [Depex]

>    TRUE

>  

> -- 

> 2.19.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/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
index 314789d0a990..23bb3f37e766 100644
--- a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
+++ b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
@@ -46,8 +46,5 @@  [FixedPcd]
   gArmTokenSpaceGuid.PcdFvBaseAddress
   gArmTokenSpaceGuid.PcdFvSize
 
-  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
-  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
-
 [depex]
   TRUE
diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf
index 423b9ab858d1..4934baa838e1 100644
--- a/ArmPlatformPkg/PlatformPei/PlatformPeim.inf
+++ b/ArmPlatformPkg/PlatformPei/PlatformPeim.inf
@@ -57,9 +57,6 @@  [FixedPcd]
   gArmTokenSpaceGuid.PcdFvBaseAddress
   gArmTokenSpaceGuid.PcdFvSize
 
-  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
-  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
-
 [Depex]
   TRUE