2021-01-07 13:25:54 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
|
|
|
#include <bootblock_common.h>
|
2022-03-23 08:28:10 +01:00
|
|
|
#include <soc/early_init.h>
|
2021-04-19 07:59:51 +02:00
|
|
|
#include <soc/eint_event.h>
|
2021-01-07 13:25:54 +01:00
|
|
|
#include <soc/mmu_operations.h>
|
2021-02-03 09:20:57 +01:00
|
|
|
#include <soc/pll.h>
|
2021-11-25 10:44:02 +01:00
|
|
|
#include <soc/tracker_common.h>
|
2021-04-22 07:34:04 +02:00
|
|
|
#include <soc/wdt.h>
|
2021-01-07 13:25:54 +01:00
|
|
|
|
|
|
|
void bootblock_soc_init(void)
|
|
|
|
{
|
|
|
|
mtk_mmu_init();
|
2021-11-25 10:44:02 +01:00
|
|
|
bustracker_init();
|
2021-04-22 07:34:04 +02:00
|
|
|
mtk_wdt_init();
|
2021-02-03 09:20:57 +01:00
|
|
|
mt_pll_init();
|
2021-04-19 07:59:51 +02:00
|
|
|
unmask_eint_event_mask();
|
2022-03-23 08:28:10 +01:00
|
|
|
early_init_clear();
|
2021-01-07 13:25:54 +01:00
|
|
|
}
|