zephyr/drivers/sdhc/Kconfig.spi
Anas Nashif cffe98d9de crc: Make the build of crc function dependent on a Kconfig
Add CONFIG_CRC for building CRC related routines.
CRC routines are now being built for each application, whether used or
not and are add in the build system unconditionally.

Keep CONFIG_CRC enabled by default for now and until all users have
converted to use the new option.

Partial fix for #50654

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-11-23 13:30:00 +01:00

13 lines
279 B
Plaintext

# Copyright (c) 2022, NXP
# SPDX -License-Identifier: Apache-2.0
config SPI_SDHC
bool "SD protocol over SPI bus"
default y
depends on DT_HAS_ZEPHYR_SDHC_SPI_SLOT_ENABLED
select SPI
select CRC
select SDHC_SUPPORTS_SPI_MODE
help
Enable the SPI SD host controller driver