[U-Boot] [PATCH 1/3] Check run_command() return code properly

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c |2 +-

Re: [U-Boot] [PATCH 1/3] Check run_command() return code properly

2014-06-04 Thread Simon Glass
Hi Thomas, On 3 June 2014 16:00, thomas.bet...@freenet.de wrote: From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker