diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
commit | 5ede3ceb7b2c2843e153a1803edbdc8c56655950 (patch) | |
tree | 4cfa82b619f7d39b671e4a2a213f4d040b09c486 /drivers/mmc | |
parent | 6d889d03ab1417645e76e129834f76204bae37c0 (diff) | |
parent | 3e2762c8f1141ae8dc708034ea41d6827818c328 (diff) |
Merge tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
New feature development
This adds support for new features, and contains stuff from most
platforms. A number of these patches could have fit into other
branches, too, but were small enough not to cause too much
confusion here.
* tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
mfd/db8500-prcmu: remove support for early silicon revisions
ARM: ux500: fix the smp_twd clock calculation
ARM: ux500: remove support for early silicon revisions
ARM: ux500: update register files
ARM: ux500: register DB5500 PMU dynamically
ARM: ux500: update ASIC detection for U5500
ARM: ux500: support DB8520
ARM: picoxcell: implement watchdog restart
ARM: OMAP3+: hwmod data: Add the default clockactivity for I2C
ARM: OMAP3: hwmod data: disable multiblock reads on MMC1/2 on OMAP34xx/35xx <= ES2.1
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP4
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP3
ARM: OMAP: hwmod data: Add support for AM35xx UART4/ttyO3
ARM: Orion: Remove address map info from all platform data structures
ARM: Orion: Get address map from plat-orion instead of via platform_data
ARM: Orion: mbus_dram_info consolidation
ARM: Orion: Consolidate the address map setup
ARM: Kirkwood: Add configuration for MPP12 as GPIO
ARM: Kirkwood: Recognize A1 revision of 6282 chip
ARM: ux500: update the MOP500 GPIO assignments
...
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mvsdio.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 211a4959c293..eeb8cd125b0c 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c | |||
@@ -679,8 +679,9 @@ static const struct mmc_host_ops mvsd_ops = { | |||
679 | .enable_sdio_irq = mvsd_enable_sdio_irq, | 679 | .enable_sdio_irq = mvsd_enable_sdio_irq, |
680 | }; | 680 | }; |
681 | 681 | ||
682 | static void __init mv_conf_mbus_windows(struct mvsd_host *host, | 682 | static void __init |
683 | struct mbus_dram_target_info *dram) | 683 | mv_conf_mbus_windows(struct mvsd_host *host, |
684 | const struct mbus_dram_target_info *dram) | ||
684 | { | 685 | { |
685 | void __iomem *iobase = host->base; | 686 | void __iomem *iobase = host->base; |
686 | int i; | 687 | int i; |
@@ -691,7 +692,7 @@ static void __init mv_conf_mbus_windows(struct mvsd_host *host, | |||
691 | } | 692 | } |
692 | 693 | ||
693 | for (i = 0; i < dram->num_cs; i++) { | 694 | for (i = 0; i < dram->num_cs; i++) { |
694 | struct mbus_dram_window *cs = dram->cs + i; | 695 | const struct mbus_dram_window *cs = dram->cs + i; |
695 | writel(((cs->size - 1) & 0xffff0000) | | 696 | writel(((cs->size - 1) & 0xffff0000) | |
696 | (cs->mbus_attr << 8) | | 697 | (cs->mbus_attr << 8) | |
697 | (dram->mbus_dram_target_id << 4) | 1, | 698 | (dram->mbus_dram_target_id << 4) | 1, |
@@ -705,6 +706,7 @@ static int __init mvsd_probe(struct platform_device *pdev) | |||
705 | struct mmc_host *mmc = NULL; | 706 | struct mmc_host *mmc = NULL; |
706 | struct mvsd_host *host = NULL; | 707 | struct mvsd_host *host = NULL; |
707 | const struct mvsdio_platform_data *mvsd_data; | 708 | const struct mvsdio_platform_data *mvsd_data; |
709 | const struct mbus_dram_target_info *dram; | ||
708 | struct resource *r; | 710 | struct resource *r; |
709 | int ret, irq; | 711 | int ret, irq; |
710 | 712 | ||
@@ -755,8 +757,9 @@ static int __init mvsd_probe(struct platform_device *pdev) | |||
755 | } | 757 | } |
756 | 758 | ||
757 | /* (Re-)program MBUS remapping windows if we are asked to. */ | 759 | /* (Re-)program MBUS remapping windows if we are asked to. */ |
758 | if (mvsd_data->dram != NULL) | 760 | dram = mv_mbus_dram_info(); |
759 | mv_conf_mbus_windows(host, mvsd_data->dram); | 761 | if (dram) |
762 | mv_conf_mbus_windows(host, dram); | ||
760 | 763 | ||
761 | mvsd_power_down(host); | 764 | mvsd_power_down(host); |
762 | 765 | ||