aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2012-02-03 15:34:35 -0700
committerJohn Rigby <john.rigby@linaro.org>2012-04-19 02:18:31 -0600
commit49710a8a8d865e9c7137b92b2067550aa96934c4 (patch)
tree63e8f05708d5f579bc5883873b3ce5585cf24bfe /board
parentd6bc76ff339201de1bc875114ea3f642821dccb6 (diff)
MMC: arm_pl180_mmci: allow multiple devicestopic-2012.04-pl180-mmc
Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'board')
-rw-r--r--board/armltd/vexpress/vexpress_common.c2
-rw-r--r--board/st-ericsson/u8500/u8500_href.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/armltd/vexpress/vexpress_common.c b/board/armltd/vexpress/vexpress_common.c
index 2fd9f6de2..62815bdcf 100644
--- a/board/armltd/vexpress/vexpress_common.c
+++ b/board/armltd/vexpress/vexpress_common.c
@@ -90,7 +90,7 @@ int cpu_mmc_init(bd_t *bis)
{
int rc = 0;
#ifdef CONFIG_ARM_PL180_MMCI
- rc = arm_pl180_mmci_init();
+ rc = arm_pl180_mmci_init(0);
#endif
return rc;
}
diff --git a/board/st-ericsson/u8500/u8500_href.c b/board/st-ericsson/u8500/u8500_href.c
index 5f85fdcbf..8170a8773 100644
--- a/board/st-ericsson/u8500/u8500_href.c
+++ b/board/st-ericsson/u8500/u8500_href.c
@@ -451,7 +451,7 @@ int board_mmc_init(bd_t *bd)
if (u8500_mmci_board_init())
return -ENODEV;
- if (arm_pl180_mmci_init())
+ if (arm_pl180_mmci_init(CONFIG_MMC_DEV_NUM))
return -ENODEV;
return 0;
}