| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootblock_common.h> |
| 4 | #include <soc/mmu_operations.h> |
| 5 | #include <soc/mt6391.h> |
| 6 | #include <soc/pll.h> |
| 7 | #include <soc/wdt.h> |
| 8 | |
| 9 | void bootblock_soc_init(void) |
| 10 | { |
| 11 | mt_pll_init(); |
| 12 | |
| 13 | /* init pmic wrap SPI interface and pmic */ |
| 14 | mt6391_init(); |
| 15 | |
| 16 | /* post init pll */ |
| 17 | mt_pll_post_init(); |
| 18 | |
| 19 | mtk_mmu_init(); |
| 20 | |
| 21 | /* init watch dog, will disable AP watch dog */ |
| 22 | mtk_wdt_init(); |
| 23 | } |