
On 04/21/2015 10:57 PM, Yangbo Lu wrote:
Add adapter card type identification support by reading FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function, define CONFIG_FSL_ESDHC_ADAPTER_IDENT.
Signed-off-by: Yangbo Lu yangbo.lu@freescale.com Cc: York Sun yorksun@freescale.com Cc: Pantelis Antoniou panto@antoniou-consulting.com
Changes for v3:
- Add Pantelis Antoniou to Cc list
Changes for v2:
- Document CONFIG_FSL_ESDHC_ADAPTER_IDENT
arch/powerpc/include/asm/global_data.h | 3 +++ board/freescale/common/qixis.h | 14 +++++++++++++ doc/README.fsl-esdhc | 25 ++++++++++++++++++---- drivers/mmc/fsl_esdhc.c | 38 +++++++++++++++++++++++++++++++++- drivers/mmc/mmc.c | 6 ++++++ drivers/mmc/mmc_private.h | 3 +++ include/fsl_esdhc.h | 4 ++++ 7 files changed, 88 insertions(+), 5 deletions(-)
Applied to u-boot-mpc85xx master. Awaiting upstream.
York