diff options
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index 99b20917cc0f..d3f55615c099 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
@@ -61,7 +61,13 @@ | |||
61 | 61 | ||
62 | /* Hardware definitions */ | 62 | /* Hardware definitions */ |
63 | #define AU1XMMC_DESCRIPTOR_COUNT 1 | 63 | #define AU1XMMC_DESCRIPTOR_COUNT 1 |
64 | #define AU1XMMC_DESCRIPTOR_SIZE 2048 | 64 | |
65 | /* max DMA seg size: 64KB on Au1100, 4MB on Au1200 */ | ||
66 | #ifdef CONFIG_SOC_AU1100 | ||
67 | #define AU1XMMC_DESCRIPTOR_SIZE 0x0000ffff | ||
68 | #else /* Au1200 */ | ||
69 | #define AU1XMMC_DESCRIPTOR_SIZE 0x003fffff | ||
70 | #endif | ||
65 | 71 | ||
66 | #define AU1XMMC_OCR (MMC_VDD_27_28 | MMC_VDD_28_29 | MMC_VDD_29_30 | \ | 72 | #define AU1XMMC_OCR (MMC_VDD_27_28 | MMC_VDD_28_29 | MMC_VDD_29_30 | \ |
67 | MMC_VDD_30_31 | MMC_VDD_31_32 | MMC_VDD_32_33 | \ | 73 | MMC_VDD_30_31 | MMC_VDD_31_32 | MMC_VDD_32_33 | \ |