Home
last modified time | relevance | path

Searched hist:c5c41c45b1025aa951c794bb8add9c7c806496ee (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.cc5c41c45b1025aa951c794bb8add9c7c806496ee Sat Jul 16 15:06:15 UTC 2016 Andreas Fenkart <andreas.fenkart@digitalstrom.com> tools/env: reuse fw_getenv in fw_printenv function

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@digitalstrom.com>