summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-30 15:57:31 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-30 15:57:31 +0000
commit8c5c1f32a53a25292df49f673bc61586809ae21f (patch)
treebbca3ff860aed3257e589c77baa58fb02b2921e9
parent86fef5b4d705ead0177b4079befe65233b855325 (diff)
downloadedk2-8c5c1f32a53a25292df49f673bc61586809ae21f.tar.gz
edk2-8c5c1f32a53a25292df49f673bc61586809ae21f.tar.bz2
edk2-8c5c1f32a53a25292df49f673bc61586809ae21f.zip
Do not draw anything during DrawLogo.
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
-rw-r--r--OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
index 2f0eb5a813..a248847273 100644
--- a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
+++ b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
@@ -751,27 +751,6 @@ DrawLogo (
UINTN ScreenHeight
)
{
- UINTN Offset;
- UINTN X;
- UINTN Y;
- UINT8 Color;
-
- Offset = 0;
- for (Y = 0; Y < ScreenHeight; Y++) {
- for (X = 0; X < ScreenWidth; X++) {
- Color = (UINT8) (256 * (X + Y) / (ScreenWidth + ScreenHeight));
- Private->LineBuffer[X] = Color;
- }
-
- Private->PciIo->Mem.Write (
- Private->PciIo,
- EfiPciIoWidthUint32,
- 0,
- Offset + (Y * ScreenWidth),
- ScreenWidth >> 2,
- Private->LineBuffer
- );
- }
}
/**