mxcmmc.c (f9cd49033b349b8be3bb1f01b39eed837853d880) | mxcmmc.c (82906b13a6f4f42edec92f0a3e480e1bdd9b3f91) |
---|---|
1/* 2 * linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver 3 * 4 * This is a driver for the SDHC controller found in Freescale MX2/MX3 5 * SoCs. It is basically the same hardware as found on MX1 (imxmmc.c). 6 * Unlike the hardware found on MX1, this hardware just works and does 7 * not need all the quirks found in imxmmc.c, hence the separate driver. 8 * --- 24 unchanged lines hidden (view full) --- 33#include <linux/gpio.h> 34#include <linux/regulator/consumer.h> 35#include <linux/dmaengine.h> 36#include <linux/types.h> 37 38#include <asm/dma.h> 39#include <asm/irq.h> 40#include <asm/sizes.h> | 1/* 2 * linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver 3 * 4 * This is a driver for the SDHC controller found in Freescale MX2/MX3 5 * SoCs. It is basically the same hardware as found on MX1 (imxmmc.c). 6 * Unlike the hardware found on MX1, this hardware just works and does 7 * not need all the quirks found in imxmmc.c, hence the separate driver. 8 * --- 24 unchanged lines hidden (view full) --- 33#include <linux/gpio.h> 34#include <linux/regulator/consumer.h> 35#include <linux/dmaengine.h> 36#include <linux/types.h> 37 38#include <asm/dma.h> 39#include <asm/irq.h> 40#include <asm/sizes.h> |
41#include <mach/mmc.h> | 41#include <linux/platform_data/mmc-mxcmmc.h> |
42 | 42 |
43#include <mach/dma.h> | 43#include <linux/platform_data/dma-imx.h> |
44#include <mach/hardware.h> 45 46#define DRIVER_NAME "mxc-mmc" 47 48#define MMC_REG_STR_STP_CLK 0x00 49#define MMC_REG_STATUS 0x04 50#define MMC_REG_CLK_RATE 0x08 51#define MMC_REG_CMD_DAT_CONT 0x0C --- 1022 unchanged lines hidden --- | 44#include <mach/hardware.h> 45 46#define DRIVER_NAME "mxc-mmc" 47 48#define MMC_REG_STR_STP_CLK 0x00 49#define MMC_REG_STATUS 0x04 50#define MMC_REG_CLK_RATE 0x08 51#define MMC_REG_CMD_DAT_CONT 0x0C --- 1022 unchanged lines hidden --- |