summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/corsola/romstage.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/romstage.c b/src/mainboard/google/corsola/romstage.c
index 01f8af3f0f..1dc6a22e6b 100644
--- a/src/mainboard/google/corsola/romstage.c
+++ b/src/mainboard/google/corsola/romstage.c
@@ -3,9 +3,12 @@
#include <arch/stages.h>
#include <console/console.h>
#include <delay.h>
+#include <soc/cpu_id.h>
#include <soc/emi.h>
+#include <soc/mt6315.h>
#include <soc/mt6366.h>
#include <soc/pll_common.h>
+#include <soc/pmif.h>
#include <soc/regulator.h>
#include <soc/rtc.h>
@@ -27,5 +30,11 @@ void platform_romstage_main(void)
mt6366_init();
raise_little_cpu_freq();
rtc_boot();
+
+ if (get_cpu_id() == MTK_CPU_ID_MT8186T) {
+ mtk_pmif_init();
+ mt6315_init();
+ }
+
mtk_dram_init();
}