9
0
Fork 0

atmel_mci: drop board host caps

as it's handle by detecting the IP version and bus with

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2013-01-25 16:17:46 +01:00 committed by Sascha Hauer
parent be42bafdd0
commit 50559d2c4c
4 changed files with 0 additions and 4 deletions

View File

@ -113,7 +113,6 @@ static struct at91_ether_platform_data macb_pdata = {
#if defined(CONFIG_MCI_ATMEL)
static struct atmel_mci_platform_data ek_mci_data = {
.bus_width = 4,
.host_caps = MMC_MODE_HS,
.detect_pin = AT91_PIN_PD10,
};

View File

@ -113,7 +113,6 @@ static void dss11_phy_reset(void)
static struct atmel_mci_platform_data dss11_mci_data = {
.slot_b = 1,
.bus_width = 4,
.host_caps = MMC_MODE_HS,
};
static struct at91_usbh_data dss11_usbh_data = {

View File

@ -147,7 +147,6 @@ static inline struct device_d * at91_register_uart(unsigned id, unsigned pins)
struct atmel_mci_platform_data {
unsigned slot_b;
unsigned bus_width;
unsigned host_caps; /* MCI_MODE_* from mci.h */
int detect_pin;
int wp_pin;
};

View File

@ -540,7 +540,6 @@ static int atmci_probe(struct device_d *hw_dev)
host->mci.init = atmci_reset;
host->mci.hw_dev = hw_dev;
host->mci.host_caps = pd->host_caps;
if (pd->bus_width >= 4)
host->mci.host_caps |= MMC_MODE_4BIT;
if (pd->bus_width == 8)