summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/scaleway/tagada/ramstage.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/scaleway/tagada/ramstage.c b/src/mainboard/scaleway/tagada/ramstage.c
index 3ee4a6ebde..341fac048f 100644
--- a/src/mainboard/scaleway/tagada/ramstage.c
+++ b/src/mainboard/scaleway/tagada/ramstage.c
@@ -20,6 +20,7 @@
#include <fsp/api.h>
#include <soc/ramstage.h>
#include <smbios.h>
+#include <spd.h>
#include "bmcinfo.h"
@@ -86,3 +87,12 @@ smbios_board_type smbios_mainboard_board_type(void)
{
return SMBIOS_BOARD_TYPE_SERVER_BLADE;
}
+
+/* Add any mainboard specific information for dimm */
+void mainboard_add_dimm_info(
+ struct memory_info *mem_info,
+ int channel, int dimm, int index)
+{
+ /* Mainboard only has DDR4 DIMM slots */
+ mem_info->dimm[index].mod_type = SPD_UDIMM;
+}