mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-21 06:31:22 +02:00
Currently nandecc returns zero even if underlaying omap_nand_switch_ecc function fails. Fix that by propagating error returned to command return value. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Tom Rini <trini@konsulko.com>