coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memory.c File Reference
#include <baseboard/variants.h>
#include <baseboard/gpio.h>
#include <gpio.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

const struct mb_cfgvariant_memcfg_config (void)
 

Variables

static const struct mb_cfg board_memcfg_cfg
 

Function Documentation

◆ variant_memcfg_config()

const struct mb_cfg* variant_memcfg_config ( void  )

Definition at line 45 of file memory.c.

References board_memcfg_cfg.

Variable Documentation

◆ board_memcfg_cfg

const struct mb_cfg board_memcfg_cfg
static
Initial value:
= {
.dq_map[DDR_CH0] = {
{0xf, 0xf0},
{0xf, 0xf0},
{0xff, 0x0},
{0x0, 0x0},
{0x0, 0x0},
{0x0, 0x0}
},
.dq_map[DDR_CH1] = {
{0xf, 0xf0},
{0xf, 0xf0},
{0xff, 0x0},
{0x0, 0x0},
{0x00, 0x0},
{0x00, 0x0}
},
.dqs_map[DDR_CH0] = {0, 3, 2, 1, 7, 5, 4, 6},
.dqs_map[DDR_CH1] = {3, 1, 2, 0, 4, 7, 6, 5},
.ect = 1,
.UserBd = BOARD_TYPE_MOBILE,
}
@ DDR_CH0
@ DDR_CH1
@ BOARD_TYPE_MOBILE
Definition: romstage.h:14

Definition at line 1 of file memory.c.

Referenced by variant_memcfg_config().