]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/BdsLib/BdsLinuxFdt.c
ArmPkg/BdsLib: Fixed the alignment of the relocated Device Tree
authorOlivier Martin <olivier.martin@arm.com>
Thu, 28 Nov 2013 21:40:48 +0000 (21:40 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Nov 2013 21:40:48 +0000 (21:40 +0000)
commitff58c9147b16a1a6146247b1365f03a5d1ece91b
treea328166f541584b36c49f0a9f3fed75e31cc8098
parent34b292fa9e7327a289815d9807e6e8e04370b345
ArmPkg/BdsLib: Fixed the alignment of the relocated Device Tree

When the Device Tree was loaded above the 32bit address space the operation:
*RelocatedFdt = ALIGN ((UINT64)*RelocatedFdt, (UINT32)FdtAlignment);
was returning an incorrect address.

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@14915 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/BdsLinuxFdt.c