diff options
author | Tom Rini <trini@ti.com> | 2013-06-28 14:43:01 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-26 16:39:10 -0400 |
commit | e4c444b34b6ff6b347e552805ee89c48f85785bb (patch) | |
tree | 819affbbcf26cb4657003c9d880f31deec82ff83 /drivers | |
parent | 3864cb2133b8d4a45dbad603f7b0b9f051d617ff (diff) | |
download | u-boot-imx-e4c444b34b6ff6b347e552805ee89c48f85785bb.zip u-boot-imx-e4c444b34b6ff6b347e552805ee89c48f85785bb.tar.gz u-boot-imx-e4c444b34b6ff6b347e552805ee89c48f85785bb.tar.bz2 |
spl_mmc.c: Detect missing kernel image in RAW MMC
Currently, we assume that if we can read from MMC correctly, we have
found a valid image. This is not the case as an empty area will read
just fine. Add a check for a valid IH_MAGIC.
Signed-off-by: Tom Rini <trini@ti.com>
Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions