Commit Graph

25 Commits

Author SHA1 Message Date
eric_tian 5781db0852 if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
Also remove those self-defined "bit(a)" macro, it had been defined as BITx in Base.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8994 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:15:06 +00:00
jljusten b9c6eef15b Add default parameters for EfiRom for Cirrus Logic 5430.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8943 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-14 23:32:37 +00:00
jljusten 110d3a9ac5 Use PixelFormat PixelBitMask in CirrusLogic5430Dxe driver.
Modify CirrusLogic5430Dxe to return mode info with PixelFormat
set to PixelBitMask.  This enables the Linux framebuffer code to
function with the UEFI GOP framebuffer.  Previously the code
would return PixelBltOnly for the PixelFormat, and thus would
not provide any framebuffer information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8825 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 00:04:41 +00:00
lgao4 c453660804 Fix Build failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8712 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 01:52:32 +00:00
jljusten 85f8bc32d4 Do not update the GL-GD5446 DRAM Control register during
InitializeGraphicsMode.  The update of this register would
cause the xorg-cirrus driver to mis-detect the size of
video memory for the QEMU cirrus video device.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8690 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 15:57:33 +00:00
jljusten 8c5c1f32a5 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
2009-06-30 15:57:31 +00:00
gikidy 8469b6628e Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8214 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:37:31 +00:00
vanjeff 9f35431085 add new files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8087 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:36:35 +00:00
vanjeff 2e2938977f retire i2c library, move its implementation to CirrusLogic5430Dxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8085 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:25:39 +00:00
qhuang8 32438080c4 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7052 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:32:08 +00:00
jljusten fe186365de Fix build warning generated by ICC and MSVC compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:24:35 +00:00
jljusten d52be0e242 Use the Controller handle to open the protocol, rather than the
NULL handle which was stored in Private->Handle.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6689 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:37:12 +00:00
jljusten 6f716497de Resolve a bug where the initial ReadEdidData 'for' loop would loop
infinitely, since the Index variable was declared as UINT8, and
'EDID_BLOCK_SIZE * 2' is 256. 

In the EFI_SUCCESS return path of CirrusLogic5430VideoModeSetup, check
that 'EdidOverrideDataBlock' has been allocated before attempting to
free this memory.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6688 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 00:30:53 +00:00
jji4 ba31c2e08e Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6300 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:12:45 +00:00
lgao4 7338117bbf remove the unused msa/npsd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5936 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-20 06:18:16 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
qhuang8 93da4b6bff Fix case issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5569 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-26 07:37:34 +00:00
vanjeff 0de1895fd6 remove ACPI_DISPLAY_ADR definition, since it has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5367 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 09:19:43 +00:00
klu2 4e768df674 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4909 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:35:19 +00:00
vanjeff 31f9e63117 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
2008-01-03 06:44:03 +00:00
qhuang8 c281c698a5 Add preparation for FAR release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4413 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-21 03:27:03 +00:00
vanjeff 6a6d955c5f Fixed potential issues to release resources when error occurs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4341 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:55:36 +00:00
vanjeff 94b73c2482 Save original PCI attributes in start() function and restore it in Stop().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4324 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 06:19:16 +00:00
qhuang8 54857d5a7c Apply library to test controller handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4323 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 06:10:27 +00:00
qhuang8 87f8ccbe19 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
2007-11-23 03:05:33 +00:00