From: Tom Rini Date: Wed, 29 Jan 2020 10:57:19 -0500 Subject: [PATCH v5 01/10] env: nowhere: set default enviroment In-Reply-To: <20200128105115.21604-2-j-keerthy@ti.com> References: <20200128105115.21604-1-j-keerthy@ti.com> <20200128105115.21604-2-j-keerthy@ti.com> Message-ID: <20200129155719.GE13379@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, Jan 28, 2020 at 04:21:06PM +0530, Keerthy wrote: > In case only CONFIG_ENV_IS_NOWHERE without any of the memory > based configs like CONFIG_ENV_IS_IN_MMC the env_set function > fails as the gd->flags & GD_FLG_ENV_READY check fails. > > Set default enviroment so that set_env calls succeed when only > ENV_IS_NOWHERE set. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: