summaryrefslogtreecommitdiff
path: root/include/pe.h
diff options
context:
space:
mode:
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>2016-07-16 15:06:15 (GMT)
committerTom Rini <trini@konsulko.com>2016-07-22 18:46:22 (GMT)
commitc5c41c45b1025aa951c794bb8add9c7c806496ee (patch)
tree2a68575edcc252e007e43c182d93322526c384de /include/pe.h
parent1b7427cd2ab6aae150559ee2edc8965fda113fdf (diff)
downloadu-boot-c5c41c45b1025aa951c794bb8add9c7c806496ee.tar.xz
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>
Diffstat (limited to 'include/pe.h')
0 files changed, 0 insertions, 0 deletions