summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/emi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8186/emi.c')
-rw-r--r--src/soc/mediatek/mt8186/emi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8186/emi.c b/src/soc/mediatek/mt8186/emi.c
new file mode 100644
index 0000000000..169b3530f6
--- /dev/null
+++ b/src/soc/mediatek/mt8186/emi.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/*
+ * This file is created based on MT8186 Functional Specification
+ * Chapter number: 4.8
+ */
+
+#include <soc/emi.h>
+
+size_t sdram_size(void)
+{
+ return (size_t)4 * GiB;
+}