spl: Fix SPL EXT support
authorGuillaume GARDET <guillaume.gardet@free.fr>
Tue, 25 Nov 2014 14:34:16 +0000 (15:34 +0100)
committerTom Rini <trini@ti.com>
Wed, 26 Nov 2014 16:21:16 +0000 (11:21 -0500)
commitd3e488eaf48c49980adb8509a76f8577b1cf2599
treed4746281d7138e2b3771c3795b29641b42c0648a
parent878cd63e02f63f245182a101807186b44e20f116
spl: Fix SPL EXT support

Commit 9f12cd0e062614e19734b2ab37842d387457c5e5 has broken SPL EXT support.
This patch update error code check to get SPL EXT support working again.

Tested on a Pandaboard (rev. A3).

Reviewed-by: Suriyan Ramasami <suriyan.r@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Tom Rini <trini@ti.com>
common/spl/spl_ext.c