EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

MdePkg/Include/IndustryStandard/SdramSpd.h

Go to the documentation of this file.
00001 
00014 #ifndef _SDRAM_SPD_H_
00015 #define _SDRAM_SPD_H_
00016 
00017 //
00018 // SDRAM SPD field definitions
00019 //
00020 #define SPD_MEMORY_TYPE                 2
00021 #define SPD_SDRAM_ROW_ADDR              3
00022 #define SPD_SDRAM_COL_ADDR              4
00023 #define SPD_SDRAM_MODULE_ROWS           5
00024 #define SPD_SDRAM_MODULE_DATA_WIDTH_LSB 6
00025 #define SPD_SDRAM_MODULE_DATA_WIDTH_MSB 7
00026 #define SPD_SDRAM_ECC_SUPPORT           11
00027 #define SPD_SDRAM_REFRESH               12
00028 #define SPD_SDRAM_WIDTH                 13
00029 #define SPD_SDRAM_ERROR_WIDTH           14
00030 #define SPD_SDRAM_BURST_LENGTH          16
00031 #define SPD_SDRAM_NO_OF_BANKS           17
00032 #define SPD_SDRAM_CAS_LATENCY           18
00033 #define SPD_SDRAM_MODULE_ATTR           21
00034 
00035 #define SPD_SDRAM_TCLK1_PULSE           9   ///< cycle time for highest cas latency
00036 #define SPD_SDRAM_TAC1_PULSE            10  ///< access time for highest cas latency
00037 #define SPD_SDRAM_TCLK2_PULSE           23  ///< cycle time for 2nd highest cas latency
00038 #define SPD_SDRAM_TAC2_PULSE            24  ///< access time for 2nd highest cas latency
00039 #define SPD_SDRAM_TCLK3_PULSE           25  ///< cycle time for 3rd highest cas latency
00040 #define SPD_SDRAM_TAC3_PULSE            26  ///< access time for 3rd highest cas latency
00041 #define SPD_SDRAM_MIN_PRECHARGE         27
00042 #define SPD_SDRAM_ACTIVE_MIN            28
00043 #define SPD_SDRAM_RAS_CAS               29
00044 #define SPD_SDRAM_RAS_PULSE             30
00045 #define SPD_SDRAM_DENSITY               31
00046 
00047 //
00048 // Memory Type Definitions
00049 //
00050 #define SPD_VAL_SDR_TYPE  4 ///< SDR SDRAM memory
00051 #define SPD_VAL_DDR_TYPE  7 ///< DDR SDRAM memory
00052 #define SPD_VAL_DDR2_TYPE 8 ///< DDR2 SDRAM memory
00053 //
00054 // ECC Type Definitions
00055 //
00056 #define SPD_ECC_TYPE_NONE   0x00  ///< No error checking
00057 #define SPD_ECC_TYPE_PARITY 0x01  ///< No error checking
00058 #define SPD_ECC_TYPE_ECC    0x02  ///< Error checking only
00059 //
00060 // Module Attributes (Bit positions)
00061 //
00062 #define SPD_BUFFERED    0x01
00063 #define SPD_REGISTERED  0x02
00064 
00065 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines