On Tue, Sep 01, 2015 at 11:58:22AM +0200, Ard Biesheuvel wrote:
> Add a call to EnableQuietBoot () to BdsPlatformPolicyBehavior(),
> so that a splash screen is shown in case one is present under the
> correct GUID in the FV, and we have graphics support.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Ard Biesheuvel <[email protected]>
> ---
>  ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c      | 5 +++++
>  ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 +
>  2 files changed, 6 insertions(+)
> 
> diff --git a/ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c 
> b/ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
> index 9ba95d989666..98d5b277a636 100644
> --- a/ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
> +++ b/ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
> @@ -311,6 +311,11 @@ PlatformBdsPolicyBehavior (
>  
>    Status = PlatformBdsConnectConsole ();
>    ASSERT_EFI_ERROR (Status);
> +
> +  //
> +  // Show the splash screen.
> +  //
> +  EnableQuietBoot (PcdGetPtr (PcdLogoFile));
>  }
>  
>  /**
> diff --git 
> a/ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf 
> b/ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
> index d47298d01a81..a18c5ea71f70 100644
> --- a/ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
> +++ b/ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
> @@ -58,6 +58,7 @@ [Pcd]
>    gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths
>    gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths
>    gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
> +  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile
>  
>  [Protocols]
>    gEfiDevicePathFromTextProtocolGuid
> -- 
> 1.9.1

Sweet - I get the Tianocore logo on my FVP CLCD :)

Reviewed-by: Leif Lindholm <[email protected]>
Tested-by: Leif Lindholm <[email protected]>
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to