]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Do not draw anything during DrawLogo.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 Jun 2009 15:57:31 +0000 (15:57 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 Jun 2009 15:57:31 +0000 (15:57 +0000)
Previously a series of diagonal color lines would be drawn to the
screen, and then quickly replaced by the boot logo.  Now the
screen will remain black until the boot logo is shown.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8689 6f19259b-4bc3-4df7-8a09-765794883524

OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c

index 2f0eb5a813918d57505e6a971548cb942039c103..a2488472739b9258274238dbcc7c65914a0e5619 100644 (file)
@@ -751,27 +751,6 @@ DrawLogo (
   UINTN                           ScreenHeight\r
   )\r
 {\r
-  UINTN Offset;\r
-  UINTN X;\r
-  UINTN Y;\r
-  UINT8 Color;\r
-\r
-  Offset        = 0;\r
-  for (Y = 0; Y < ScreenHeight; Y++) {\r
-    for (X = 0; X < ScreenWidth; X++) {\r
-      Color                   = (UINT8) (256 * (X + Y) / (ScreenWidth + ScreenHeight));\r
-      Private->LineBuffer[X]  = Color;\r
-    }\r
-\r
-    Private->PciIo->Mem.Write (\r
-                          Private->PciIo,\r
-                          EfiPciIoWidthUint32,\r
-                          0,\r
-                          Offset + (Y * ScreenWidth),\r
-                          ScreenWidth >> 2,\r
-                          Private->LineBuffer\r
-                          );\r
-  }\r
 }\r
 \r
 /**\r