diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2021-09-18 00:36:38 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2021-09-18 00:36:38 +0530 |
commit | 1daf0633e14a2267b0ffb7d99a0c1e65f7d5b198 (patch) | |
tree | b02dbda3dce08ce8062dccf75df2170e5c40c001 | |
parent | 8d66d97096101f889e68056028fa8f94286c4a25 (diff) |
Revert "QcomModulePkg: BootLib: skip dtbo image loading"for-rb3
This reverts commit 4c88555ac266663f2243529a1481ed8a15fe139d.
-rw-r--r-- | QcomModulePkg/Library/BootLib/BootLinux.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/QcomModulePkg/Library/BootLib/BootLinux.c b/QcomModulePkg/Library/BootLib/BootLinux.c index cf28a1d402..cdcaac8bae 100644 --- a/QcomModulePkg/Library/BootLib/BootLinux.c +++ b/QcomModulePkg/Library/BootLib/BootLinux.c @@ -498,26 +498,7 @@ DTBImgCheckAndAppendDT (BootInfo *Info, BootParamlist *BootParamlistPtr) SingleDtHdr, fdt_totalsize (SingleDtHdr)); } else { DEBUG ((EFI_D_ERROR, "Error: Device Tree blob not found\n")); - - /* Get the Soc specific dtb in case of boot image header v2 - * with dtb.img at an offset and missing DTBO partition */ - SocDtb = GetSocDtb (ImageBuffer, - DtbSize, - BootParamlistPtr->DtbOffset, - (VOID *)BootParamlistPtr->DeviceTreeLoadAddr); - if (!SocDtb) { - DEBUG ((EFI_D_ERROR, - "Error: Appended Soc Device Tree blob not found\n")); - return EFI_NOT_FOUND; - } - - Status = ApplyOverlay (BootParamlistPtr, - SocDtb, - DtsList); - if (Status != EFI_SUCCESS) { - DEBUG ((EFI_D_ERROR, "Error: Dtb overlay failed\n")); - return Status; - } + return EFI_NOT_FOUND; } } } else { |