Patrick Georgi | ac95903 | 2020-05-05 22:49:26 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 2 | |
3 | #include <bootblock_common.h> | ||||
Taniya Das | 0e03aa2 | 2019-08-07 11:28:28 +0530 | [diff] [blame] | 4 | #include <soc/clock.h> |
Ravi Kumar Bokka | 4239458 | 2021-07-16 16:59:25 +0530 | [diff] [blame] | 5 | #include <soc/qspi_common.h> |
Ravi Kumar Bokka | 34960d4 | 2021-07-27 21:02:54 +0530 | [diff] [blame] | 6 | #include <soc/qupv3_config_common.h> |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 7 | |
8 | void bootblock_soc_init(void) | ||||
9 | { | ||||
Taniya Das | 0e03aa2 | 2019-08-07 11:28:28 +0530 | [diff] [blame] | 10 | clock_init(); |
Shelley Chen | 363202b | 2022-05-11 18:29:19 -0700 | [diff] [blame^] | 11 | quadspi_init(37500 * KHz, 0); |
T Michael Turney | cea0d9c | 2019-11-27 19:28:23 -0800 | [diff] [blame] | 12 | qupv3_fw_init(); |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 13 | } |