From: Tom Rini Date: Thu, 18 Jun 2020 15:25:52 -0400 Subject: [PATCH v2 2/9] env: ext4: set gd->env_valid In-Reply-To: <20200616074048.7898-3-patrick.delaunay@st.com> References: <20200616074048.7898-1-patrick.delaunay@st.com> <20200616074048.7898-3-patrick.delaunay@st.com> Message-ID: <20200618192552.GX27801@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 16, 2020 at 09:40:41AM +0200, Patrick Delaunay wrote: > Add a missing initialization of gd->env_valid in env_ext4_load > as it is already done in some other env device. > > Set gd->env_valid = ENV_VALID in env_ext4_save() and env_ext4_load(). > > This patch allows to have a correct information in 'env info' command. > > Signed-off-by: Patrick Delaunay Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: