atmel-mci.c (0588000eac9ba4178cebade437da3b28e8fad48f) atmel-mci.c (bcd2360c1ff9fff69eb45bedc5fba7240c6da875)
1/*
2 * Atmel MultiMedia Card Interface driver
3 *
4 * Copyright (C) 2004-2008 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 14 unchanged lines hidden (view full) ---

23#include <linux/of_device.h>
24#include <linux/of_gpio.h>
25#include <linux/platform_device.h>
26#include <linux/scatterlist.h>
27#include <linux/seq_file.h>
28#include <linux/slab.h>
29#include <linux/stat.h>
30#include <linux/types.h>
1/*
2 * Atmel MultiMedia Card Interface driver
3 *
4 * Copyright (C) 2004-2008 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 14 unchanged lines hidden (view full) ---

23#include <linux/of_device.h>
24#include <linux/of_gpio.h>
25#include <linux/platform_device.h>
26#include <linux/scatterlist.h>
27#include <linux/seq_file.h>
28#include <linux/slab.h>
29#include <linux/stat.h>
30#include <linux/types.h>
31#include <linux/platform_data/atmel.h>
31
32#include <linux/mmc/host.h>
33#include <linux/mmc/sdio.h>
34
35#include <mach/atmel-mci.h>
36#include <linux/atmel-mci.h>
37#include <linux/atmel_pdc.h>
38
39#include <asm/io.h>
40#include <asm/unaligned.h>
41
42#include <mach/cpu.h>
32
33#include <linux/mmc/host.h>
34#include <linux/mmc/sdio.h>
35
36#include <mach/atmel-mci.h>
37#include <linux/atmel-mci.h>
38#include <linux/atmel_pdc.h>
39
40#include <asm/io.h>
41#include <asm/unaligned.h>
42
43#include <mach/cpu.h>
43#include <mach/board.h>
44
45#include "atmel-mci-regs.h"
46
47#define ATMCI_DATA_ERROR_FLAGS (ATMCI_DCRCE | ATMCI_DTOE | ATMCI_OVRE | ATMCI_UNRE)
48#define ATMCI_DMA_THRESHOLD 16
49
50enum {
51 EVENT_CMD_RDY = 0,

--- 2538 unchanged lines hidden ---
44
45#include "atmel-mci-regs.h"
46
47#define ATMCI_DATA_ERROR_FLAGS (ATMCI_DCRCE | ATMCI_DTOE | ATMCI_OVRE | ATMCI_UNRE)
48#define ATMCI_DMA_THRESHOLD 16
49
50enum {
51 EVENT_CMD_RDY = 0,

--- 2538 unchanged lines hidden ---