coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sdram.c File Reference
#include <soc/sdram.h>
#include <soc/addressmap.h>
#include "regconfig-phy.h"
#include "regconfig-ctl.h"
#include "ux00ddr.h"
#include "ddrregs.h"
Include dependency graph for sdram.c:

Go to the source code of this file.

Macros

#define DENALI_PHY_DATA   ddr_phy_settings
 
#define DENALI_CTL_DATA   ddr_ctl_settings
 
#define DDR_SIZE   (8UL * 1024UL * 1024UL * 1024UL)
 

Functions

void sdram_init (void)
 
size_t sdram_size_mb (void)
 

Macro Definition Documentation

◆ DDR_SIZE

#define DDR_SIZE   (8UL * 1024UL * 1024UL * 1024UL)

Definition at line 14 of file sdram.c.

◆ DENALI_CTL_DATA

#define DENALI_CTL_DATA   ddr_ctl_settings

Definition at line 11 of file sdram.c.

◆ DENALI_PHY_DATA

#define DENALI_PHY_DATA   ddr_phy_settings

Definition at line 10 of file sdram.c.

Function Documentation

◆ sdram_init()

◆ sdram_size_mb()

size_t sdram_size_mb ( void  )