ArmPkg: Moved PcdArmLinuxAtagMaxOffset to be ARM specific

ATAG is specific to 32bit ARM architecture.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14435 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec
index 81c4db6..e664f86 100644
--- a/ArmPkg/ArmPkg.dec
+++ b/ArmPkg/ArmPkg.dec
@@ -163,8 +163,6 @@
   gArmTokenSpaceGuid.PcdArmMachineType|0|UINT32|0x0000001E

   # The compressed Linux kernel is expected to be under 128MB from the beginning of the System Memory

   gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x08000000|UINT32|0x0000001F

-  # The Linux ATAGs are expected to be under 0x4000 (16KB) from the beginning of the System Memory

-  gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset|0x4000|UINT32|0x00000020

 

   #

   # ARM Architectural Timer

@@ -177,6 +175,10 @@
 [PcdsFixedAtBuild.ARM]

   # By default we do not do a transition to non-secure mode

   gArmTokenSpaceGuid.PcdArmNonSecModeTransition|0x0|UINT32|0x0000003E

+

+  # The Linux ATAGs are expected to be under 0x4000 (16KB) from the beginning of the System Memory

+  gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset|0x4000|UINT32|0x00000020

+

   # If the fixed FDT address is not available, then it should be loaded below the kernel.

   # The recommendation from the Linux kernel is to have the FDT below 16KB.

   # (see the kernel doc: Documentation/arm/Booting)