summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/supermicro')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/romstage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/romstage.c b/src/mainboard/supermicro/x11-lga1151-series/romstage.c
index fd1c715eb2..67636575ce 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/romstage.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/romstage.c
@@ -6,8 +6,7 @@
void mainboard_memory_init_params(FSPM_UPD *mupd)
{
- FSP_M_CONFIG *mem_cfg;
- mem_cfg = &mupd->FspmConfig;
+ FSP_M_CONFIG *mem_cfg = &mupd->FspmConfig;
struct spd_block blk = {
.addr_map = { 0x50, 0x51, 0x52, 0x53, },