cad243d59e
- Adds mmc.c - Edits sd.c to init and probe MMC - Adds mmc init to sd_init - Some functions from sdmmc.c should be in sd_ops because they can be used by both sdmmc and mmc. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
13 lines
337 B
CMake
13 lines
337 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if (CONFIG_SD_STACK)
|
|
zephyr_interface_library_named(SD)
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources(sd.c sd_ops.c)
|
|
zephyr_library_sources_ifdef(CONFIG_SDMMC_STACK sdmmc.c)
|
|
zephyr_library_sources_ifdef(CONFIG_SDIO_STACK sdio.c)
|
|
zephyr_library_sources_ifdef(CONFIG_MMC_STACK mmc.c)
|
|
|
|
endif()
|