summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/omap_mmc.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-01-30 16:01:47 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2018-02-19 16:58:55 +0900
commit2022270c7ddaaad1e1c4e78e5d03e4df0a8ce222 (patch)
tree3d1d1e5fad056fa1d55e3a24c1051518fd0f97e4 /arch/arm/include/asm/omap_mmc.h
parent04f9f8be8301ec7a9be6371c558fd20a7b9a179a (diff)
downloadu-boot-2022270c7ddaaad1e1c4e78e5d03e4df0a8ce222.tar.gz
ARM: OMAP5: set mmc clock frequency to 192MHz
Now that omap_hsmmc has support for hs200 mode, change the clock frequency to 192MHz. Also change the REFERENCE CLOCK frequency to 192MHz based on which the internal mmc clock divider is calculated. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'arch/arm/include/asm/omap_mmc.h')
-rw-r--r--arch/arm/include/asm/omap_mmc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h
index c6129c5348..3d70148882 100644
--- a/arch/arm/include/asm/omap_mmc.h
+++ b/arch/arm/include/asm/omap_mmc.h
@@ -199,7 +199,11 @@ struct omap_hsmmc_plat {
#define MMC_CMD0 (INDEX(0) | RSP_TYPE_NONE | DP_NO_DATA | DDIR_WRITE)
/* Clock Configurations and Macros */
+#ifdef CONFIG_OMAP54XX
+#define MMC_CLOCK_REFERENCE 192 /* MHz */
+#else
#define MMC_CLOCK_REFERENCE 96 /* MHz */
+#endif
/* DLL */
#define DLL_SWT BIT(20)