powerpc/t2080qds: enable eSDHC peripheral clock support
authorYangbo Lu <yangbo.lu@freescale.com>
Wed, 22 Apr 2015 05:57:56 +0000 (13:57 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:25:48 +0000 (09:25 -0700)
Enable eSDHC peripheral clock support. u-boot and linux will
use SD clock generated by peripheral clock instead of platform
clock.

Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Cc: York Sun <yorksun@freescale.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/T208xQDS.h

index cdd45107774b83f69d79afa70ed1491b4b471481..bad3613b516819e667a7d1fc512c82bf02ec7bff 100644 (file)
@@ -757,6 +757,7 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MMC
 #define CONFIG_CMD_MMC
 #define CONFIG_FSL_ESDHC
+#define define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK
 #define CONFIG_SYS_FSL_ESDHC_ADDR      CONFIG_SYS_MPC85xx_ESDHC_ADDR
 #define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33