summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/BdsLib/AArch64
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-02-12 15:13:44 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-02-12 15:13:44 +0000
commit226d5572ad829bbe6f8a66ee2a5aad7887244e09 (patch)
treefc117f72366d8ebc4057e7a2dd89259a6ccb254a /ArmPkg/Library/BdsLib/AArch64
parentabc0e1072dde87bd1782673a4c6a17cacf26dab5 (diff)
downloadedk2-platforms-226d5572ad829bbe6f8a66ee2a5aad7887244e09.tar.xz
ArmPkg/BdsLib: Removed unused MachineType argument (AArch64)
MachineType was used on 32-bit. 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@15239 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/BdsLib/AArch64')
-rw-r--r--ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c
index 19177c8e4e..3e72baefd9 100644
--- a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c
+++ b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c
@@ -87,8 +87,7 @@ StartLinux (
IN EFI_PHYSICAL_ADDRESS LinuxImage,
IN UINTN LinuxImageSize,
IN EFI_PHYSICAL_ADDRESS FdtBlobBase,
- IN UINTN FdtBlobSize,
- IN UINT32 MachineType
+ IN UINTN FdtBlobSize
)
{
EFI_STATUS Status;
@@ -196,7 +195,6 @@ BdsBootLinuxFdt (
UINTN InitrdImageBaseSize;
UINTN FdtBlobSize;
EFI_PHYSICAL_ADDRESS FdtBlobBase;
- UINT32 FdtMachineType;
EFI_PHYSICAL_ADDRESS LinuxImage;
EFI_PHYSICAL_ADDRESS InitrdImage;
EFI_PHYSICAL_ADDRESS InitrdImageBase;
@@ -209,7 +207,6 @@ BdsBootLinuxFdt (
PenBaseStatus = EFI_UNSUPPORTED;
PenSize = 0;
- FdtMachineType = 0xFFFFFFFF;
InitrdImage = 0;
InitrdImageSize = 0;
InitrdImageBase = 0;
@@ -331,7 +328,7 @@ BdsBootLinuxFdt (
goto EXIT_FREE_FDT;
}
- return StartLinux (LinuxImage, LinuxImageSize, FdtBlobBase, FdtBlobSize, FdtMachineType);
+ return StartLinux (LinuxImage, LinuxImageSize, FdtBlobBase, FdtBlobSize);
EXIT_FREE_FDT:
if (!EFI_ERROR (PenBaseStatus)) {