MMC/SD/SDIO Host Driver
i.MX51 EVK Linux Reference Manual
27-4
Freescale Semiconductor
27.4
Source Code Structure
shows the eSDHC source files available in the source directory:
<ltib_dir>/rpm/BUILD/linux/drivers/mmc/host/.
27.5
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—Build 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—Build 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_IMX_ESDHCI—Driver used for the i.MX eSDHC ports. In menuconfig, this
option is found under
Device Drivers
>
MMC/SD Card Support
>
Freescale i.MX Secure Digital Host Controller
Interface support
•
CONFIG_MMC_IMX_ESDHCI_PIO_MODE—Sets i.MX Multimedia card Interface to PIO
mode. In menuconfig, this option is found under
Device Drivers
>
MMC/SD Card support
>
Freescale i.MX Secure Digital Host Controller
Interface PIO mode
This option is dependent on CONFIG_MMC_IMX_ESDHCI. By default, this option is not set and
DMA mode is used.
•
CONFIG_MMC_UNSAFE_RESUME—Used for embedded systems which use a
MMC/SD/SDIO card for rootfs. In menuconfig, this option is found under
Device drivers
>
MMC/SD/SDIO Card Support
>
Allow unsafe resume.
27.6
Programming Interface
This driver implements the functions required by the MMC bus protocol to interface with the i.MX
eSDHCmodule. See the
BSP API
document (in the doxygen folder of the documentation package), for
additional information.
Table 27-1. eSDHC Driver FilesMMC/SD Driver Files
File
Description
mx_sdhci.h
Header file defining registers
mx_sdhci.c
eSDHC driver
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...