summaryrefslogtreecommitdiff
path: root/src/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorXiang Wang <merle@hardenedlinux.org>2019-08-27 15:57:23 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-11-14 11:38:38 +0000
commitb134945ec1fd367c00cc641e929f9e39c8351df9 (patch)
tree7c77ac952134758498f612659083c66eb5efd0b5 /src/drivers/spi/Kconfig
parentb23f392766eb3263a8bb530b8a71edbd779c1dce (diff)
downloadcoreboot-b134945ec1fd367c00cc641e929f9e39c8351df9.tar.xz
drivers/spi: add drivers for sdcard mounted on the spi bus
Currently supports initialization, read, write, and erase operations. Tested on HiFive Uneashed implementation follows SD association's SPI access protocol, found as doc http://t.cn/AiB8quFZ Change-Id: I464d2334b8227e448c1c7e324c0455023cffb72a Signed-off-by: Xiang Wang <merle@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35118 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/spi/Kconfig')
-rw-r--r--src/drivers/spi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig
index 8b9c25ee98..8300026674 100644
--- a/src/drivers/spi/Kconfig
+++ b/src/drivers/spi/Kconfig
@@ -28,6 +28,13 @@ config SPI_FLASH
Select this option if your chipset driver needs to store certain
data in the SPI flash.
+config SPI_SDCARD
+ bool
+ default n
+ help
+ Select this option if your chipset driver needs to store certain
+ data in the SPI sdcard.
+
if SPI_FLASH
# Keep at 0 because lots of boards assume this default.