summaryrefslogtreecommitdiffstats
path: root/common/cmd_ximg.c
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-04-18 12:39:23 +0200
committerWolfgang Denk <wd@denx.de>2008-04-24 17:21:55 +0200
commitedbed247a14d70b94958010f736621212285de91 (patch)
tree9a12403755db2dfe959f5b0133b05bc69d0db4f5 /common/cmd_ximg.c
parent0a0b606faaec4afb3f750b09aa4df1e40a39dcb8 (diff)
downloadtalos-obmc-uboot-edbed247a14d70b94958010f736621212285de91.tar.gz
talos-obmc-uboot-edbed247a14d70b94958010f736621212285de91.zip
Memory footprint optimizations
As suggested by Wolfgang Denk: - image printing functions: - remove wrappers - remove indentation prefix from functions' signatures - merge getenv_verify and getenv_autostart into one parametrized function Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'common/cmd_ximg.c')
-rw-r--r--common/cmd_ximg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c
index 7916fc1972..2753389eae 100644
--- a/common/cmd_ximg.c
+++ b/common/cmd_ximg.c
@@ -51,7 +51,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
size_t fit_len;
#endif
- verify = getenv_verify ();
+ verify = getenv_yesno ("verify");
if (argc > 1) {
addr = simple_strtoul(argv[1], NULL, 16);
OpenPOWER on IntegriCloud