aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7180/bootblock.c
diff options
context:
space:
mode:
authorAkash Asthana <akashast@codeaurora.org>2019-07-29 18:11:15 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-12-05 17:56:44 +0000
commit634c783d1fbee4a9dee7a04c8d2e21d8b6d18e3c (patch)
tree931979b66bc2414335c89235ca67d20119045b44 /src/soc/qualcomm/sc7180/bootblock.c
parent7e51f15129b67407b2803f1b229b7d873a598d6b (diff)
sc7180: Add SPI-NOR support
This implements the SPI-NOR driver for the Qualcomm QSPI core. Developer/Reviewer, be aware of this patch from Napali: https://review.coreboot.org/c/coreboot/+/27483/58 Change-Id: I2eb8cf90aa4559541ba293b3fd2870896bed20b7 Signed-off-by: Akash Asthana <akashast@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35501 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sc7180/bootblock.c')
-rw-r--r--src/soc/qualcomm/sc7180/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sc7180/bootblock.c b/src/soc/qualcomm/sc7180/bootblock.c
index bf80bff706..4f97d76c9b 100644
--- a/src/soc/qualcomm/sc7180/bootblock.c
+++ b/src/soc/qualcomm/sc7180/bootblock.c
@@ -16,9 +16,11 @@
#include <bootblock_common.h>
#include <soc/clock.h>
#include <soc/mmu.h>
+#include <soc/qspi.h>
void bootblock_soc_init(void)
{
sc7180_mmu_init();
clock_init();
+ quadspi_init(25 * MHz);
}