omap4.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. omap4.h
  5. Abstract:
  6. This header contains definitions for the TI OMAP4 UEFI device library.
  7. Author:
  8. Evan Green 3-Mar-2014
  9. --*/
  10. //
  11. // ------------------------------------------------------------------- Includes
  12. //
  13. //
  14. // ---------------------------------------------------------------- Definitions
  15. //
  16. //
  17. // Define the OMAP4 SD vendor specific interrupt status bits.
  18. //
  19. #define SD_OMAP4_INTERRUPT_STATUS_CARD_ERROR (1 << 28)
  20. #define SD_OMAP4_INTERRUPT_STATUS_BAD_ACCESS_ERROR (1 << 29)
  21. //
  22. // Define the OMAP4 SD vendor specific interrupt signal and status enable bits.
  23. //
  24. #define SD_OMAP4_INTERRUPT_ENABLE_ERROR_CARD (1 << 28)
  25. #define SD_OMAP4_INTERRUPT_ENABLE_ERROR_BAD_ACCESS (1 << 29)
  26. //
  27. // ------------------------------------------------------ Data Type Definitions
  28. //
  29. //
  30. // -------------------------------------------------------------------- Globals
  31. //
  32. //
  33. // -------------------------------------------------------- Function Prototypes
  34. //
  35. VOID
  36. EfipOmap4InitializePowerAndClocks (
  37. VOID
  38. );
  39. /*++
  40. Routine Description:
  41. This routine initializes the PRCM and turns on clocks and power domains
  42. needed by the system.
  43. Arguments:
  44. None.
  45. Return Value:
  46. Status code.
  47. --*/