summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/cherry/Makefile.inc1
-rw-r--r--src/mainboard/google/cherry/romstage.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/Makefile.inc b/src/mainboard/google/cherry/Makefile.inc
index ada29aa0d1..4831a39500 100644
--- a/src/mainboard/google/cherry/Makefile.inc
+++ b/src/mainboard/google/cherry/Makefile.inc
@@ -7,6 +7,7 @@ verstage-y += reset.c
romstage-y += memlayout.ld
romstage-y += chromeos.c
+romstage-y += romstage.c
ramstage-y += memlayout.ld
ramstage-y += chromeos.c
diff --git a/src/mainboard/google/cherry/romstage.c b/src/mainboard/google/cherry/romstage.c
new file mode 100644
index 0000000000..cba599596c
--- /dev/null
+++ b/src/mainboard/google/cherry/romstage.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <arch/stages.h>
+#include <soc/mt6315.h>
+#include <soc/mt6359p.h>
+#include <soc/pmif.h>
+
+void platform_romstage_main(void)
+{
+ mtk_pmif_init();
+ mt6359p_init();
+ mt6315_init();
+}