diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-09-04 11:13:44 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-09-04 11:13:44 +0530 |
commit | 0d297cbb6bfbcbdc6c0aec907fe9f2d22c1abe8b (patch) | |
tree | 9dc1ac717ba1ab014737a4449aacfe2660035b5b | |
parent | 190649fb4309d1bc0fe7732fd0f951cb6440f935 (diff) |
Add debug print statementtest/u-boot-v2012.07
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 0f701c901..0c38f2858 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, u32 max_clk, u32 min_clk, u32 quirks); 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, 52000000, 400000, index); } #endif |