esdhc: Detecting 8 bit width before mmc initialization
authorHaijun.Zhang <Haijun.Zhang@freescale.com>
Fri, 10 Jan 2014 05:52:18 +0000 (13:52 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 22 Jan 2014 16:56:34 +0000 (08:56 -0800)
commitd47e3d27078dd7419c41e1f8f56dcc221511dd5d
tree4c20938c8d78343fd3c97af3959800e1cbdc1c59
parentf7e27cc5ee13aebce4e81fcf908d22d2d55d61e0
esdhc: Detecting 8 bit width before mmc initialization

The upper 4 data signals of esdhc are shared with spi flash.
So detect if the upper 4 pins are assigned to esdhc before
enable sdhc 8 bit width.

Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mmc/fsl_esdhc.c
include/configs/T4240QDS.h