mmc: fsl_esdhc: Add peripheral clock support
authorYangbo Lu <yangbo.lu@freescale.com>
Wed, 22 Apr 2015 05:57:40 +0000 (13:57 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:25:39 +0000 (09:25 -0700)
commit2d9ca2c72c0fce33052f78f02cdc8ad0a5cf4292
tree5f175881751b0f63276b58adc59e07cdc5ef3ca8
parentb46cf1b178c7e79240dd8ddb700b3394afbb4192
mmc: fsl_esdhc: Add peripheral clock support

The SD clock could be generated by platform clock or peripheral
clock for some platforms. This patch adds peripheral clock
support for T1024/T1040/T2080. To enable it, define
CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK.

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>
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/include/asm/config_mpc85xx.h
drivers/mmc/fsl_esdhc.c
include/e500.h
include/fsl_esdhc.h