Debian Codegraph @

src/soc/qualcomm/x1p42100/bootblock.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <bootblock_common.h>
4 #include <soc/mmu.h>
5 #include <soc/qspi_common.h>
6 #include <soc/qupv3_config_common.h>
7
8 #define SPI_BUS_CLOCK_FREQ (50 * MHz)
9
10 void bootblock_soc_early_init(void)
11 {
12 if (!CONFIG(COMPRESS_BOOTBLOCK))
13 soc_mmu_init();
14 }
15
16 void bootblock_soc_init(void)
17 {
18 clock_init();
19
20 quadspi_init(SPI_BUS_CLOCK_FREQ);
21 qupv3_fw_init();
22 }