From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 27 Jan 2018 14:20:33 -0500 Subject: [U-Boot] [U-Boot, v3, 01/15] cmd: nvedit: Get rid of the env lookup In-Reply-To: <8c0b36130b265e429f5ad0887c339776e4d47912.1516723179.git-series.maxime.ripard@free-electrons.com> References: <8c0b36130b265e429f5ad0887c339776e4d47912.1516723179.git-series.maxime.ripard@free-electrons.com> Message-ID: <20180127192033.GD32085@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 23, 2018 at 09:16:50PM +0100, Maxime Ripard wrote: > The nvedit command is the only user of env_driver_lookup_default outside of > the environment code itself, and it uses it only to print the environment > it's about to save to during env save. > > As we're about to rework the environment to be able to handle multiple > environment sources, we might not have an idea of what environment backend > is going to be used before trying (and possibly failing for some). > > Therefore, it makes sense to remove that message and move it to the > env_save function itself. As a side effect, we also can get rid of the call > to env_driver_lookup_default that is also about to get refactored. > > Reviewed-by: Andre Przywara > Reviewed-by: Lukasz Majewski > Reviewed-by: Simon Glass > Signed-off-by: Maxime Ripard Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: