]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Application/LinuxLoader/LinuxFdtLoader.c
ArmPlatformPkg/Bds: Remove any use of the "Fdt" UEFI variable
[mirror_edk2.git] / ArmPkg / Application / LinuxLoader / LinuxFdtLoader.c
index 07d0ea7b4120e735d61fb47b47c862dba77d9576..8e5d1c6aa0f87743ff8a5d9f84c73b80f5f346b4 100644 (file)
@@ -39,7 +39,6 @@ UefiMain (
   EFI_LOADED_IMAGE_PROTOCOL   *LoadedImage;\r
   LINUX_LOADER_OPTIONAL_DATA*  LinuxOptionalData;\r
   EFI_DEVICE_PATH*             DevicePathKernel;\r
-  EFI_DEVICE_PATH*             DevicePathFdt;\r
   EFI_DEVICE_PATH*             InitrdDevicePath;\r
   CHAR16*                      OptionalDataInitrd;\r
   CHAR8*                       OptionalDataArguments;\r
@@ -57,9 +56,8 @@ UefiMain (
       return EFI_UNSUPPORTED;\r
     }\r
 \r
-    // Generate the File Path Node for the Linux Kernel & Device Tree blob\r
+    // Generate the File Path Node for the Linux Kernel\r
     DevicePathKernel = FileDevicePath (LoadedImage->DeviceHandle, LINUX_KERNEL_NAME);\r
-    DevicePathFdt    = FileDevicePath (LoadedImage->DeviceHandle, FDT_NAME);\r
 \r
     if (LinuxOptionalData->CmdLineLength > 0) {\r
       OptionalDataArguments = (CHAR8*)LinuxOptionalData + sizeof(LINUX_LOADER_OPTIONAL_DATA);\r
@@ -89,7 +87,7 @@ UefiMain (
     }\r
 \r
     // Load and Start the Linux Kernel (we should never return)\r
-    Status = BdsBootLinuxFdt (DevicePathKernel, InitrdDevicePath, OptionalDataArguments, DevicePathFdt);\r
+    Status = BdsBootLinuxFdt (DevicePathKernel, InitrdDevicePath, OptionalDataArguments);\r
 \r
     if ((UINTN)OptionalDataInitrd & 0x1) {\r
       FreePool (Initrd);\r