Address an incorrect function prototype (using ; instead of ,)
in AndroidBootImg.h.
Also restructure code slightly to avoid a "may be used uninitialized"
warning.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
typedef\r
EFI_STATUS\r
(EFIAPI *ANDROID_BOOTIMG_UPDATE_DTB) (\r
typedef\r
EFI_STATUS\r
(EFIAPI *ANDROID_BOOTIMG_UPDATE_DTB) (\r
- IN EFI_PHYSICAL_ADDRESS OrigDtbBase;\r
- OUT EFI_PHYSICAL_ADDRESS *NewDtbBase;\r
+ IN EFI_PHYSICAL_ADDRESS OrigDtbBase,\r
+ OUT EFI_PHYSICAL_ADDRESS *NewDtbBase\r
);\r
\r
struct _ANDROID_BOOTIMG_PROTOCOL {\r
);\r
\r
struct _ANDROID_BOOTIMG_PROTOCOL {\r
if (EFI_ERROR (Status)) {\r
goto Fdt_Exit;\r
}\r
if (EFI_ERROR (Status)) {\r
goto Fdt_Exit;\r
}\r
+\r
+ Status = gBS->InstallConfigurationTable (\r
+ &gFdtTableGuid,\r
+ (VOID *)(UINTN)NewFdtBase\r
+ );\r
- Status = gBS->InstallConfigurationTable (\r
- &gFdtTableGuid,\r
- (VOID *)(UINTN)NewFdtBase\r
- );\r
if (!EFI_ERROR (Status)) {\r
return EFI_SUCCESS;\r
}\r
if (!EFI_ERROR (Status)) {\r
return EFI_SUCCESS;\r
}\r