]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/PlatformIntelBdsLib: add splash screen support
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 1 Sep 2015 17:29:06 +0000 (17:29 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 1 Sep 2015 17:29:06 +0000 (17:29 +0000)
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18377 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf

index 9ba95d9896664a4edbfc6108d04ca910d8892db2..98d5b277a63600413d03272f553e175713ccde0c 100644 (file)
@@ -311,6 +311,11 @@ PlatformBdsPolicyBehavior (
 \r
   Status = PlatformBdsConnectConsole ();\r
   ASSERT_EFI_ERROR (Status);\r
+\r
+  //\r
+  // Show the splash screen.\r
+  //\r
+  EnableQuietBoot (PcdGetPtr (PcdLogoFile));\r
 }\r
 \r
 /**\r
index d47298d01a81493f3a4b81082d3fe7624f3b6708..a18c5ea71f70c96be705dc4885885c036e493237 100644 (file)
@@ -58,6 +58,7 @@
   gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths\r
   gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths\r
   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile\r
 \r
 [Protocols]\r
   gEfiDevicePathFromTextProtocolGuid\r