/* * linux/drivers/mmc/host/omap.c * * Copyright (C) 2004 Nokia Corporation * Written by Tuukka Tikkanen and Juha Yrj�l�<juha.yrjola@nokia.com> * Misc hacks here and there by Tony Lindgren <tony@atomide.com> * Other hacks (DMA, SD, etc) by David Brownell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include<linux/module.h>#include<linux/moduleparam.h>#include<linux/init.h>#include<linux/ioport.h>#include<linux/platform_device.h>#include<linux/interrupt.h>#include<linux/dma-mapping.h>#include<linux/delay.h>#include<linux/spinlock.h>#include<linux/timer.h>#include<linux/mmc/host.h>#include<linux/mmc/card.h>#include<linux/clk.h>#include<linux/scatterlist.h>#include<linux/i2c/tps65010.h>#include<asm/io.h>#include<asm/irq.h>#include<asm/mach-types.h>#include<asm/arch/board.h>#include<asm/arch/mmc.h>#include<asm/arch/gpio.h>#include<asm/arch/dma.h>#include<asm/arch/mux.h>#include<asm/arch/fpga.h>#define OMAP_MMC_REG_CMD 0x00#define OMAP_MMC_REG_ARGL 0x04#define OMAP_MMC_REG_ARGH 0x08#define OMAP_MMC_REG_CON 0x0c#define OMAP_MMC_REG_STAT 0x10#define OMAP_MMC_REG_IE 0x14#define OMAP_MMC_REG_CTO 0x18#define OMAP_MMC_REG_DTO 0x1c#define OMAP_MMC_REG_DATA 0x20#define OMAP_MMC_REG_BLEN 0x24