PlatformInfoTypes.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /** @file
  2. @copyright
  3. Copyright 2020 - 2021 Intel Corporation. <BR>
  4. Copyright (c) 2021, American Megatrends International LLC. <BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef _PLATFORM_INFO_TYPES_H_
  8. #define _PLATFORM_INFO_TYPES_H_
  9. //
  10. // DIMM Connector type
  11. //
  12. typedef enum {
  13. DimmConnectorPth = 0x00, // Through hole connector
  14. DimmConnectorSmt, // Surface mount connector
  15. DimmConnectorMemoryDown, // Platform soldered DRAMs
  16. DimmConnectorIgnore, // Ignore connector type
  17. DimmConnectorMax
  18. } EFI_MEMORY_DIMM_CONNECTOR_TYPE;
  19. //
  20. // Platform types - used with EFI_PLATFORM_INFO BoardId
  21. //
  22. typedef enum {
  23. StartOfEfiPlatformTypeEnum = 0x00,
  24. //For PPO
  25. TypeNeonCityEPRP,
  26. TypeWolfPass,
  27. TypeTennesseePass,
  28. TypeHedtCRB,
  29. TypeLightningRidgeEXRP,
  30. TypeLightningRidgeEX8S1N,
  31. TypeBarkPeak,
  32. TypeYubaCityRP,
  33. TypeRidgeport,
  34. //End PPO
  35. TypeWilsonCityRP,
  36. TypeWilsonCityModular,
  37. TypeCoyotePass,
  38. TypeIdaville,
  39. TypeMoroCityRP,
  40. TypeBrightonCityRp,
  41. TypeJacobsville,
  42. TypeSnrSvp,
  43. TypeSnrSvpSodimm,
  44. TypeJacobsvilleMDV,
  45. TypeFrostCreekRP,
  46. TypeVictoriaCanyonRP,
  47. TypeArcherCityRP,
  48. TypeNeonCityEPECB,
  49. TypeIsoscelesPeak,
  50. TypeWilsonPointRP,
  51. TypeWilsonPointModular,
  52. TypeBretonSound,
  53. TypeWilsonCityPPV,
  54. TypeCooperCityRP,
  55. TypeWilsonCitySMT,
  56. TypeSnrSvpSodimmB,
  57. TypeArcherCityModular,
  58. TypeArcherCityEVB,
  59. TypeArcherCityXPV,
  60. TypeBigPineKey,
  61. TypeExperWorkStationRP,
  62. TypeJunctionCity,
  63. EndOfEfiPlatformTypeEnum,
  64. //
  65. // Vendor board range currently starts at 0x80
  66. //
  67. TypeBoardPortTemplate // 0x80
  68. } EFI_PLATFORM_TYPE;
  69. #define TypePlatformUnknown 0xFF
  70. #define TypePlatformMin StartOfEfiPlatformTypeEnum + 1
  71. #define TypePlatformMax EndOfEfiPlatformTypeEnum - 1
  72. #define TypePlatformDefault TypeWilsonPointRP
  73. #define TypePlatformVendorMin 0x80
  74. #define TypePlatformVendorMax TypeBoardPortTemplate - 1
  75. //
  76. // CPU type: Standard (no MCP), -F, etc
  77. //
  78. typedef enum {
  79. CPU_TYPE_STD,
  80. CPU_TYPE_F,
  81. CPU_TYPE_P,
  82. CPU_TYPE_MAX
  83. } CPU_TYPE;
  84. #define CPU_TYPE_STD_MASK (1 << CPU_TYPE_STD)
  85. #define CPU_TYPE_F_MASK (1 << CPU_TYPE_F)
  86. #define CPU_TYPE_P_MASK (1 << CPU_TYPE_P)
  87. typedef enum {
  88. DaisyChainTopology = 0x00,
  89. InvSlotsDaisyChainTopology,
  90. TTopology
  91. } EFI_MEMORY_TOPOLOGY_TYPE;
  92. //
  93. // Values for SocketConfig
  94. //
  95. #define SOCKET_UNDEFINED 0
  96. #define SOCKET_4S 1
  97. #define SOCKET_HEDT 2
  98. #define SOCKET_1S 3
  99. #define SOCKET_1SWS 4
  100. #define SOCKET_8S 5
  101. #define SOCKET_2S 6
  102. #endif // #ifndef _PLATFORM_INFO_TYPES_H_