aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/Makefile.inc
diff options
context:
space:
mode:
authorMukesh Savaliya <msavaliy@codeaurora.org>2018-05-11 07:41:33 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-12-05 14:09:59 +0000
commitb02452b490321d27a014c8a3421a474fc6689a92 (patch)
tree691177cbe9c4dce730e01d95253dc370ad953278 /src/soc/qualcomm/sdm845/Makefile.inc
parent03f05cff2f9441cb20e78158e32160ec2e833350 (diff)
sdm845: Add SPI-NOR flash driver
TEST=build & run Change-Id: Ie404faf37617d2ad792310709ca2063f9a372076 Signed-off-by: Mukesh Savaliya <msavaliy@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/25392 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845/Makefile.inc')
-rw-r--r--src/soc/qualcomm/sdm845/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/qualcomm/sdm845/Makefile.inc b/src/soc/qualcomm/sdm845/Makefile.inc
index fc8edd56e3..896ae58e5f 100644
--- a/src/soc/qualcomm/sdm845/Makefile.inc
+++ b/src/soc/qualcomm/sdm845/Makefile.inc
@@ -7,14 +7,15 @@ bootblock-y += spi.c
bootblock-y += mmu.c
bootblock-y += timer.c
bootblock-y += gpio.c
-bootblock-$(CONFIG_DRIVERS_UART) += uart_bitbang.c
bootblock-y += clock.c
+bootblock-$(CONFIG_SDM845_QSPI) += qspi.c
################################################################################
verstage-y += spi.c
verstage-y += timer.c
verstage-y += gpio.c
verstage-y += clock.c
+verstage-$(CONFIG_SDM845_QSPI) += qspi.c
################################################################################
romstage-y += spi.c
@@ -22,6 +23,7 @@ romstage-y += cbmem.c
romstage-y += timer.c
romstage-y += gpio.c
romstage-y += clock.c
+romstage-$(CONFIG_SDM845_QSPI) += qspi.c
################################################################################
ramstage-y += soc.c
@@ -30,6 +32,7 @@ ramstage-y += cbmem.c
ramstage-y += timer.c
ramstage-y += gpio.c
ramstage-y += clock.c
+ramstage-$(CONFIG_SDM845_QSPI) += qspi.c
################################################################################