Commit 9d217bf7 authored by Julien Viard de Galbert's avatar Julien Viard de Galbert Committed by Patrick Georgi
Browse files

mb/scaleway/tagada: Set DIMM slot information from mainboard

This field is not provided by the soc code so add it.

TEST=Check the output of 'dmidecode -t memory'

Change-Id: I6fdf3520da62336a5c654575ed8d1f33eb4f4dc5
Signed-off-by: default avatarJulien Viard de Galbert <>

Tested-by: default avatarbuild bot (Jenkins) <>
Reviewed-by: default avatarPatrick Georgi <>
parent 52165966
......@@ -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)
/* 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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment