summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2020-11-11 20:07:22 +0530
committerAmit Pundir <amit.pundir@linaro.org>2021-06-24 14:03:39 +0530
commitf25bab7702167578f769846af8c1c5747fdd9894 (patch)
tree7c4fcc5b91ba34bae47d950587aeee778ed9c4e3
parent9e86accf6b3b60e2b5a57e891ceee5ee2164da71 (diff)
QcomModulePkg: BootLib: DtbSize is renamed as ImageSize
DtbSize is renamed as ImageSize in recent BootImagev3 patches. Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--QcomModulePkg/Library/BootLib/BootLinux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/QcomModulePkg/Library/BootLib/BootLinux.c b/QcomModulePkg/Library/BootLib/BootLinux.c
index 5bd68f6ab7..0a1e157b6d 100644
--- a/QcomModulePkg/Library/BootLib/BootLinux.c
+++ b/QcomModulePkg/Library/BootLib/BootLinux.c
@@ -500,14 +500,14 @@ DTBImgCheckAndAppendDT (BootInfo *Info, BootParamlist *BootParamlistPtr)
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 */
+ * or greater and missing DTBO partition */
SocDtb = GetSocDtb (ImageBuffer,
- DtbSize,
+ ImageSize,
BootParamlistPtr->DtbOffset,
(VOID *)BootParamlistPtr->DeviceTreeLoadAddr);
if (!SocDtb) {
DEBUG ((EFI_D_ERROR,
- "Error: Appended Soc Device Tree blob not found\n"));
+ "Error: Soc Device Tree blob not found\n"));
return EFI_NOT_FOUND;
}