]> git.sur5r.net Git - u-boot/commit
mmc: fsl_esdhc: Add adapter card type identification support
authorYangbo Lu <yangbo.lu@freescale.com>
Wed, 22 Apr 2015 05:57:00 +0000 (13:57 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:25:19 +0000 (09:25 -0700)
commit5a8dbdc6b4b8b4b17c807c9bb23807cdc66f6feb
tree13de7d43ebb84d211debe354937bcf1b8701c2f8
parentfd3a78a538b2591a420f173faea442ae969ff623
mmc: fsl_esdhc: Add adapter card type identification support

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>
[York Sun: resolve conflicts in README.fsl-esdhc]
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/include/asm/global_data.h
board/freescale/common/qixis.h
doc/README.fsl-esdhc
drivers/mmc/fsl_esdhc.c
drivers/mmc/mmc.c
drivers/mmc/mmc_private.h
include/fsl_esdhc.h