summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/glados/romstage.c16
-rw-r--r--src/mainboard/intel/kunimitsu/romstage.c16
2 files changed, 0 insertions, 32 deletions
diff --git a/src/mainboard/google/glados/romstage.c b/src/mainboard/google/glados/romstage.c
index 315ddb9de8..69e6e0d872 100644
--- a/src/mainboard/google/glados/romstage.c
+++ b/src/mainboard/google/glados/romstage.c
@@ -21,7 +21,6 @@
#include <cbfs.h>
#include <console/console.h>
-#include <memory_info.h>
#include <string.h>
#include <ec/google/chromeec/ec.h>
#include <soc/gpio.h>
@@ -77,18 +76,3 @@ void mainboard_memory_init_params(struct romstage_params *params,
memory_params->MemorySpdDataLen = SPD_LEN;
memory_params->DqPinsInterleaved = FALSE;
}
-
-void mainboard_add_dimm_info(struct romstage_params *params,
- struct memory_info *mem_info,
- int channel, int dimm, int index)
-{
- /* Set the manufacturer */
- memcpy(&mem_info->dimm[index].mod_id,
- &params->pei_data->spd_data[channel][dimm][SPD_MANU_OFF],
- sizeof(mem_info->dimm[index].mod_id));
-
- /* Set the module part number */
- memcpy(mem_info->dimm[index].module_part_number,
- &params->pei_data->spd_data[channel][dimm][SPD_PART_OFF],
- sizeof(mem_info->dimm[index].module_part_number));
-}
diff --git a/src/mainboard/intel/kunimitsu/romstage.c b/src/mainboard/intel/kunimitsu/romstage.c
index af16dced97..a0eeafc9a5 100644
--- a/src/mainboard/intel/kunimitsu/romstage.c
+++ b/src/mainboard/intel/kunimitsu/romstage.c
@@ -21,7 +21,6 @@
#include <cbfs.h>
#include <console/console.h>
-#include <memory_info.h>
#include <string.h>
#include <ec/google/chromeec/ec.h>
#include <soc/gpio.h>
@@ -77,18 +76,3 @@ void mainboard_memory_init_params(struct romstage_params *params,
memory_params->MemorySpdDataLen = SPD_LEN;
memory_params->DqPinsInterleaved = FALSE;
}
-
-void mainboard_add_dimm_info(struct romstage_params *params,
- struct memory_info *mem_info,
- int channel, int dimm, int index)
-{
- /* Set the manufacturer */
- memcpy(&mem_info->dimm[index].mod_id,
- &params->pei_data->spd_data[channel][dimm][SPD_MANU_OFF],
- sizeof(mem_info->dimm[index].mod_id));
-
- /* Set the module part number */
- memcpy(mem_info->dimm[index].module_part_number,
- &params->pei_data->spd_data[channel][dimm][SPD_PART_OFF],
- sizeof(mem_info->dimm[index].module_part_number));
-}