From 87f8ccbe19e09b6ece2c72bb70add08d0cc627f7 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 23 Nov 2007 03:05:33 +0000 Subject: Port CirrusLogic5430 from EDK II code base. Add GOP, Component Name 2, Efi driver supported EFI version protocol support. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4322 6f19259b-4bc3-4df7-8a09-765794883524 --- .../CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf (limited to 'OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf') diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf new file mode 100644 index 0000000000..a540feff29 --- /dev/null +++ b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf @@ -0,0 +1,75 @@ +#/** @file +# Component description file for CirrusLogic5430 module +# +# Cirrus Logic 5430 Controller Driver.This driver is a sample implementation +# of the UGA Draw Protocol for the Cirrus Logic 5430 family of PCI video controllers. +# This driver is only usable in the EFI pre-boot environment. This sample is +# intended to show how the UGA Draw Protocol is able to function. The UGA I/O +# Protocol is not implemented in this sample. A fully compliant EFI UGA driver +# requires both the UGA Draw and the UGA I/O Protocol. Please refer to Microsoft's +# documentation on UGA for details on how to write a UGA driver that is able +# to function both in the EFI pre-boot environment and from the OS runtime. +# Copyright (c) 2006 - 2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# +#**/ + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = CirrusLogic5430UgaDraw + FILE_GUID = 555F76EA-785F-40d7-9174-153C43636C68 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = InitializeCirrusLogic5430 + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# +# DRIVER_BINDING = gCirrusLogic5430DriverBinding +# COMPONENT_NAME = gCirrusLogic5430ComponentName +# + +[Sources.common] + ComponentName.c + DriverSupportedEfiVersion.c + CirrusLogic5430UgaDraw.c + CirrusLogic5430GraphicsOutput.c + CirrusLogic5430.c + CirrusLogic5430.h + +[Packages] + MdePkg/MdePkg.dec + OptionRomPkg/OptionRomPkg.dec + +[LibraryClasses] + UefiBootServicesTableLib + MemoryAllocationLib + UefiLib + UefiDriverEntryPoint + DebugLib + + +[Protocols] + gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiUgaDrawProtocolGuid # PROTOCOL BY_START + gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START + gEfiPciIoProtocolGuid # PROTOCOL TO_START + +[FeaturePcd.common] + gOptionRomPkgTokenSpaceGuid.PcdSupportGop + gOptionRomPkgTokenSpaceGuid.PcdSupportUga + +[Pcd] + gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion -- cgit v1.2.3