]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: OMAP2+: nandecc: propagate error to command return status
authorLadislav Michl <ladis@linux-mips.org>
Mon, 6 Mar 2017 12:54:30 +0000 (13:54 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 12 Mar 2017 03:30:25 +0000 (22:30 -0500)
commit50075153fe66d8f9a859191132e8f23f11ba57d4
treee656af2c82c37d9dffd717128187014527dc20fa
parente5bda8a2d88f8f3eba308fb30d7e12f3a50ab6b5
arm: OMAP2+: nandecc: propagate error to command return status

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>
arch/arm/include/asm/arch-am33xx/sys_proto.h
arch/arm/include/asm/arch-omap3/sys_proto.h
arch/arm/mach-omap2/omap3/board.c