diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-07-31 04:45:18 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-04-13 06:35:22 -0500 |
commit | 63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af (patch) | |
tree | c26875c041c5d580872505778654a71d6f8b8e33 /common/cmd_fat.c | |
parent | b97e0cd78837180e122cd9209b9e71e2c2d3f911 (diff) | |
download | u-boot-imx-63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af.zip u-boot-imx-63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af.tar.gz u-boot-imx-63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af.tar.bz2 |
drivers/mmc/fsl_esdhc.c: reordered tests
As DATA_ERROR includes the value IRQSTAT_DTOE, a timeout error
would yield the first error return instead of TIMEOUT.
By swapping the test TIMEOUTs are reported as such
An alternate solution would be to remove the IRQSTAT_DTOE from the DATA_ERROR define
but as that one might be less desired I've opted for the simplest solution
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'common/cmd_fat.c')
0 files changed, 0 insertions, 0 deletions