]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c
ArmPkg/BdsLib: Fix uInitrd detection
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 14 Apr 2013 09:34:48 +0000 (09:34 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 14 Apr 2013 09:34:48 +0000 (09:34 +0000)
commit467b76b5c6c371b9a0989a17ca00de48fdc0b38a
tree92ff25157a1747b4e38d765a54ec0a3d85bc7546
parent3809e6e071ff3cfee9553c5153d14603ccd8e8a5
ArmPkg/BdsLib: Fix uInitrd detection

This patch corrects a problem detecting uInitrd signature when booting
with FDT.

BdsBootLinuxFdt was attempting to read the signature from InitrdImage which
is zero at this point in the code.  The code now reads the signature from
InitrdImageBase.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14272 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c