16 Oct, 2017

1 commit


21 Aug, 2017

3 commits

  • Some of these were missed in the conversion.
    Signed-off-by: Simon Glass

    Simon Glass
     
  • Now that we have errors available in the environment driver's load()
    method, check the return valid.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • 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, not only was setting it to an int wrong, it was now the wrong
    value. Finally, in the case of ENV_IS_NOWHERE we must still say that
    our envionrment is invalid after init for things to continue to
    function.

    Fixes: 7938822a6b75 ("env: Drop common init() functions")
    Tested-by: Marek Vasut
    Reported-by: Marek Vasut
    Reported-by: Andy Shevchenko
    Signed-off-by: Tom Rini
    ---
    Changes in v3:
    - Actually include changes for env/nowhere.c

    Tom Rini
     

16 Aug, 2017

8 commits