coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sdram_param.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for sdram_param.h:

Go to the source code of this file.

Data Structures

struct  sdram_params
 Defines the SDRAM parameter structure. More...
 

Enumerations

enum  {
  NvBootMemoryType_None = 0 , NvBootMemoryType_Ddr = 0 , NvBootMemoryType_LpDdr = 0 , NvBootMemoryType_Ddr2 = 0 ,
  NvBootMemoryType_LpDdr2 , NvBootMemoryType_Ddr3 , NvBootMemoryType_Num , NvBootMemoryType_Unused = 0x7FFFFFF
}
 Defines the SDRAM parameter structure. More...
 
enum  {
  BOOT_ROM_PATCH_CONTROL_ENABLE_MASK = 0x1 << 31 , BOOT_ROM_PATCH_CONTROL_OFFSET_SHIFT = 0 , BOOT_ROM_PATCH_CONTROL_OFFSET_MASK = 0x7FFFFFFF << 0 , BOOT_ROM_PATCH_CONTROL_BASE_ADDRESS = 0x70000000 ,
  EMC_ZCAL_WARM_COLD_BOOT_ENABLES_COLDBOOT_MASK = 1 << 0
}
 

Functions

 check_member (sdram_params, McMtsCarveoutRegCtrl, 0x4d0)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Defines the SDRAM parameter structure.

Note that PLLM is used by EMC. The field names are in camel case to ease directly converting BCT config files (*.cfg) into C structure.

Enumerator
NvBootMemoryType_None 
NvBootMemoryType_Ddr 
NvBootMemoryType_LpDdr 
NvBootMemoryType_Ddr2 
NvBootMemoryType_LpDdr2 
NvBootMemoryType_Ddr3 
NvBootMemoryType_Num 
NvBootMemoryType_Unused 

Definition at line 16 of file sdram_param.h.

◆ anonymous enum

anonymous enum
Enumerator
BOOT_ROM_PATCH_CONTROL_ENABLE_MASK 
BOOT_ROM_PATCH_CONTROL_OFFSET_SHIFT 
BOOT_ROM_PATCH_CONTROL_OFFSET_MASK 
BOOT_ROM_PATCH_CONTROL_BASE_ADDRESS 
EMC_ZCAL_WARM_COLD_BOOT_ENABLES_COLDBOOT_MASK 

Definition at line 41 of file sdram_param.h.

Function Documentation

◆ check_member()

check_member ( sdram_params  ,
McMtsCarveoutRegCtrl  ,
0x4d0   
)