summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/bootblock.c
blob: 0249b156273b6ddfa0e890a64e940220567da10b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bootblock_common.h>
#include <soc/clkbuf.h>
#include <soc/eint_event.h>
#include <soc/mmu_operations.h>
#include <soc/mt6315.h>
#include <soc/mt6359p.h>
#include <soc/pll.h>
#include <soc/pmif.h>
#include <soc/rtc.h>
#include <soc/srclken_rc.h>
#include <soc/wdt.h>

void bootblock_soc_init(void)
{
	mtk_mmu_init();
	mtk_wdt_init();
	mt_pll_init();
	mtk_pmif_init();
	mt6359p_init();
	mt6315_init();
	srclken_rc_init();
	clk_buf_init();
	rtc_boot();
	unmask_eint_event_mask();
}