coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ast_dram_tables.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_dramstruct
 

Macros

#define REGTBL_NUM   17
 
#define REGIDX_010   0
 
#define REGIDX_014   1
 
#define REGIDX_018   2
 
#define REGIDX_020   3
 
#define REGIDX_024   4
 
#define REGIDX_02C   5
 
#define REGIDX_030   6
 
#define REGIDX_214   7
 
#define REGIDX_2E0   8
 
#define REGIDX_2E4   9
 
#define REGIDX_2E8   10
 
#define REGIDX_2EC   11
 
#define REGIDX_2F0   12
 
#define REGIDX_2F4   13
 
#define REGIDX_2F8   14
 
#define REGIDX_RFC   15
 
#define REGIDX_PLL   16
 

Variables

static const struct ast_dramstruct ast2000_dram_table_data []
 
static const struct ast_dramstruct ast1100_dram_table_data []
 
static const struct ast_dramstruct ast2100_dram_table_data []
 
static const u32 ast2500_ddr3_1600_timing_table [REGTBL_NUM]
 
static const u32 ast2500_ddr4_1600_timing_table [REGTBL_NUM]
 

Macro Definition Documentation

◆ REGIDX_010

#define REGIDX_010   0

Definition at line 155 of file ast_dram_tables.h.

◆ REGIDX_014

#define REGIDX_014   1

Definition at line 156 of file ast_dram_tables.h.

◆ REGIDX_018

#define REGIDX_018   2

Definition at line 157 of file ast_dram_tables.h.

◆ REGIDX_020

#define REGIDX_020   3

Definition at line 158 of file ast_dram_tables.h.

◆ REGIDX_024

#define REGIDX_024   4

Definition at line 159 of file ast_dram_tables.h.

◆ REGIDX_02C

#define REGIDX_02C   5

Definition at line 160 of file ast_dram_tables.h.

◆ REGIDX_030

#define REGIDX_030   6

Definition at line 161 of file ast_dram_tables.h.

◆ REGIDX_214

#define REGIDX_214   7

Definition at line 162 of file ast_dram_tables.h.

◆ REGIDX_2E0

#define REGIDX_2E0   8

Definition at line 163 of file ast_dram_tables.h.

◆ REGIDX_2E4

#define REGIDX_2E4   9

Definition at line 164 of file ast_dram_tables.h.

◆ REGIDX_2E8

#define REGIDX_2E8   10

Definition at line 165 of file ast_dram_tables.h.

◆ REGIDX_2EC

#define REGIDX_2EC   11

Definition at line 166 of file ast_dram_tables.h.

◆ REGIDX_2F0

#define REGIDX_2F0   12

Definition at line 167 of file ast_dram_tables.h.

◆ REGIDX_2F4

#define REGIDX_2F4   13

Definition at line 168 of file ast_dram_tables.h.

◆ REGIDX_2F8

#define REGIDX_2F8   14

Definition at line 169 of file ast_dram_tables.h.

◆ REGIDX_PLL

#define REGIDX_PLL   16

Definition at line 171 of file ast_dram_tables.h.

◆ REGIDX_RFC

#define REGIDX_RFC   15

Definition at line 170 of file ast_dram_tables.h.

◆ REGTBL_NUM

#define REGTBL_NUM   17

Definition at line 154 of file ast_dram_tables.h.

Variable Documentation

◆ ast1100_dram_table_data

const struct ast_dramstruct ast1100_dram_table_data[]
static

Definition at line 1 of file ast_dram_tables.h.

Referenced by ast_init_dram_reg().

◆ ast2000_dram_table_data

const struct ast_dramstruct ast2000_dram_table_data[]
static
Initial value:
= {
{ 0x0108, 0x00000000 },
{ 0x0120, 0x00004a21 },
{ 0xFF00, 0x00000043 },
{ 0x0000, 0xFFFFFFFF },
{ 0x0004, 0x00000089 },
{ 0x0008, 0x22331353 },
{ 0x000C, 0x0d07000b },
{ 0x0010, 0x11113333 },
{ 0x0020, 0x00110350 },
{ 0x0028, 0x1e0828f0 },
{ 0x0024, 0x00000001 },
{ 0x001C, 0x00000000 },
{ 0x0014, 0x00000003 },
{ 0xFF00, 0x00000043 },
{ 0x0018, 0x00000131 },
{ 0x0014, 0x00000001 },
{ 0xFF00, 0x00000043 },
{ 0x0018, 0x00000031 },
{ 0x0014, 0x00000001 },
{ 0xFF00, 0x00000043 },
{ 0x0028, 0x1e0828f1 },
{ 0x0024, 0x00000003 },
{ 0x002C, 0x1f0f28fb },
{ 0x0030, 0xFFFFFE01 },
{ 0xFFFF, 0xFFFFFFFF }
}

Definition at line 1 of file ast_dram_tables.h.

Referenced by ast_init_dram_reg().

◆ ast2100_dram_table_data

const struct ast_dramstruct ast2100_dram_table_data[]
static

Definition at line 1 of file ast_dram_tables.h.

Referenced by ast_init_dram_reg().

◆ ast2500_ddr3_1600_timing_table

const u32 ast2500_ddr3_1600_timing_table[REGTBL_NUM]
static
Initial value:
= {
0x64604D38,
0x29690599,
0x00000300,
0x00000000,
0x00000000,
0x02181E70,
0x00000040,
0x00000024,
0x02001300,
0x0E0000A0,
0x000E001B,
0x35B8C105,
0x08090408,
0x9B000800,
0x0E400A00,
0x9971452F,
0x000071C1
}

Definition at line 173 of file ast_dram_tables.h.

Referenced by ast_dram_init_2500().

◆ ast2500_ddr4_1600_timing_table

const u32 ast2500_ddr4_1600_timing_table[REGTBL_NUM]
static
Initial value:
= {
0x63604E37,
0xE97AFA99,
0x00019000,
0x08000000,
0x00000400,
0x00000410,
0x00000101,
0x00000024,
0x03002900,
0x0E0000A0,
0x000E001C,
0x35B8C106,
0x08080607,
0x9B000900,
0x0E400A00,
0x99714545,
0x000071C1
}

Definition at line 193 of file ast_dram_tables.h.

Referenced by ast_dram_init_2500().