Re: [RESEND PATCH v5 2/4] cmd: env: check real location for env info command

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:35PM +0200, Patrick Delaunay wrote: > Check the current ENV location, dynamically provided by the weak > function env_get_location to be sure that the environment can be > persistent. > > The compilation flag ENV_IS_IN_DEVICE is not enough when the board > dynamicall

Re: [RESEND PATCH v5 2/4] cmd: env: check real location for env info command

2020-06-19 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:35PM +0200, Patrick Delaunay wrote: > Check the current ENV location, dynamically provided by the weak > function env_get_location to be sure that the environment can be > persistent. > > The compilation flag ENV_IS_IN_DEVICE is not enough when the board > dynamicall

[RESEND PATCH v5 2/4] cmd: env: check real location for env info command

2020-06-19 Thread Patrick Delaunay
Check the current ENV location, dynamically provided by the weak function env_get_location to be sure that the environment can be persistent. The compilation flag ENV_IS_IN_DEVICE is not enough when the board dynamically select the available storage location (according boot device for example). T