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>
if (EFI_ERROR (Status)) {\r
goto Fdt_Exit;\r
}\r
-\r
- Status = gBS->InstallConfigurationTable (\r
- &gFdtTableGuid,\r
- (VOID *)(UINTN)NewFdtBase\r
- );\r
+ } else {\r
+ NewFdtBase = UpdatedFdtBase;\r
}\r
+ Status = gBS->InstallConfigurationTable (\r
+ &gFdtTableGuid,\r
+ (VOID *)(UINTN)NewFdtBase\r
+ );\r
\r
if (!EFI_ERROR (Status)) {\r
return EFI_SUCCESS;\r