]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MMC headers learn about SPI
authorDavid Brownell <david-b@pacbell.net>
Wed, 8 Aug 2007 16:09:01 +0000 (09:09 -0700)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 23 Sep 2007 19:37:51 +0000 (21:37 +0200)
commit97018580c40c8a31dd7ae744da3378c787a2066d
treef5d4b4ddc8be32f9763a9c14c405cbb8b0466866
parent759bdc7af450404382e937c76722ae8736daef92
MMC headers learn about SPI

Teach the MMC/SD/SDIO system headers that some hosts use SPI mode

 - New host capabilities and status bits
    * MMC_CAP_SPI, with mmc_host_is_spi() test
    * mmc_host.use_spi_crc flag

 - SPI-specific declarations:
    * Response types, MMC_RSP_SPI_R*
    * Two SPI-only commands
    * Status bits used native to SPI:  R1_SPI_*, R2_SPI_*

 - Fix a few (unrelated) whitespace bugs in the headers.

 - Reorder a few mmc_host fields, removing several bytes of padding

None of these changes affect current code.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
include/linux/mmc/core.h
include/linux/mmc/host.h
include/linux/mmc/mmc.h