summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/Kconfig
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/Kconfig
parent03f05cff2f9441cb20e78158e32160ec2e833350 (diff)
downloadcoreboot-b02452b490321d27a014c8a3421a474fc6689a92.tar.xz
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/Kconfig')
-rw-r--r--src/soc/qualcomm/sdm845/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sdm845/Kconfig b/src/soc/qualcomm/sdm845/Kconfig
index 6399ad173d..9af1954e5b 100644
--- a/src/soc/qualcomm/sdm845/Kconfig
+++ b/src/soc/qualcomm/sdm845/Kconfig
@@ -19,4 +19,14 @@ config VBOOT
select VBOOT_RETURN_FROM_VERSTAGE
select VBOOT_OPROM_MATTERS
select VBOOT_STARTS_IN_BOOTBLOCK
+
+config SDM845_QSPI
+ bool
+ default y if COMMON_CBFS_SPI_WRAPPER
+ prompt "Build Flash Using SPI-NOR"
+
+config BOOT_DEVICE_SPI_FLASH_BUS
+ int
+ default 16
+
endif