]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Moved PcdArmLinuxAtagMaxOffset to be ARM specific
authorOlivier Martin <olivier.martin@arm.com>
Wed, 19 Jun 2013 18:27:05 +0000 (18:27 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Jun 2013 18:27:05 +0000 (18:27 +0000)
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

ArmPkg/ArmPkg.dec
ArmPkg/Library/BdsLib/BdsLib.inf

index 81c4db6a6f109236ca388ca8679dd7ba1becbe53..e664f8626a4ca96461b6801f15176821cefe5204 100644 (file)
   gArmTokenSpaceGuid.PcdArmMachineType|0|UINT32|0x0000001E\r
   # The compressed Linux kernel is expected to be under 128MB from the beginning of the System Memory\r
   gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x08000000|UINT32|0x0000001F\r
-  # The Linux ATAGs are expected to be under 0x4000 (16KB) from the beginning of the System Memory\r
-  gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset|0x4000|UINT32|0x00000020\r
 \r
   #\r
   # ARM Architectural Timer\r
 [PcdsFixedAtBuild.ARM]\r
   # By default we do not do a transition to non-secure mode\r
   gArmTokenSpaceGuid.PcdArmNonSecModeTransition|0x0|UINT32|0x0000003E\r
+\r
+  # The Linux ATAGs are expected to be under 0x4000 (16KB) from the beginning of the System Memory\r
+  gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset|0x4000|UINT32|0x00000020\r
+\r
   # If the fixed FDT address is not available, then it should be loaded below the kernel.\r
   # The recommendation from the Linux kernel is to have the FDT below 16KB.\r
   # (see the kernel doc: Documentation/arm/Booting)\r
index b6712a4fe2802617504437d75fe12f5ca813360f..6b0426c0ad8c701df5ee90450ccf86220c9c55d7 100644 (file)
@@ -78,7 +78,9 @@
   gArmTokenSpaceGuid.PcdArmLinuxFdtMaxOffset\r
   gArmTokenSpaceGuid.PcdArmLinuxFdtAlignment\r
   gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset\r
+\r
+[FixedPcd.ARM]\r
   gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset\r
-  \r
+\r
 [Depex]\r
   TRUE\r