aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/bostentech/gbyt4/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/bostentech/gbyt4/romstage.c')
-rw-r--r--src/mainboard/bostentech/gbyt4/romstage.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/bostentech/gbyt4/romstage.c b/src/mainboard/bostentech/gbyt4/romstage.c
new file mode 100644
index 0000000000..ec18cfc05b
--- /dev/null
+++ b/src/mainboard/bostentech/gbyt4/romstage.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <soc/mrc_wrapper.h>
+#include <soc/romstage.h>
+
+void mainboard_fill_mrc_params(struct mrc_params *mp)
+{
+ mp->mainboard.dram_type = DRAM_DDR3L;
+ mp->mainboard.dram_info_location = DRAM_INFO_SPD_SMBUS;
+ mp->mainboard.dram_is_slotted = 1;
+ mp->mainboard.spd_addrs[0] = 0x50; /* Board only has one slot */
+}