From 8c5c1f32a53a25292df49f673bc61586809ae21f Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 30 Jun 2009 15:57:31 +0000 Subject: [PATCH] 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 --- .../CirrusLogic5430Dxe/CirrusLogic5430.c | 21 ------------------- 1 file changed, 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 - ); - } } /** -- 2.39.2