aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7280/bootblock.c
blob: 0926127baff5d489b806bedea4cb56747dc73cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bootblock_common.h>
#include <soc/clock.h>
#include <soc/qspi_common.h>
#include <soc/qupv3_config_common.h>

void bootblock_soc_init(void)
{
	clock_init();
	/*
	 * Through experimentation, we have determined
	 * that a delay of 1/8 cycle is best for herobrine.
	 * See b/190231148
	 */
	quadspi_init(75000 * KHz, 1);
	qupv3_fw_init();
}