1. add DxeI2c Library in OptionRomPkg.

2. produce EFI_EDID_DISCOVERED_PROTOCOL and EFI_EDID_ACTIVE_PROTOCOL in CirrusLogic5430 module.
3. consume EFI_OVERRIDE_PROTOCOL in CirrusLogic5430 module.
4. setup video mode according to EDID information in CirrusLogic5430 module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4479 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2008-01-03 06:44:03 +00:00
parent b7bef2a9fb
commit 31f9e63117
11 changed files with 1256 additions and 92 deletions

View File

@@ -37,8 +37,8 @@
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
# DRIVER_BINDING = gCirrusLogic5430DriverBinding
# COMPONENT_NAME = gCirrusLogic5430ComponentName
# DRIVER_BINDING = gCirrusLogic5430DriverBinding
# COMPONENT_NAME = gCirrusLogic5430ComponentName
#
[Sources.common]
@@ -48,6 +48,7 @@
CirrusLogic5430GraphicsOutput.c
CirrusLogic5430.c
CirrusLogic5430.h
Edid.c
[Packages]
MdePkg/MdePkg.dec
@@ -59,14 +60,21 @@
UefiLib
UefiDriverEntryPoint
DebugLib
BaseMemoryLib
DevicePathLib
DxeI2cLib
[Protocols]
gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED
gEfiUgaDrawProtocolGuid # PROTOCOL BY_START
gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START
gEfiEdidDiscoveredProtocolGuid # PROTOCOL BY_START
gEfiEdidActiveProtocolGuid # PROTOCOL BY_START
gEfiDevicePathProtocolGuid # PROTOCOL BY_START
gEfiPciIoProtocolGuid # PROTOCOL TO_START
gEfiEdidOverrideProtocolGuid # PROTOCOL TO_START
[FeaturePcd.common]
gOptionRomPkgTokenSpaceGuid.PcdSupportGop
gOptionRomPkgTokenSpaceGuid.PcdSupportUga