coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dram_init.c File Reference
#include <stdint.h>
#include <soc/dramc_common.h>
#include <soc/dramc_param.h>
#include <soc/emi.h>
Include dependency graph for dram_init.c:

Go to the source code of this file.

Functions

bool is_dvfs_enabled (void)
 
u32 get_ddr_geometry (void)
 
u32 get_ddr_type (void)
 
void init_dram_by_params (struct dramc_param *dparam)
 

Variables

struct dramc_paramdramc_params
 

Function Documentation

◆ get_ddr_geometry()

◆ get_ddr_type()

◆ init_dram_by_params()

void init_dram_by_params ( struct dramc_param dparam)

Definition at line 31 of file dram_init.c.

References dramc_params, and mt_set_emi().

Referenced by dram_run_fast_calibration().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_dvfs_enabled()

bool is_dvfs_enabled ( void  )

Variable Documentation

◆ dramc_params

struct dramc_param* dramc_params

Definition at line 8 of file dram_init.c.

Referenced by get_ddr_geometry(), get_ddr_type(), init_dram_by_params(), and is_dvfs_enabled().