Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25278
b: refs/heads/master
c: 56ca904
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Pisa authored and Russell King committed Apr 2, 2006
1 parent d1c159a commit 8596f82
Show file tree
Hide file tree
Showing 7 changed files with 1,200 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65dbf34393f7b3d20e993d9651a825df0fa5376b
refs/heads/master: 56ca904053ab14ba4067a72b69a5edf246771209
13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-imx/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <asm/arch/imx-regs.h>

#include <asm/mach/map.h>
#include <asm/arch/mmc.h>

void imx_gpio_mode(int gpio_mode)
{
Expand Down Expand Up @@ -175,13 +176,25 @@ static struct resource imx_mmc_resources[] = {
},
};

static u64 imxmmmc_dmamask = 0xffffffffUL;

static struct platform_device imx_mmc_device = {
.name = "imx-mmc",
.id = 0,
.dev = {
.dma_mask = &imxmmmc_dmamask,
.coherent_dma_mask = 0xffffffff,
},
.num_resources = ARRAY_SIZE(imx_mmc_resources),
.resource = imx_mmc_resources,
};

void __init imx_set_mmc_info(struct imxmmc_platform_data *info)
{
imx_mmc_device.dev.platform_data = info;
}
EXPORT_SYMBOL(imx_set_mmc_info);

static struct resource imx_uart1_resources[] = {
[0] = {
.start = 0x00206000,
Expand Down
10 changes: 10 additions & 0 deletions trunk/drivers/mmc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,14 @@ config MMC_AT91RM9200

If unsure, say N.

config MMC_IMX
tristate "Motorola i.MX Multimedia Card Interface support"
depends on ARCH_IMX && MMC
help
This selects the Motorola i.MX Multimedia card Interface.
If you have a i.MX platform with a Multimedia Card slot,
say Y or M here.

If unsure, say N.

endmenu
1 change: 1 addition & 0 deletions trunk/drivers/mmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ obj-$(CONFIG_MMC_BLOCK) += mmc_block.o
#
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
obj-$(CONFIG_MMC_PXA) += pxamci.o
obj-$(CONFIG_MMC_IMX) += imxmmc.o
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
obj-$(CONFIG_MMC_WBSD) += wbsd.o
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
Expand Down
Loading

0 comments on commit 8596f82

Please sign in to comment.