fsl_esdhc: Fix the voltage validation process
authorLi Yang <leoli@freescale.com>
Thu, 25 Nov 2010 17:06:09 +0000 (17:06 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Dec 2010 22:15:24 +0000 (23:15 +0100)
commit030955c2cad511e678b3804c7de650db6920de4e
treebe37f7075c6c859d7c0815f27879ad184c82abf5
parent63786d299defb7248932d551b38575d36c1f6a84
fsl_esdhc: Fix the voltage validation process

The current code use all the voltage range support by the host
controller to do the validation.  This will cause problem when
the host supports Low Voltage Range.  Change the validation
voltage to be based on board setup.

Signed-off-by: Li Yang <leoli@freescale.com>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/mmc/fsl_esdhc.c