aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mmci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 55abea2c6f9..03495a74861 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -34,6 +34,11 @@
#include <asm/io.h>
#include <asm/sizes.h>
+#ifdef CONFIG_ARCH_U8500
+/* To be withdrawn when cpu_is_u8500v20_or_later() call will disapear */
+#include <mach/hardware.h>
+#endif
+
#include "mmci.h"
#define DRIVER_NAME "mmci-pl18x"
@@ -980,7 +985,7 @@ static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq)
if (mrq->data &&
(!variant->non_power_of_2_blksize ||
#ifdef CONFIG_ARCH_U8500
- !cpu_is_u8500v2() ||
+ !cpu_is_u8500v20_or_later() ||
#endif
(mmc->card && mmc_card_ddr_mode(mmc->card))) &&
!is_power_of_2(mrq->data->blksz)) {