coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <soc/romstage.h>
4 #include <FspmUpd.h>
5 
6 void mainboard_memory_init_params(FSPM_UPD *mupd)
7 {
8  mupd->FspmConfig.Package = 0;
9  mupd->FspmConfig.Profile = 0x19;
10  mupd->FspmConfig.MemoryDown = 0;
11  mupd->FspmConfig.DDR3LPageSize = 2;
12  mupd->FspmConfig.DualRankSupportEnable = 0;
13  mupd->FspmConfig.RmtMode = 0;
14  mupd->FspmConfig.MemorySizeLimit = 0;
15  mupd->FspmConfig.DIMM0SPDAddress = 0xA0;
16  mupd->FspmConfig.DIMM1SPDAddress = 0xA4;
17 
18  mupd->FspmConfig.RmtCheckRun = 1;
19  mupd->FspmConfig.RmtMarginCheckScaleHighThreshold = 0;
20  mupd->FspmConfig.EnhancePort8xhDecoding = 1;
21 
22  mupd->FspmConfig.MsgLevelMask = 0;
23  mupd->FspmConfig.MrcDataSaving = 0;
24  mupd->FspmConfig.MrcFastBoot = 1;
25 }
void mainboard_memory_init_params(FSPM_UPD *mupd)
Definition: romstage.c:22