Add SDHC driver implementing spi mode support for SD cards. This driver implements the standard SD host controller APIs, and sets the host property "is_spi" to indicate to the SD subsystem the card will be running in SPI mode. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
8 lines
218 B
CMake
8 lines
218 B
CMake
# Copyright 2022 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
if (CONFIG_SDHC)
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources_ifdef(CONFIG_IMX_USDHC imx_usdhc.c)
|
|
zephyr_library_sources_ifdef(CONFIG_SPI_SDHC sdhc_spi.c)
|
|
endif()
|