summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/bootblock.c
diff options
context:
space:
mode:
authorDavid Dai <daidavid1@codeaurora.org>2018-05-09 14:38:23 -0700
committerJulius Werner <jwerner@chromium.org>2018-11-30 21:12:30 +0000
commit46551573b48f225e1be230786f48e1c95d1c4287 (patch)
treeace316804ac33b6fc166477f8810d916a2f7831b /src/soc/qualcomm/sdm845/bootblock.c
parentc22ad581c80d276bc5509b7a8be79784b14a60af (diff)
sdm845: Add clock support
This sets up initial clock configuration for QUP and QSPI, and includes configuration of Root Clock Generators(RCG) and clock branches enablement. TEST=build & run Change-Id: I0b1d7f6daa179c0b24a97d42b66c1a9ee596b0a3 Signed-off-by: David Dai <daidavid1@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/25454 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845/bootblock.c')
-rw-r--r--src/soc/qualcomm/sdm845/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sdm845/bootblock.c b/src/soc/qualcomm/sdm845/bootblock.c
index 019639d763..eb4289b202 100644
--- a/src/soc/qualcomm/sdm845/bootblock.c
+++ b/src/soc/qualcomm/sdm845/bootblock.c
@@ -15,8 +15,10 @@
#include <bootblock_common.h>
#include <soc/mmu.h>
+#include <soc/clock.h>
void bootblock_soc_init(void)
{
+ clock_init();
sdm845_mmu_init();
}