summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/skylake/romstage/romstage_fsp20.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/skylake/romstage/romstage_fsp20.c b/src/soc/intel/skylake/romstage/romstage_fsp20.c
index 0945780c9f..eed9d8bef0 100644
--- a/src/soc/intel/skylake/romstage/romstage_fsp20.c
+++ b/src/soc/intel/skylake/romstage/romstage_fsp20.c
@@ -103,16 +103,16 @@ static void save_dimm_info(void)
switch(memory_info_hob->MemoryType) {
case MRC_DDR_TYPE_DDR4:
- ddr_type = MEMORY_DEVICE_DDR4;
+ ddr_type = MEMORY_TYPE_DDR4;
break;
case MRC_DDR_TYPE_DDR3:
- ddr_type = MEMORY_DEVICE_DDR3;
+ ddr_type = MEMORY_TYPE_DDR3;
break;
case MRC_DDR_TYPE_LPDDR3:
- ddr_type = MEMORY_DEVICE_LPDDR3;
+ ddr_type = MEMORY_TYPE_LPDDR3;
break;
default:
- ddr_type = MEMORY_DEVICE_UNKNOWN;
+ ddr_type = MEMORY_TYPE_UNKNOWN;
break;
}