summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-s5pc1xx
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2012-08-30 16:24:10 +0000
committerAndy Fleming <afleming@freescale.com>2012-09-05 17:33:26 -0500
commit8458e0283f041a39c80cae9e2ba67ed3c8ebd73c (patch)
tree8bfda0efccfc1a9d4b05ab4633cc31043c779e2d /arch/arm/include/asm/arch-s5pc1xx
parentb268660cedab938f40e64456da1cf72da05bc808 (diff)
downloadu-boot-imx-8458e0283f041a39c80cae9e2ba67ed3c8ebd73c.zip
u-boot-imx-8458e0283f041a39c80cae9e2ba67ed3c8ebd73c.tar.gz
u-boot-imx-8458e0283f041a39c80cae9e2ba67ed3c8ebd73c.tar.bz2
mmc: s5p_sdhci: fixed wrong function argument
Useless code is removed, and get buswidth value. buswidth value will be used to choice the 4bit or 8bit. (Now used 4bit mode in sdhci.c by default) Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungin.park@samsung.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/mmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/mmc.h b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
index 0f701c9..afdfcf0 100644
--- a/arch/arm/include/asm/arch-s5pc1xx/mmc.h
+++ b/arch/arm/include/asm/arch-s5pc1xx/mmc.h
@@ -64,11 +64,11 @@
#define SDHCI_CTRL4_DRIVE_MASK(_x) ((_x) << 16)
#define SDHCI_CTRL4_DRIVE_SHIFT (16)
-int s5p_sdhci_init(u32 regbase, u32 max_clk, u32 min_clk, u32 quirks);
+int s5p_sdhci_init(u32 regbase, int index, int bus_width);
static inline unsigned int s5p_mmc_init(int index, int bus_width)
{
unsigned int base = samsung_get_base_mmc() + (0x10000 * index);
- return s5p_sdhci_init(base, 52000000, 400000, index);
+ return s5p_sdhci_init(base, index, bus_width);
}
#endif