![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 217](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523217.webp)
29.2.1 Source Code Structure
Table below shows the uSDHC source files available in the source directory: <ltib_dir>/
rpm/BUILD/linux/drivers/mmc/host/.
Table 29-1. uSDHC Driver Files MMC/SD Driver Files
File
Description
sdhci.c
sdhci standard stack code
sdhci-pltfm.c
sdhci platform layer
sdhci-esdhc-imx.c
uSDHC driver
sdhci-esdhc.h
uSDHC driver header file
29.2.2 Menu Configuration Options
The following Linux kernel configuration options are provided for this module.
To get to these options, use the ./ltib -c command when located in the <ltib dir>. On the
screen displayed, select Configure the Kernel and exit. When the next screen appears,
select the following options to enable this module:
• CONFIG_MMC builds support for the MMC bus protocol. In menuconfig, this
option is available under:
• Device Drivers > MMC/SD/SDIO Card support
• By default, this option is Y.
• CONFIG_MMC_BLOCK builds support for MMC block device driver which can be
used to mount the file system. In menuconfig, this option is available under:
• Device Drivers > MMC/SD Card Support > MMC block device driver
• By default, this option is Y.
• CONFIG_MMC_SDHCI_ESDHC_IMX is used for the i.MX USDHC ports. In
menuconfig, this option is found under:
• Device Drivers > MMC/SD Card Support > Secure Digital Host Controller
Interface support > SDHCI support on the platform specific bus > SDHCI
platform support for the Freescale eSDHC i.MX controller
To compile SDHCI driver as a loadable module, several options should be selected
as indicated below:
• CONFIG_MMC_SDHCI=m, it can be found at Device Drivers > MMC/SD Card
Support > Secure Digital Host Controller Interface support
Chapter 29 MMC/SD/SDIO Host Driver
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
217