diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-09-04 11:15:48 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-09-04 11:15:48 +0530 |
commit | 2b8cae2a549603d9ebd83ed7f02f67d812fe7ac2 (patch) | |
tree | bac2c410e18a3bf6d67ab3bf2de81d728b8bcab3 | |
parent | f5e0955a8f2f581ec33cfb05147bb0952dbdda4e (diff) |
Add debug print statementtest/u-boot-v2012.07-mmcfix
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | arch/arm/include/asm/arch-exynos/mmc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/mmc.h b/arch/arm/include/asm/arch-exynos/mmc.h index afdfcf049..222a6eaf6 100644 --- a/arch/arm/include/asm/arch-exynos/mmc.h +++ b/arch/arm/include/asm/arch-exynos/mmc.h @@ -21,6 +21,8 @@ #ifndef __ASM_ARCH_MMC_H_ #define __ASM_ARCH_MMC_H_ +#include <exports.h> + #define SDHCI_CONTROL2 0x80 #define SDHCI_CONTROL3 0x84 #define SDHCI_CONTROL4 0x8C @@ -69,6 +71,9 @@ 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); + + printf("%s: index = %d, bus_width = %d\n", __func__, index, bus_width); + return s5p_sdhci_init(base, index, bus_width); } #endif |