Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit cfcb723

Browse files
lijuanggamartinz
authored andcommitted
QcomModulePkg: Correct the SingleDtHdr address
Remove the additional page from the calculation of SingleDtHdr because of the BootParamlistPtr->DtbOffset already have calculated this page in DTBImgCheckAndAppendDT. Change-Id: If986d3dfc4cfffba3ea64b179fcf3510c35c5e8d
1 parent 967ad2c commit cfcb723

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

QcomModulePkg/Library/BootLib/BootLinux.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ DTBImgCheckAndAppendDT (BootInfo *Info, BootParamlist *BootParamlistPtr)
471471
return EFI_BAD_BUFFER_SIZE;
472472
}
473473
SingleDtHdr = (BootParamlistPtr->ImageBuffer +
474-
BootParamlistPtr->PageSize +
475474
BootParamlistPtr->DtbOffset);
476475

477476
if (!fdt_check_header (SingleDtHdr)) {

0 commit comments

Comments
 (0)