summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Kconfig
diff options
context:
space:
mode:
authorFranck Jullien <franck.jullien@gmail.com>2012-11-12 22:16:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-14 21:08:55 +0100
commitd4695def29861ac920eb055b73f58145159ccc77 (patch)
treec61afd6a14e6efe1d1c2d0ad52ee1a4974279eac /drivers/mci/Kconfig
parent9b8fa53626b66eb4c3c3a74122de33c2728d8b00 (diff)
downloadbarebox-d4695def29861ac920eb055b73f58145159ccc77.tar.gz
barebox-d4695def29861ac920eb055b73f58145159ccc77.tar.xz
mci_spi: always compute command crc byte
The spec says: "the CMD8 CRC verification is always enabled. The Host shall set correct CRC in the argument ofCMD8. If CRC error is detected, card returns CRC error in R1 response regardless of command index." Make it simple, and compute crc on every commands. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/Kconfig')
-rw-r--r--drivers/mci/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index b1a678e17a..5c0ca4dfa0 100644
--- a/drivers/mci/Kconfig
+++ b/drivers/mci/Kconfig
@@ -88,6 +88,7 @@ config MCI_ATMEL
config MCI_SPI
bool "MMC/SD over SPI"
+ select CRC7
depends on SPI
help
Some systems access MMC/SD/SDIO cards using a SPI controller
@@ -98,7 +99,6 @@ config MCI_SPI
config MMC_SPI_CRC_ON
bool "Enable CRC protection for transfers"
- select CRC7
select CRC16
depends on MCI_SPI
help