summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/Kconfig
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-04-01 20:33:58 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-05-08 19:13:35 +0200
commit16bc9bab2ab3b248f44bdf721ec83cdc21bcc32e (patch)
tree4d52e7ae44b49d4f63b21c74a255c47389e6bfeb /src/soc/intel/quark/Kconfig
parent52f29743b153e89ca38db5d7a207c676c4c70207 (diff)
downloadcoreboot-16bc9bab2ab3b248f44bdf721ec83cdc21bcc32e.tar.xz
soc/intel/quark: Add SD/MMC test support
The SD/MMC test support consists of: * Add Kconfig value to enable the SD/MMC test support. * Add Kconfig value to enable the logging support. * Add SD/MMC controller init code and read block 0 from each partition. * Add logging code to snapshot the transactions with the SD/MMC device. * Add eMMC driver for ramstage to call test code. * Add romstage code to call test code. * Add bootblock code to call test code. TEST=Build and run on Galileo Gen2 Change-Id: I72785f0dcd466c05c1385cef166731219b583551 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/19211 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/Kconfig')
-rw-r--r--src/soc/intel/quark/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/intel/quark/Kconfig b/src/soc/intel/quark/Kconfig
index c697b561bd..7f95b7193a 100644
--- a/src/soc/intel/quark/Kconfig
+++ b/src/soc/intel/quark/Kconfig
@@ -304,4 +304,22 @@ config C_ENV_BOOTBLOCK_SIZE
hex
default 0x8000
+#####
+# Test support
+#####
+
+config STORAGE_TEST
+ bool "Test SD/MMC/eMMC card or device access"
+ default n
+ select DRIVERS_STORAGE
+ select SDHCI_CONTROLLER
+ help
+ Read block 0 from each parition of the storage device. User must
+ also enable one or both of DRIVERS_STORAGE_SD or DRIVERS_STORAGE_MMC.
+
+config STORAGE_LOG
+ bool "Log and display SD/MMC commands"
+ default n
+ depends on STORAGE_TEST
+
endif # SOC_INTEL_QUARK