Re: [U-Boot] [PATCHv3] env: Correct case of no sub-init function

2017-08-21 Thread Andy Shevchenko
On Sun, Aug 20, 2017 at 6:41 PM, Tom Rini wrote: > With the change to the environment code to remove the common init stage > of pointing to the default environment and setting it as valid, combined > with the change to switch gd->env_valid from 0/1/2 to an enum we now > must

Re: [U-Boot] [U-Boot, PATCHv3] env: Correct case of no sub-init function

2017-08-20 Thread Tom Rini
On Sun, Aug 20, 2017 at 11:41:40AM -0400, Tom Rini wrote: > With the change to the environment code to remove the common init stage > of pointing to the default environment and setting it as valid, combined > with the change to switch gd->env_valid from 0/1/2 to an enum we now > must set

[U-Boot] [PATCHv3] env: Correct case of no sub-init function

2017-08-20 Thread Tom Rini
With the change to the environment code to remove the common init stage of pointing to the default environment and setting it as valid, combined with the change to switch gd->env_valid from 0/1/2 to an enum we now must set env_valid to one of the enum values rather than an int. And in this case,