![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <string.h>
#include <baseboard/variants.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
Go to the source code of this file.
Macros | |
#define | BOARD_ID_GLK_RVP1_DDR4 0x5 /* GLK RVP1 - DDR4 */ |
#define | BOARD_ID_GLK_RVP2_LP4SD 0x7 /* GLK RVP2 - LP4 Solder Down */ |
#define | BOARD_ID_GLK_RVP2_LP4 0x8 /* RVP2 - LP4 Socket */ |
Functions | |
static void | fill_lpddr4_params (FSP_M_CONFIG *cfg) |
static void | fill_ddr4_params (FSP_M_CONFIG *cfg) |
static void | fill_memory_params (FSP_M_CONFIG *cfg) |
void | mainboard_memory_init_params (FSPM_UPD *memupd) |
void | mainboard_save_dimm_info (void) |
Variables | |
static const uint8_t | swizzling_ch0_ddr4 [] |
static const uint8_t | swizzling_ch1_ddr4 [] |
static const uint8_t | swizzling_ch2_ddr4 [] |
static const uint8_t | swizzling_ch3_ddr4 [] |
static const uint8_t | swizzling_ch0_lpddr4 [] |
static const uint8_t | swizzling_ch1_lpddr4 [] |
static const uint8_t | swizzling_ch2_lpddr4 [] |
static const uint8_t | swizzling_ch3_lpddr4 [] |
#define BOARD_ID_GLK_RVP1_DDR4 0x5 /* GLK RVP1 - DDR4 */ |
Definition at line 7 of file romstage.c.
#define BOARD_ID_GLK_RVP2_LP4 0x8 /* RVP2 - LP4 Socket */ |
Definition at line 9 of file romstage.c.
#define BOARD_ID_GLK_RVP2_LP4SD 0x7 /* GLK RVP2 - LP4 Solder Down */ |
Definition at line 8 of file romstage.c.
|
static |
Definition at line 130 of file romstage.c.
References memcpy(), swizzling_ch0_ddr4, swizzling_ch1_ddr4, swizzling_ch2_ddr4, and swizzling_ch3_ddr4.
Referenced by fill_memory_params().
|
static |
Definition at line 65 of file romstage.c.
References memcpy(), swizzling_ch0_lpddr4, swizzling_ch1_lpddr4, swizzling_ch2_lpddr4, and swizzling_ch3_lpddr4.
Referenced by fill_memory_params().
|
static |
Definition at line 196 of file romstage.c.
References BOARD_ID_GLK_RVP1_DDR4, BOARD_ID_GLK_RVP2_LP4, BOARD_ID_GLK_RVP2_LP4SD, CONFIG, fill_ddr4_params(), and fill_lpddr4_params().
Referenced by mainboard_memory_init_params().
void mainboard_memory_init_params | ( | FSPM_UPD * | memupd | ) |
Definition at line 216 of file romstage.c.
References fill_memory_params(), and FSP_M_CONFIG.
Definition at line 222 of file romstage.c.
References save_lpddr4_dimm_info(), variant_lpddr4_config(), and variant_memory_sku().
|
static |
Definition at line 14 of file romstage.c.
Referenced by fill_ddr4_params().
|
static |
Definition at line 41 of file romstage.c.
Referenced by fill_lpddr4_params().
|
static |
Definition at line 20 of file romstage.c.
Referenced by fill_ddr4_params().
|
static |
Definition at line 47 of file romstage.c.
Referenced by fill_lpddr4_params().
|
static |
Definition at line 26 of file romstage.c.
Referenced by fill_ddr4_params().
|
static |
Definition at line 53 of file romstage.c.
Referenced by fill_lpddr4_params().
|
static |
Definition at line 32 of file romstage.c.
Referenced by fill_ddr4_params().
|
static |
Definition at line 59 of file romstage.c.
Referenced by fill_lpddr4_params().