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

2017-08-20 Thread Simon Glass
On 19 August 2017 at 20:27, 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 env_valid to one of t

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

2017-08-19 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, n