[coreboot-gerrit] Change in coreboot[master]: mb/scaleway/tagada: Set DIMM slot information from mainboard
Julien Viard de Galbert (Code Review)
gerrit at coreboot.org
Wed Feb 28 14:10:54 CET 2018
Julien Viard de Galbert has uploaded this change for review. ( https://review.coreboot.org/24912
Change subject: mb/scaleway/tagada: Set DIMM slot information from mainboard
......................................................................
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 at 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 https://review.coreboot.org/24912
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fdf3520da62336a5c654575ed8d1f33eb4f4dc5
Gerrit-Change-Number: 24912
Gerrit-PatchSet: 1
Gerrit-Owner: Julien Viard de Galbert <jviarddegalbert at online.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180228/7c4da178/attachment.html>
More information about the coreboot-gerrit
mailing list