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 <variant/sku.h>
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

void variant_memory_params (struct memory_params *p)
 

Variables

static const u8 dq_map [][12]
 
static const u8 dqs_map [][8]
 
static const u16 rcomp_resistor [] = { 200, 81, 162 }
 
static const u16 rcomp_target [] = { 100, 40, 40, 23, 40 }
 

Function Documentation

◆ variant_memory_params()

Variable Documentation

◆ dq_map

const u8 dq_map[][12]
static
Initial value:
= {
{ 0x0F, 0xF0, 0x00, 0xF0, 0x0F, 0xF0,
0x0F, 0x00, 0xFF, 0x00, 0xFF, 0x00 },
{ 0x33, 0xCC, 0x00, 0xCC, 0x33, 0xCC,
0x33, 0x00, 0xFF, 0x00, 0xFF, 0x00 }
}

Definition at line 7 of file memory.c.

Referenced by variant_memory_params().

◆ dqs_map

const u8 dqs_map[][8]
static
Initial value:
= {
{ 0, 1, 3, 2, 4, 5, 6, 7 },
{ 1, 0, 4, 5, 2, 3, 6, 7 },
}

Definition at line 15 of file memory.c.

Referenced by variant_memory_params().

◆ rcomp_resistor

const u16 rcomp_resistor[] = { 200, 81, 162 }
static

Definition at line 21 of file memory.c.

Referenced by variant_memory_params().

◆ rcomp_target

const u16 rcomp_target[] = { 100, 40, 40, 23, 40 }
static

Definition at line 24 of file memory.c.

Referenced by variant_memory_params().