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
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
}\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