]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: MMC initialization
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 1 Jul 2005 12:16:11 +0000 (05:16 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Jul 2005 12:16:11 +0000 (05:16 -0700)
commit4014a6befde8f6a993586907eb6a44df824a70f2
tree9c97e9ae7234e569277b3e2ef2916d24b6d8c4ef
parent958fb2d8fefc7222693af56400f1f6e0783c4eb3
[PATCH] ARM: OMAP: MMC initialization

This updates the MMC initialization:

  - OMAP_TAG_MMC updates:
      * Re-factor contents into one struct per silicon block
      * Provide information that's useful for SD support, like whether
the board is wired for 4-wire transfers and what gpio (if any)
is used to sense the writeprotect slider.
      * Allows for "nonstandard" muxing options, which would mostly
affect boards using MMC2.
      * Report whether the MMC switch should use the card detect model,
or the cover switch model.
      * Updated/tested board config only for H2 (not H3 or VoiceBlue).

  - MMC device initialization moved into mach-omap/omap1/device.c and
    out of the MMC driver itself.

  - Removed the "what MMC blocks to configure" option from Kconfig;
    the board-specific MMC tag holds this info (and more).

This new device init hook should be easy to reuse to set up any of the
other integrated devices.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
arch/arm/mach-omap/omap1/Makefile
arch/arm/mach-omap/omap1/board-h2.c
arch/arm/mach-omap/omap1/board-h3.c
arch/arm/mach-omap/omap1/board-voiceblue.c
drivers/mmc/Kconfig
drivers/mmc/omap.c
drivers/mmc/omap.h
include/asm-arm/arch-omap/board.h