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