coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
raminit_tables.c File Reference
#include "raminit_tables.h"
Include dependency graph for raminit_tables.c:

Go to the source code of this file.

Variables

const u8 u8_FFFD1240 [2][5][9][4][4]
 
const u16 u16_FFFE0EB8 [2][4]
 
const u16 u16_ffd1188 [2][9][4]
 
const u8 u8_FFFD1891 [2][2][4][12]
 
const u8 u8_FFFD17E0 [2][5][4][4]
 
const u8 u8_FFFD0C78 [2][5][4][2][2][4]
 
const u16 u16_fffd0c68 [3] = { 0x04c3, 0x064d, 0x068b }
 
const u16 u16_fffd0c70 [2][2]
 
const u16 u16_fffd0c50 [3][2][2]
 
const u16 min_cycletime [4] = { 0x09c4, 0x0753, 0x05dc, 0x0000 }
 
const u16 min_cas_latency_time [4] = { 0x30d4, 0x2bf2, 0x2904, 0x0000 }
 
const u8 u8_FFFD0EF8 [2][5][4][4]
 
const u8 u8_FFFD1218 [4]
 
const u8 reg178_min [] = { 1, 3, 4, 7 }
 
const u8 reg178_max [] = { 62, 60, 59, 56 }
 
const u8 reg178_step [] = { 5, 4, 3, 2 }
 
const u16 u16_ffd1178 [2][4]
 
const u16 u16_fe0eb8 [2][4]
 
const u8 lut16 [4] = { 14, 13, 14, 14 }
 

Variable Documentation

◆ lut16

const u8 lut16[4] = { 14, 13, 14, 14 }

Definition at line 1246 of file raminit_tables.c.

Referenced by set_10b().

◆ min_cas_latency_time

const u16 min_cas_latency_time[4] = { 0x30d4, 0x2bf2, 0x2904, 0x0000 }

Definition at line 1156 of file raminit_tables.c.

Referenced by calculate_timings().

◆ min_cycletime

const u16 min_cycletime[4] = { 0x09c4, 0x0753, 0x05dc, 0x0000 }

Definition at line 1153 of file raminit_tables.c.

Referenced by calculate_timings().

◆ reg178_max

const u8 reg178_max[] = { 62, 60, 59, 56 }

Definition at line 1233 of file raminit_tables.c.

Referenced by choose_reg178(), and do_ram_training().

◆ reg178_min

const u8 reg178_min[] = { 1, 3, 4, 7 }

Definition at line 1232 of file raminit_tables.c.

Referenced by choose_reg178(), do_ram_training(), and program_board_delay().

◆ reg178_step

const u8 reg178_step[] = { 5, 4, 3, 2 }

Definition at line 1234 of file raminit_tables.c.

Referenced by choose_reg178(), and do_ram_training().

◆ u16_fe0eb8

const u16 u16_fe0eb8[2][4]
Initial value:
= {
{0x0000, 0x0000, 0x0000, 0x0000},
{0x0000, 0x0000, 0x0000, 0x0000}
}

Definition at line 1241 of file raminit_tables.c.

Referenced by compute_derived_timings().

◆ u16_ffd1178

const u16 u16_ffd1178[2][4]
Initial value:
= {
{0xfffb, 0xfffa, 0xfff8, 0xfff7},
{0xfffb, 0xfffa, 0xfff8, 0xfff7},
}

Definition at line 1236 of file raminit_tables.c.

Referenced by compute_derived_timings().

◆ u16_ffd1188

const u16 u16_ffd1188[2][9][4]
Initial value:
= {
{
{0xfff9, 0xfff7, 0xfff5, 0xfff2},
{0xfff9, 0xfff7, 0xfff5, 0xfff2},
{0xfffb, 0xfff9, 0xfff7, 0xfff6},
{0xfffb, 0xfff9, 0xfff7, 0xfff6},
{0xfffc, 0xfffb, 0xfffa, 0xfff8},
{0xfffc, 0xfffb, 0xfffa, 0xfff8},
{0xfffd, 0xfffc, 0xfffb, 0xfffa},
{0xfffd, 0xfffc, 0xfffb, 0xfffa},
{0x0000, 0x0000, 0x0000, 0x0000}
},
{
{0x0001, 0x0001, 0x0001, 0x0002},
{0xfffa, 0xfff8, 0xfff6, 0xfff4},
{0x0001, 0x0002, 0x0002, 0x0003},
{0xffe2, 0xffd8, 0xffce, 0xffc4},
{0x0021, 0x002d, 0x0038, 0x0043},
{0x0004, 0x0005, 0x0006, 0x0007},
{0x000e, 0x0013, 0x0018, 0x001d},
{0x0009, 0x000c, 0x000f, 0x0012},
{0x0000, 0x0000, 0x0000, 0x0000}
}
}

Definition at line 579 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u16_fffd0c50

const u16 u16_fffd0c50[3][2][2]
Initial value:
= {
{
{0x04b9, 0x04af},
{0x04a5, 0x049b}
},
{
{0x0625, 0x062f},
{0x0639, 0x0643},
},
{
{0x0663, 0x066d},
{0x0677, 0x0681}
}
}

Definition at line 1137 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u16_fffd0c68

const u16 u16_fffd0c68[3] = { 0x04c3, 0x064d, 0x068b }

Definition at line 1130 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u16_fffd0c70

const u16 u16_fffd0c70[2][2]
Initial value:
= {
{0x06c0, 0x06c9},
{0x06a4, 0x06ad}
}

Definition at line 1132 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u16_FFFE0EB8

const u16 u16_FFFE0EB8[2][4]
Initial value:
= {
{0x0000, 0x0000, 0x0000, 0x0000},
{0x0000, 0x0000, 0x0000, 0x0000}
}

Definition at line 573 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u8_FFFD0C78

const u8 u8_FFFD0C78[2][5][4][2][2][4]

Definition at line 703 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u8_FFFD0EF8

const u8 u8_FFFD0EF8[2][5][4][4]

Definition at line 1160 of file raminit_tables.c.

Referenced by compute_derived_timings(), and program_base_timings().

◆ u8_FFFD1218

const u8 u8_FFFD1218[4]
Initial value:
= {
0x15, 0x15, 0x15, 0x12
}

Definition at line 1228 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u8_FFFD1240

const u8 u8_FFFD1240[2][5][9][4][4]

Definition at line 6 of file raminit_tables.c.

Referenced by program_base_timings().

◆ u8_FFFD17E0

const u8 u8_FFFD17E0[2][5][4][4]

Definition at line 636 of file raminit_tables.c.

Referenced by compute_derived_timings(), and program_base_timings().

◆ u8_FFFD1891

const u8 u8_FFFD1891[2][2][4][12]
Initial value:
= {
{
{
{0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x08, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
},
{
{0x04, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x05, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x07, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x08, 0x00, 0x00, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00},
}
},
{
{
{0x06, 0x00, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x08, 0x00, 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x0a, 0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x0c, 0x00, 0x00, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00},
},
{
{0x06, 0x00, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x08, 0x00, 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x0a, 0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x0c, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74}
}
}
}

Definition at line 605 of file raminit_tables.c.

Referenced by compute_derived_timings().