summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common/bootblock.c')
-rw-r--r--src/soc/mediatek/common/bootblock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/bootblock.c b/src/soc/mediatek/common/bootblock.c
new file mode 100644
index 0000000000..6474a8f53c
--- /dev/null
+++ b/src/soc/mediatek/common/bootblock.c
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+#include <soc/mmu_operations.h>
+
+void bootblock_soc_early_init(void)
+{
+ if (CONFIG(EARLY_MMU_INIT))
+ mtk_mmu_init();
+}