Ravi Kumar Bokka | 0c9eb31 | 2021-03-31 08:04:13 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootblock_common.h> |
Roja Rani Yarubandi | 04096b9 | 2020-09-25 20:05:05 +0530 | [diff] [blame] | 4 | #include <soc/clock.h> |
| 5 | #include <soc/qspi_common.h> |
Rajesh Patil | 4f96b06 | 2021-06-22 15:00:33 +0530 | [diff] [blame] | 6 | #include <soc/qupv3_config_common.h> |
Ravi Kumar Bokka | 0c9eb31 | 2021-03-31 08:04:13 +0530 | [diff] [blame] | 7 | |
| 8 | void bootblock_soc_init(void) |
| 9 | { |
Roja Rani Yarubandi | 04096b9 | 2020-09-25 20:05:05 +0530 | [diff] [blame] | 10 | clock_init(); |
Shelley Chen | 1720ba5e | 2023-02-23 22:40:42 +0000 | [diff] [blame] | 11 | quadspi_init(50000 * KHz); |
Rajesh Patil | 4f96b06 | 2021-06-22 15:00:33 +0530 | [diff] [blame] | 12 | qupv3_fw_init(); |
Ravi Kumar Bokka | 0c9eb31 | 2021-03-31 08:04:13 +0530 | [diff] [blame] | 13 | } |