Re: [U-Boot] [PATCH] env: sf: fix return value of env_sf_load

2018-01-30 Thread Tom Rini
On Tue, Jan 30, 2018 at 09:15:09AM +0100, Simon Goldschmidt wrote: > On 30.01.2018 08:55, Simon Goldschmidt wrote: > >With the recent changes to support multiple environments, I see a > >message "Failed (1)" when loading environment from sf. > > > >env_sf_load() returns the return value of env_impo

Re: [U-Boot] [PATCH] env: sf: fix return value of env_sf_load

2018-01-30 Thread Simon Goldschmidt
On 30.01.2018 08:55, Simon Goldschmidt wrote: With the recent changes to support multiple environments, I see a message "Failed (1)" when loading environment from sf. env_sf_load() returns the return value of env_import(). This must be 'inverted' to return the correct meaning. Thinking about t

[U-Boot] [PATCH] env: sf: fix return value of env_sf_load

2018-01-29 Thread Simon Goldschmidt
With the recent changes to support multiple environments, I see a message "Failed (1)" when loading environment from sf. env_sf_load() returns the return value of env_import(). This must be 'inverted' to return the correct meaning. Signed-off-by: Simon Goldschmidt --- env/sf.c | 9 - 1