diff options
| author | Daniel Palmer <[email protected]> | 2025-12-27 19:59:46 +0900 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-01-08 22:05:53 +0800 |
| commit | 3f208e1a99203c8ff257202a2e8447cc43a666c9 (patch) | |
| tree | 1b2f42b086875c69a4abc2d1a86494854f8eb89d | |
| parent | 21cdfd199220cd259b5b7d472cee0577b7eb8eca (diff) | |
mmc: mmc_spi: Select CRC16 if CRC checking is enabled
Currently CRC16 is not selected when CRC checking is enabled and
if it wasn't enabled in the config otherwise the build will fail
because of references to crc16_ccitt() that doesn't exist.
Signed-off-by: Daniel Palmer <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
| -rw-r--r-- | drivers/mmc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 4c46df0ffb8..39caf2eff1b 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -91,6 +91,7 @@ config MMC_SPI_CRC_ON bool "Support CRC for SPI-based MMC controller" depends on MMC_SPI default y + select CRC16 help This enables CRC for SPI-based MMC controllers. |
