Rex-BC Chen | 73e6b8e | 2021-11-02 10:31:53 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <bootblock_common.h> | ||||
Rex-BC Chen | ac07b03 | 2021-09-27 18:50:26 +0800 | [diff] [blame^] | 4 | #include <soc/eint_event.h> |
Rex-BC Chen | 73e6b8e | 2021-11-02 10:31:53 +0800 | [diff] [blame] | 5 | #include <soc/mmu_operations.h> |
Chun-Jie Chen | 76e0b9d | 2021-09-24 18:41:06 +0800 | [diff] [blame] | 6 | #include <soc/pll.h> |
Rex-BC Chen | 5db9fa7 | 2021-09-27 13:49:15 +0800 | [diff] [blame] | 7 | #include <soc/wdt.h> |
Rex-BC Chen | 73e6b8e | 2021-11-02 10:31:53 +0800 | [diff] [blame] | 8 | |
9 | void bootblock_soc_init(void) | ||||
10 | { | ||||
11 | mtk_mmu_init(); | ||||
Rex-BC Chen | 5db9fa7 | 2021-09-27 13:49:15 +0800 | [diff] [blame] | 12 | mtk_wdt_init(); |
Chun-Jie Chen | 76e0b9d | 2021-09-24 18:41:06 +0800 | [diff] [blame] | 13 | mt_pll_init(); |
Rex-BC Chen | ac07b03 | 2021-09-27 18:50:26 +0800 | [diff] [blame^] | 14 | unmask_eint_event_mask(); |
Rex-BC Chen | 73e6b8e | 2021-11-02 10:31:53 +0800 | [diff] [blame] | 15 | } |