diff options
author | Marek Vasut <marex@denx.de> | 2014-07-22 02:34:52 +0200 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-08-01 19:24:34 +0300 |
commit | dae0f5c644c0f76e67306bd49c09d95373b7357a (patch) | |
tree | 4c0e4a526666e30f6cd2e6f00a839e373252a4eb /arch | |
parent | 7eca6b6327e3a33f9c2185321034c9ae7a70662e (diff) | |
download | u-boot-imx-dae0f5c644c0f76e67306bd49c09d95373b7357a.zip u-boot-imx-dae0f5c644c0f76e67306bd49c09d95373b7357a.tar.gz u-boot-imx-dae0f5c644c0f76e67306bd49c09d95373b7357a.tar.bz2 |
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 <marex@denx.de>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <mmc.h> +int s3cmmc_initialize(bd_t *bis, int (*getcd)(struct mmc *), + int (*getwp)(struct mmc *)); +#endif + #endif /*__S3C24X0_H__*/ |