Julien Viard de Galbert has uploaded this change for review.
mb/scaleway/tagada: Set DIMM slot information from mainboard
This field is not provided by the soc code so adding it.
Change-Id: I6fdf3520da62336a5c654575ed8d1f33eb4f4dc5
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
---
M src/mainboard/scaleway/tagada/ramstage.c
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/24912/1
diff --git a/src/mainboard/scaleway/tagada/ramstage.c b/src/mainboard/scaleway/tagada/ramstage.c
index 0aa6f13..539e67f 100644
--- a/src/mainboard/scaleway/tagada/ramstage.c
+++ b/src/mainboard/scaleway/tagada/ramstage.c
@@ -18,9 +18,19 @@
#include <console/console.h>
#include <fsp/api.h>
#include <soc/ramstage.h>
+#include <spd.h>
void mainboard_silicon_init_params(FSPS_UPD *params)
{
/* Disable eMMC */
params->FspsConfig.PcdEnableEmmc = 0;
}
+
+/* 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;
+}
To view, visit change 24912. To unsubscribe, or for help writing mail filters, visit settings.