[U-Boot] [U-Boot, v2, 4/4] tools/env: reuse fw_getenv in fw_printenv function

Tom Rini trini at konsulko.com
Sat Jul 23 02:12:51 CEST 2016


On Sat, Jul 16, 2016 at 05:06:15PM +0200, Andreas Fenkart wrote:

> Try to avoid adhoc iteration of the environment. Reuse fw_getenv
> to find the variables that should be printed. Only use open-coded
> iteration when printing all variables.
> For backwards compatibility, keep emitting a newline when
> printing with value_only.
> 
> Signed-off-by: Andreas Fenkart <andreas.fenkart at digitalstrom.com>

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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160722/704df3dc/attachment.sig>


More information about the U-Boot mailing list