From 5ec80d0f198be3d73642b32895b90c081dcc52b1 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Wed, 11 Nov 2020 20:07:22 +0530 Subject: QcomModulePkg: BootLib: DtbSize is renamed as ImageSize DtbSize is renamed as ImageSize in recent BootImagev3 patches. Signed-off-by: Amit Pundir --- QcomModulePkg/Library/BootLib/BootLinux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QcomModulePkg/Library/BootLib/BootLinux.c b/QcomModulePkg/Library/BootLib/BootLinux.c index cf28a1d402..4b8431c4af 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; } -- cgit v1.2.3