omap4.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*++
  2. Copyright (c) 2014 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. omap4.h
  9. Abstract:
  10. This header contains definitions for the TI OMAP4 UEFI device library.
  11. Author:
  12. Evan Green 3-Mar-2014
  13. --*/
  14. //
  15. // ------------------------------------------------------------------- Includes
  16. //
  17. //
  18. // ---------------------------------------------------------------- Definitions
  19. //
  20. //
  21. // Define the OMAP4 SD vendor specific interrupt status bits.
  22. //
  23. #define SD_OMAP4_INTERRUPT_STATUS_CARD_ERROR (1 << 28)
  24. #define SD_OMAP4_INTERRUPT_STATUS_BAD_ACCESS_ERROR (1 << 29)
  25. //
  26. // Define the OMAP4 SD vendor specific interrupt signal and status enable bits.
  27. //
  28. #define SD_OMAP4_INTERRUPT_ENABLE_ERROR_CARD (1 << 28)
  29. #define SD_OMAP4_INTERRUPT_ENABLE_ERROR_BAD_ACCESS (1 << 29)
  30. //
  31. // ------------------------------------------------------ Data Type Definitions
  32. //
  33. //
  34. // -------------------------------------------------------------------- Globals
  35. //
  36. //
  37. // -------------------------------------------------------- Function Prototypes
  38. //
  39. VOID
  40. EfipOmap4InitializePowerAndClocks (
  41. VOID
  42. );
  43. /*++
  44. Routine Description:
  45. This routine initializes the PRCM and turns on clocks and power domains
  46. needed by the system.
  47. Arguments:
  48. None.
  49. Return Value:
  50. Status code.
  51. --*/