aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/sdram_configs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/geralt/sdram_configs.c')
-rw-r--r--src/mainboard/google/geralt/sdram_configs.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/sdram_configs.c b/src/mainboard/google/geralt/sdram_configs.c
new file mode 100644
index 0000000000..c4766be235
--- /dev/null
+++ b/src/mainboard/google/geralt/sdram_configs.c
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <soc/dramc_param.h>
+
+const struct sdram_info *get_sdram_config(void)
+{
+ /*
+ * The MT8188 platform supports "dram adaptive" feature to automatically
+ * detect dram information, including channel, rank, die size..., and
+ * can automatically configure EMI settings. Therefore, we will be
+ * passing a placeholder param blob.
+ */
+ static struct sdram_info params;
+ return &params;
+}