From dae0f5c644c0f76e67306bd49c09d95373b7357a Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 22 Jul 2014 02:34:52 +0200 Subject: mmc: s3c: Add SD driver Implement SD driver for the S3C24xx family. This implementation is currently only capable of using the PIO transfers, DMA is not supported. Signed-off-by: Marek Vasut Cc: Kyungmin Park Cc: Lukasz Majewski Cc: Minkyu Kang Cc: Pantelis Antoniou Cc: Vladimir Zapolskiy Acked-by: Pantelis Antoniou --- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/include') diff --git a/arch/arm/include/asm/arch-s3c24x0/s3c24x0.h b/arch/arm/include/asm/arch-s3c24x0/s3c24x0.h index c122eb9..ed9df34 100644 --- a/arch/arm/include/asm/arch-s3c24x0/s3c24x0.h +++ b/arch/arm/include/asm/arch-s3c24x0/s3c24x0.h @@ -700,4 +700,10 @@ struct s3c24x0_sdi { #endif }; +#ifdef CONFIG_CMD_MMC +#include +int s3cmmc_initialize(bd_t *bis, int (*getcd)(struct mmc *), + int (*getwp)(struct mmc *)); +#endif + #endif /*__S3C24X0_H__*/ -- cgit v1.1