diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-02 16:32:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-02 16:32:55 -0400 |
commit | ef7a4567dc542d8cc563755478464ea928fede41 (patch) | |
tree | 6a9005cadbe8968adcf75204541d8fa6bbad5b2c /arch | |
parent | a2308b7f0838406c346a2b0259ff88c7fcf41e79 (diff) | |
parent | 56ca904053ab14ba4067a72b69a5edf246771209 (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-mmc
* master.kernel.org:/home/rmk/linux-2.6-mmc:
[ARM] 3457/1: i.MX: SD/MMC support for i.MX/MX1
[ARM] 3456/1: AT91RM9200 support for 2.6 (MMC/SD driver)
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/generic.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c index 37613ad68366..9d8331be2b58 100644 --- a/arch/arm/mach-imx/generic.c +++ b/arch/arm/mach-imx/generic.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/arch/imx-regs.h> | 33 | #include <asm/arch/imx-regs.h> |
34 | 34 | ||
35 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
36 | #include <asm/arch/mmc.h> | ||
36 | 37 | ||
37 | void imx_gpio_mode(int gpio_mode) | 38 | void imx_gpio_mode(int gpio_mode) |
38 | { | 39 | { |
@@ -175,13 +176,25 @@ static struct resource imx_mmc_resources[] = { | |||
175 | }, | 176 | }, |
176 | }; | 177 | }; |
177 | 178 | ||
179 | static u64 imxmmmc_dmamask = 0xffffffffUL; | ||
180 | |||
178 | static struct platform_device imx_mmc_device = { | 181 | static struct platform_device imx_mmc_device = { |
179 | .name = "imx-mmc", | 182 | .name = "imx-mmc", |
180 | .id = 0, | 183 | .id = 0, |
184 | .dev = { | ||
185 | .dma_mask = &imxmmmc_dmamask, | ||
186 | .coherent_dma_mask = 0xffffffff, | ||
187 | }, | ||
181 | .num_resources = ARRAY_SIZE(imx_mmc_resources), | 188 | .num_resources = ARRAY_SIZE(imx_mmc_resources), |
182 | .resource = imx_mmc_resources, | 189 | .resource = imx_mmc_resources, |
183 | }; | 190 | }; |
184 | 191 | ||
192 | void __init imx_set_mmc_info(struct imxmmc_platform_data *info) | ||
193 | { | ||
194 | imx_mmc_device.dev.platform_data = info; | ||
195 | } | ||
196 | EXPORT_SYMBOL(imx_set_mmc_info); | ||
197 | |||
185 | static struct resource imx_uart1_resources[] = { | 198 | static struct resource imx_uart1_resources[] = { |
186 | [0] = { | 199 | [0] = { |
187 | .start = 0x00206000, | 200 | .start = 0x00206000, |