mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <daniel@thingy.jp> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user