spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)
authorGuillaume GARDET <guillaume.gardet@free.fr>
Tue, 16 Dec 2014 11:00:44 +0000 (12:00 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 6 Jan 2015 08:10:30 +0000 (10:10 +0200)
commit2c84c9a40ac19c44c0c9f865fcf6f459c426659e
tree75036299b6f971722a1e106e8a84e5945c04c0e5
parentac0b7298441d96043a2275d3c0fdafa59ca8f103
spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)

As reported by Robert Nelson, commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f
may break MMC RAW boot mode.
This patch fixes the check path to fix MMC Raw boot mode.

Tested raw boot mode and FS boot mode on a pandaboard (rev. A3).

Reported-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Tom Rini <trini@ti.com>
Cc: Robert Nelson <robertcnelson@gmail.com>
Tested-by: Robert Nelson <robertcnelson@gmail.com>
common/spl/spl_mmc.c