| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <console/console.h> |
| 4 | #include <program_loading.h> |
| 5 | #include <soc/mmu.h> |
| 6 | #include <soc/aop_common.h> |
| 7 | #include <soc/clock.h> |
| 8 | |
| 9 | void aop_fw_load_reset(void) |
| 10 | { |
| 11 | struct prog aop_fw_prog = |
| 12 | PROG_INIT(PROG_PAYLOAD, CONFIG_CBFS_PREFIX "/aop"); |
| 13 | |
| 14 | if (!selfload(&aop_fw_prog)) |
| 15 | die("SOC image: AOP load failed"); |
| 16 | |
| 17 | clock_reset_aop(); |
| 18 | } |