EmbeddedPkg: Install FDT if UpdateDtb is not present
Currently if mAndroidBootImg->UpdateDtb is not supported on the platform the device tree updates of the initrd are not made. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
committed by
mergify[bot]
parent
f2a7e24e38
commit
c0cd26f43c
@ -349,12 +349,13 @@ AndroidBootImgUpdateFdt (
|
|||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
goto Fdt_Exit;
|
goto Fdt_Exit;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
Status = gBS->InstallConfigurationTable (
|
NewFdtBase = UpdatedFdtBase;
|
||||||
&gFdtTableGuid,
|
|
||||||
(VOID *)(UINTN)NewFdtBase
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
Status = gBS->InstallConfigurationTable (
|
||||||
|
&gFdtTableGuid,
|
||||||
|
(VOID *)(UINTN)NewFdtBase
|
||||||
|
);
|
||||||
|
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user