diff options
author | Dong Aisheng <b29396@freescale.com> | 2011-06-10 12:34:40 +0800 |
---|---|---|
committer | Alex Gonzalez <alex.gonzalez@digi.com> | 2011-12-15 17:11:44 +0100 |
commit | 9d83e793f2fee84e31044b0644a3aa52ab6a950c (patch) | |
tree | e702b48c3a2d4f3c0069ea56fc24af112e115f35 /drivers | |
parent | 1769eacb32856d58a8f3fdf04b12c9da0bdcc2ad (diff) |
ENGR00151378 esdhc: fix build failure for mx25/31/35
The problem is in drivers/mmc/host/mx_sdhci.c.
DIGCTL_BASE_ADDR is undefined.
Define it for mx25/31/35 for pass building.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/mx_sdhci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/mx_sdhci.c b/drivers/mmc/host/mx_sdhci.c index ef7610ec9325..00f4b1e9838c 100644 --- a/drivers/mmc/host/mx_sdhci.c +++ b/drivers/mmc/host/mx_sdhci.c @@ -111,6 +111,11 @@ static unsigned int *adma_des_table; #define MXC_SDHCI_NUM 4 #endif +/* for MX25/MX31/MX35 and etc*/ +#ifndef DIGCTL_BASE_ADDR +#define DIGCTL_BASE_ADDR 0 +#endif + static struct sdhci_chip *mxc_fix_chips[MXC_SDHCI_NUM]; static void sdhci_prepare_data(struct sdhci_host *, struct mmc_data *); |